MediaWiki  REL1_20
SeleniumTester Class Reference
Inheritance diagram for SeleniumTester:
Collaboration diagram for SeleniumTester:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.
 listBrowsers ()

Protected Member Functions

 runTests ($seleniumTestSuites=array())
 startServer ()
 stopServer ()

Protected Attributes

 $selenium
 $seleniumServerExecPath
 $serverManager

Detailed Description

Definition at line 48 of file RunSeleniumTests.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 53 of file RunSeleniumTests.php.

References Maintenance\addOption(), and Maintenance\deleteOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 153 of file RunSeleniumTests.php.

References $wgHooks, Maintenance\getOption(), SeleniumConfig\getSeleniumSettings(), Maintenance\hasOption(), listBrowsers(), Maintenance\output(), runTests(), startServer(), stopServer(), and wfRunHooks().

Definition at line 75 of file RunSeleniumTests.php.

References echo.

Referenced by execute().

SeleniumTester::runTests ( seleniumTestSuites = array()) [protected]

Definition at line 126 of file RunSeleniumTests.php.

References $result, and $suite.

Referenced by execute().

SeleniumTester::startServer ( ) [protected]

Definition at line 85 of file RunSeleniumTests.php.

References echo.

Referenced by execute().

SeleniumTester::stopServer ( ) [protected]

Definition at line 109 of file RunSeleniumTests.php.

References echo.

Referenced by execute().


Member Data Documentation

SeleniumTester::$selenium [protected]

Definition at line 49 of file RunSeleniumTests.php.

SeleniumTester::$seleniumServerExecPath [protected]

Definition at line 51 of file RunSeleniumTests.php.

SeleniumTester::$serverManager [protected]

Definition at line 50 of file RunSeleniumTests.php.


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