Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
Nlm30CitationSchemaParserFilterTestCase Class Reference
Inheritance diagram for Nlm30CitationSchemaParserFilterTestCase:
Nlm30CitationSchemaFilterTestCase PKPTestCase FreeciteRawCitationNlm30CitationSchemaFilterTest ParaciteRawCitationNlm30CitationSchemaFilterTest ParscitRawCitationNlm30CitationSchemaFilterTest RegexRawCitationNlm30CitationSchemaFilterTest

Public Member Functions

 testAllCitationsWithThisParser (&$filter)
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Additional Inherited Members

- Protected Member Functions inherited from Nlm30CitationSchemaFilterTestCase
 assertNlm30CitationSchemaFilter ($citationFilterTests, $filter)
 
 assertWebServiceError ($citationFilterName, $constructorArguments=array())
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Base class for all Nlm30CitationSchemaFilter tests for parser filters.

Definition at line 23 of file Nlm30CitationSchemaParserFilterTestCase.inc.php.

Member Function Documentation

Nlm30CitationSchemaParserFilterTestCase::testAllCitationsWithThisParser ( $filter)

This will call the given filter for all raw citations contained in the file 'test-citations.txt'.

It tests whether any of these citations triggers an error. It also creates a human readable and PHP parsable test result output so that the parser results can be checked (and improved) for all test citations.

Setting the class constant TEST_ALL_CITATIONS to false will skip this time consuming test.

Parameters
$filterNlm30CitationSchemaFilter

Definition at line 40 of file Nlm30CitationSchemaParserFilterTestCase.inc.php.


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