|
Open Monograph Press
3.3.0
|
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 | |
Data Fields inherited from PKPTestCase | |
| $mockedRegistryKeys = array() | |
| $registryBackup = array() | |
Protected Member Functions inherited from PKPTestCase | |
| getMockedDAOs () | |
| getMockedRegistryKeys () | |
| mockRequest ($path='index/test-page/test-op', $userId=null) | |
| setTestConfiguration ($config, $configPath='config') | |
| setUp () | |
| tearDown () | |
Test class for MetadataProperty.
Definition at line 23 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testCompositeWithoutParameter | ( | ) |
Tests special error conditions while setting composite types
Definition at line 71 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testCompositeWithWrongParameter | ( | ) |
Tests special error conditions while setting composite types
Definition at line 80 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testControlledVocabWithoutParameter | ( | ) |
Tests special error conditions while setting controlled vocab types
Definition at line 89 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testControlledVocabWithWrongParameter | ( | ) |
Tests special error conditions while setting controlled vocab types
Definition at line 98 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testMetadataPropertyConstructor | ( | ) |
Definition at line 37 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testNonParameterizedTypeWithParameter | ( | ) |
Tests special error conditions while setting non-parameterized type
Definition at line 107 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testSetUnsupportedCardinality | ( | ) |
Tests special error conditions while setting an unsupported cardinality
Definition at line 125 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testSetUnsupportedType | ( | ) |
Tests special error conditions while setting an unsupported type
Definition at line 116 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateComposite | ( | ) |
Definition at line 210 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateControlledVocabulary | ( | ) |
Definition at line 156 of file MetadataPropertyTest.php.
References DAORegistry\getDAO().
| MetadataPropertyTest::testValidateDate | ( | ) |
Definition at line 182 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateInteger | ( | ) |
Definition at line 199 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateMultitype | ( | ) |
Definition at line 232 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateString | ( | ) |
Definition at line 133 of file MetadataPropertyTest.php.
| MetadataPropertyTest::testValidateUri | ( | ) |
Definition at line 144 of file MetadataPropertyTest.php.