diff options
Diffstat (limited to 'SemanticResultFormats/tests/phpunit/formats/ArrayTest.php')
-rw-r--r-- | SemanticResultFormats/tests/phpunit/formats/ArrayTest.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/SemanticResultFormats/tests/phpunit/formats/ArrayTest.php b/SemanticResultFormats/tests/phpunit/formats/ArrayTest.php new file mode 100644 index 00000000..938ff429 --- /dev/null +++ b/SemanticResultFormats/tests/phpunit/formats/ArrayTest.php @@ -0,0 +1,47 @@ +<?php + +namespace SRF\Test; + +use SMW\Test\QueryPrinterRegistryTestCase; + +/** + * Tests for the SRF\Array class. + * + * @file + * @since 1.8 + * + * @ingroup SemanticResultFormats + * @ingroup Test + * + * @group SRF + * @group SMWExtension + * @group ResultPrinters + * + * @licence GNU GPL v2+ + * @author Jeroen De Dauw < jeroendedauw@gmail.com > + */ +class ArrayTest extends QueryPrinterRegistryTestCase { + + /** + * @see ResultPrinterTest::getFormats + * + * @since 1.8 + * + * @return array + */ + public function getFormats() { + return array( 'array' ); + } + + /** + * @see ResultPrinterTest::getClass + * + * @since 1.8 + * + * @return string + */ + public function getClass() { + return '\SRFArray'; + } + +} |