Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Nlm30CitationSchemaParserFilterTestCase Class Reference
Inheritance diagram for Nlm30CitationSchemaParserFilterTestCase:
Nlm30CitationSchemaFilterTestCase PKPTestCase FreeciteRawCitationNlm30CitationSchemaFilterTest ParaciteRawCitationNlm30CitationSchemaFilterTest ParscitRawCitationNlm30CitationSchemaFilterTest RegexRawCitationNlm30CitationSchemaFilterTest

Protected Member Functions

 _testAllCitationsWithThisParser (&$filter)
- Protected Member Functions inherited from Nlm30CitationSchemaFilterTestCase
 assertNlm30CitationSchemaFilter ($citationFilterTests, $filter)
 assertWebServiceError ($citationFilterName, $constructorArguments=array())
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 getMockedRegistryKeys ()
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 setTestConfiguration ($config, $configPath= 'config')
 setUp ()
 tearDown ()

Additional Inherited Members

- Public Member Functions inherited from PKPTestCase
 getActualOutput ()

Detailed Description

Base class for all Nlm30CitationSchemaFilter tests for parser filters.

Definition at line 23 of file

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.


Definition at line 40 of file

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