Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Protected Member Functions | Protected Attributes | List of all members
GWebTestCase Class Reference
Inheritance diagram for GWebTestCase:
CommentsWidgetTest LikeWidgetTest UserWidgetTest

Protected Member Functions

 setUp ()

Protected Attributes

 $captureScreenshotOnFailure = TRUE
 $screenshotUrl = 'http://127.0.0.1/selenium_screenshots'
 $screenshotPath = '/var/www/selenium_screenshots'

Detailed Description

The base class for functional test cases. In this class, we set the base URL for the test application. We also provide some common methods to be used by concrete test classes.

Definition at line 20 of file GWebTestCase.php.

Member Function Documentation

GWebTestCase::setUp ( )
protected

Sets up before each test method runs. This mainly sets the base URL for the test application.

Reimplemented in CommentsWidgetTest, LikeWidgetTest, and UserWidgetTest.

Definition at line 30 of file GWebTestCase.php.

{
$this->setBrowserUrl(TEST_BASE_URL);
$this->setBrowser('*firefox');
}

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