MediaWiki  REL1_19
SeleniumTestSuite Class Reference
Inheritance diagram for SeleniumTestSuite:

List of all members.

Public Member Functions

 addTests ()
 loadPage ($title, $action)
 login ()
 setUp ()
 tearDown ()

Public Attributes

const CONTINUE_LINE = 1
const RESULT_ERROR = 3
const RESULT_OK = 2

Protected Member Functions

 setLoginBeforeTests ($loginBeforeTests=true)
 setTriggerClientTestResources ($triggerClientTestResources=true)

Private Attributes

 $isSetUp = false
 $loginBeforeTests = true
 $selenium
 $triggerClientTestResources = true

Detailed Description

Definition at line 3 of file SeleniumTestSuite.php.


Member Function Documentation

SeleniumTestSuite::loadPage ( title,
action 
)

Definition at line 46 of file SeleniumTestSuite.php.

References $title.

Definition at line 42 of file SeleniumTestSuite.php.

Referenced by setUp().

Here is the caller graph for this function:

SeleniumTestSuite::setLoginBeforeTests ( loginBeforeTests = true) [protected]
SeleniumTestSuite::setTriggerClientTestResources ( triggerClientTestResources = true) [protected]

Definition at line 54 of file SeleniumTestSuite.php.

References $triggerClientTestResources.

Reimplemented in SimpleSeleniumTestSuite, MediawikiCoreSmokeTestSuite, MediaWikiEditorTestSuite, MediaWikiExtraTestSuite, and PageDeleteTestSuite.

Definition at line 16 of file SeleniumTestSuite.php.

References Selenium\getInstance(), and login().

Here is the call graph for this function:

Definition at line 35 of file SeleniumTestSuite.php.


Member Data Documentation

SeleniumTestSuite::$isSetUp = false [private]

Definition at line 5 of file SeleniumTestSuite.php.

SeleniumTestSuite::$loginBeforeTests = true [private]

Definition at line 6 of file SeleniumTestSuite.php.

Referenced by setLoginBeforeTests().

SeleniumTestSuite::$selenium [private]

Definition at line 4 of file SeleniumTestSuite.php.

SeleniumTestSuite::$triggerClientTestResources = true [private]

Definition at line 7 of file SeleniumTestSuite.php.

Referenced by setTriggerClientTestResources().

Definition at line 12 of file SeleniumTestSuite.php.


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