Open Journal Systems  2.4.4
 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 ()
 
 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 MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 72 of file MetadataPropertyTest.php.

MetadataPropertyTest::testCompositeWithWrongParameter ( )

Tests special error conditions while setting composite types MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 81 of file MetadataPropertyTest.php.

MetadataPropertyTest::testControlledVocabWithoutParameter ( )

Tests special error conditions while setting controlled vocab types MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 90 of file MetadataPropertyTest.php.

MetadataPropertyTest::testControlledVocabWithWrongParameter ( )

Tests special error conditions while setting controlled vocab types MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 99 of file MetadataPropertyTest.php.

MetadataPropertyTest::testNonParameterizedTypeWithParameter ( )

Tests special error conditions while setting non-parameterized type MetadataProperty::MetadataProperty PHPUnit_Framework_Error

Definition at line 108 of file MetadataPropertyTest.php.

MetadataPropertyTest::testSetUnsupportedCardinality ( )

Tests special error conditions while setting an unsupported cardinality MetadataProperty::getSupportedCardinalities PHPUnit_Framework_Error

Definition at line 126 of file MetadataPropertyTest.php.

MetadataPropertyTest::testSetUnsupportedType ( )

Tests special error conditions while setting an unsupported type MetadataProperty::getSupportedTypes PHPUnit_Framework_Error

Definition at line 117 of file MetadataPropertyTest.php.

MetadataPropertyTest::testValidateComposite ( )
MetadataPropertyTest::testValidateControlledVocabulary ( )
MetadataPropertyTest::testValidateDate ( )
MetadataPropertyTest::testValidateInteger ( )
MetadataPropertyTest::testValidateMultitype ( )
MetadataPropertyTest::testValidateString ( )
MetadataPropertyTest::testValidateUri ( )

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