summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php')
-rw-r--r--www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php b/www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php
new file mode 100644
index 00000000..8eda6159
--- /dev/null
+++ b/www/wiki/extensions/SemanticResultFormats/tests/phpunit/Unit/Formats/GanttTest.php
@@ -0,0 +1,30 @@
+<?php
+
+namespace SRF\Tests\Gantt;
+
+use SMW\Test\QueryPrinterRegistryTestCase;
+
+class GanttTest extends QueryPrinterRegistryTestCase{
+
+ /**
+ * @see QueryPrinterRegistryTestCase::getFormats
+ *
+ * @since 1.8
+ *
+ * @return array
+ */
+ public function getFormats() {
+ return [ 'gantt' ];
+ }
+
+ /**
+ * @see QueryPrinterRegistryTestCase::getClass
+ *
+ * @since 1.8
+ *
+ * @return string
+ */
+ public function getClass() {
+ return '\SRF\Gantt\GanttPrinter';
+ }
+} \ No newline at end of file