diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DI_BoolTest.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DI_BoolTest.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DI_BoolTest.php b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DI_BoolTest.php new file mode 100644 index 00000000..fee4ad55 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DI_BoolTest.php @@ -0,0 +1,47 @@ +<?php + +namespace SMW\Tests; + +/** + * @covers SMWDIBoolean + * @covers SMWDataItem + * + * @file + * @since 1.8 + * + * + * @group SMW + * @group SMWExtension + * @group SMWDataItems + * + * @author Nischay Nahata + * @author Jeroen De Dauw < jeroendedauw@gmail.com > + */ +class SMWDIBooleanTest extends DataItemTest { + + /** + * @see DataItemTest::getClass + * + * @since 1.8 + * + * @return string + */ + public function getClass() { + return '\SMWDIBoolean'; + } + + /** + * @see DataItemTest::constructorProvider + * + * @since 1.8 + * + * @return array + */ + public function constructorProvider() { + return [ + [ false ], + [ true ], + ]; + } + +} |