Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
FunctionalCrossrefExportTest Class Reference
Inheritance diagram for FunctionalCrossrefExportTest:
FunctionalImportExportBaseTestCase WebTestCase

Public Member Functions

 testDoi ()
 

Additional Inherited Members

- Protected Member Functions inherited from FunctionalImportExportBaseTestCase
 executeCLI ($pluginName, $args)
 
 extractTarFile ($tarFile)
 
 getDomOnExport ($pluginUrl)
 
 getXmlOnExport ($pluginUrl, $postParams=array())
 
 getXpathOnExport ($pluginUrl)
 
 instantiatePlugin ($pluginName)
 
- Protected Member Functions inherited from WebTestCase
 getAffectedTables ()
 
 improveException ($e, $testObject)
 
 logIn ()
 
 setUp ()
 
 tearDown ()
 
 verified ()
 
 verifyAndOpen ($url)
 

Detailed Description

Test CrossRef export.

Definition at line 19 of file FunctionalCrossrefExportTest.php.

Member Function Documentation

FunctionalCrossrefExportTest::testDoi ( )

SCENARIO OUTLINE: Export article into CrossRef deposit format XML files GIVEN a DOI has been assigned for a given {publishing object} WHEN I export the corresponding article in CrossRef deposit format THEN the object's DOI data (ID and URL) will be accessible in the XML file at the correct {CrossRef XPath}. DOIs will not be exported for galleys.

EXAMPLES: publishing object | CrossRef XPath ==================|===================================================== issue | body/journal/journal_issue/doi_data/{doi|resource} article | body/journal/journal_article/doi_data/{doi|resource} supp-file | body/journal/journal_article/component_list/ | component/{titles|doi_data/{doi|resource}}

Definition at line 37 of file FunctionalCrossrefExportTest.php.

References FunctionalImportExportBaseTestCase\getXpathOnExport().


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