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

Public Member Functions

 testDoi ()
 

Additional Inherited Members

- Static Public Member Functions inherited from WebTestCase
static setUpBeforeClass ()
 
- 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
 addTag ($controlPrefix, $value)
 
 findSubmissionAsEditor ($username, $password=null, $title)
 
 getAffectedTables ()
 
 improveException ($e, $testObject)
 
 logAuthorIn ()
 
 logIn ($username, $password=null)
 
 logOut ()
 
 register ($data)
 
 setUp ()
 
 submitAjaxForm ($formId)
 
 tearDown ()
 
 typeText ($box, $letters)
 
 typeTinyMCE ($controlPrefix, $value)
 
 uploadFile ($file, $inputSelector= '//input[@type="file"]', $buttonSelector= '//input[@value=\'Upload\']')
 
 verified ()
 
 verifyAndOpen ($url)
 
 waitJQuery ()
 

Detailed Description

Test CrossRef export.

Definition at line 19 of file FunctionalCrossrefExportTestCase.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 FunctionalCrossrefExportTestCase.php.

References FunctionalImportExportBaseTestCase\getXpathOnExport().


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