Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
FunctionalOaiDcTest Class Reference
Inheritance diagram for FunctionalOaiDcTest:
FunctionalOaiBaseTestCase DatabaseTestCase PKPTestCase

Public Member Functions

 testDOIAndURN ()
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()

Additional Inherited Members

- Protected Member Functions inherited from DatabaseTestCase
 getAffectedTables ()
 setUp ()
 tearDown ()
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 getMockedRegistryKeys ()
 setTestConfiguration ($config, $configPath= 'config')
 setUp ()
 tearDown ()

Detailed Description

Test DC OAI output.

Definition at line 19 of file FunctionalOaiDcTestCase.php.

Member Function Documentation

FunctionalOaiDcTest::testDOIAndURN ( )

SCENARIO OUTLINE: Export article in DC format over OAI GIVEN a DOI and a URN have been assigned for a given {publishing object} WHEN I export the corresponding article in DC format over OAI THEN DOI and URN specific {DC fields} will be present in the OAI-message.

EXAMPLES: publishing object | DC fields ==================|================================================ issue | <dc:source>10.4321/t.v1i1</dc:source> issue | <dc:source>urn:nbn:de:0000-t.v1i19</dc:source> article | <dc:identifier>10.4321/t.v1i1.1</dc:identifier> article | <dc:identifier>urn:nbn:de:0000-t.v1i1.18</dc:identifier> galley | <dc:relation>10.4321/t.v1i1.g1</dc:relation> galley | <dc:relation>urn:nbn:de:0000-t.v1i1.1.g17</dc:relation> supp-file | <dc:relation>10.4321/t.v1i1.s1</dc:relation> supp-file | <dc:relation>urn:nbn:de:0000-t.v1i1.1.s19</dc:relation>

Definition at line 39 of file FunctionalOaiDcTestCase.php.

References Config\getVar().

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