Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
WebTestCase Class Reference
Inheritance diagram for WebTestCase:
FunctionalDOIPubIdPluginTest FunctionalImportExportBaseTestCase FunctionalLucenePluginBaseTestCase FunctionalUrnPubIdPluginTest FunctionalCrossrefExportTest FunctionalDoiExportTest FunctionalNativeExportTest FunctionalNativeImportTest FunctionalPubIdsImportExportTest FunctionalPubmedExportTest FunctionalLucenePluginAutocompletionTest FunctionalLucenePluginConfigTest FunctionalLucenePluginCustomRankingTest FunctionalLucenePluginFacetingTest FunctionalLucenePluginHighlightingTest FunctionalLucenePluginRankingTest FunctionalLucenePluginSearchTest FunctionalLucenePluginSimDocTest FunctionalLucenePluginSpellingTest

Protected Member Functions

 getAffectedTables ()
 
 improveException ($e, $testObject)
 
 logIn ()
 
 setUp ()
 
 tearDown ()
 
 verified ()
 
 verifyAndOpen ($url)
 

Detailed Description

Base test class for Selenium functional tests.

Definition at line 19 of file WebTestCase.inc.php.

Member Function Documentation

WebTestCase::getAffectedTables ( )
protected

Override this method if you want to backup/restore tables before/after the test.

Returns
array A list of tables to backup and restore.

Definition at line 28 of file WebTestCase.inc.php.

Referenced by setUp(), and tearDown().

WebTestCase::setUp ( )
protected
See Also
PHPUnit_Framework_TestCase::setUp()

Definition at line 35 of file WebTestCase.inc.php.

References getAffectedTables(), and Config\getVar().

WebTestCase::tearDown ( )
protected
See Also
PHPUnit_Framework_TestCase::tearDown()

Definition at line 66 of file WebTestCase.inc.php.

References getAffectedTables().

WebTestCase::verified ( )
protected

Check for verification errors and clean the verification error list.

Definition at line 83 of file WebTestCase.inc.php.

Referenced by FunctionalLucenePluginConfigTest\testPluginActivation(), and verifyAndOpen().


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