Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
MetadataPropertyTest Class Reference
Inheritance diagram for MetadataPropertyTest:
PKPTestCase

Public Member Functions

 testCompositeWithoutParameter ()
 
 testCompositeWithWrongParameter ()
 
 testControlledVocabWithoutParameter ()
 
 testControlledVocabWithWrongParameter ()
 
 testMetadataPropertyConstructor ()
 
 testNonParameterizedTypeWithParameter ()
 
 testSetUnsupportedCardinality ()
 
 testSetUnsupportedType ()
 
 testValidateComposite ()
 
 testValidateControlledVocabulary ()
 
 testValidateDate ()
 
 testValidateInteger ()
 
 testValidateMultitype ()
 
 testValidateString ()
 
 testValidateUri ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Additional Inherited Members

- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Test class for MetadataProperty.

See Also
MetadataProperty

Definition at line 23 of file MetadataPropertyTest.php.

Member Function Documentation

MetadataPropertyTest::testCompositeWithoutParameter ( )

Tests special error conditions while setting composite types

See Also
MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 72 of file MetadataPropertyTest.php.

MetadataPropertyTest::testCompositeWithWrongParameter ( )

Tests special error conditions while setting composite types

See Also
MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 81 of file MetadataPropertyTest.php.

MetadataPropertyTest::testControlledVocabWithoutParameter ( )

Tests special error conditions while setting controlled vocab types

See Also
MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 90 of file MetadataPropertyTest.php.

MetadataPropertyTest::testControlledVocabWithWrongParameter ( )

Tests special error conditions while setting controlled vocab types

See Also
MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 99 of file MetadataPropertyTest.php.

MetadataPropertyTest::testNonParameterizedTypeWithParameter ( )

Tests special error conditions while setting non-parameterized type

See Also
MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 108 of file MetadataPropertyTest.php.

MetadataPropertyTest::testSetUnsupportedCardinality ( )

Tests special error conditions while setting an unsupported cardinality

See Also
MetadataProperty::getSupportedCardinalities PHPUnit_Framework_Error

Definition at line 126 of file MetadataPropertyTest.php.

MetadataPropertyTest::testSetUnsupportedType ( )

Tests special error conditions while setting an unsupported type

See Also
MetadataProperty::getSupportedTypes PHPUnit_Framework_Error

Definition at line 117 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateComposite ( )
See Also
MetadataProperty::isValid

Definition at line 210 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateControlledVocabulary ( )
See Also
MetadataProperty::isValid

Definition at line 156 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateDate ( )
See Also
MetadataProperty::isValid

Definition at line 182 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateInteger ( )
See Also
MetadataProperty::isValid

Definition at line 199 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateMultitype ( )
See Also
MetadataProperty::isValid

Definition at line 232 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateString ( )
See Also
MetadataProperty::isValid

Definition at line 133 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateUri ( )
See Also
MetadataProperty::isValid

Definition at line 144 of file MetadataPropertyTest.php.


The documentation for this class was generated from the following file: