MediaWiki  REL1_19
SeleniumConfig Class Reference

List of all members.

Static Public Member Functions

static getSeleniumSettings (&$seleniumSettings, &$seleniumBrowsers, &$seleniumTestSuites, $seleniumConfigFile=null)
 Retreives the Selenium configuration values from an ini file.

Static Private Member Functions

static parse_5_2_ini_file ($ConfigFile)
 PHP 5.2 parse_ini_file() doesn't have support for array keys.
static parse_ini_line ($iniLine)

Detailed Description

Definition at line 6 of file SeleniumConfig.php.


Member Function Documentation

static SeleniumConfig::getSeleniumSettings ( &$  seleniumSettings,
&$  seleniumBrowsers,
&$  seleniumTestSuites,
seleniumConfigFile = null 
) [static]

Retreives the Selenium configuration values from an ini file.

See sample config file in selenium_settings.ini.sample

Definition at line 14 of file SeleniumConfig.php.

References $wgSeleniumConfigFile, parse_5_2_ini_file(), wfRestoreWarnings(), and wfSuppressWarnings().

Referenced by SeleniumTester\execute(), SeleniumConfigurationTest\testErrorOnIncorrectConfigFile(), SeleniumConfigurationTest\testErrorOnMissingConfigFile(), SeleniumConfigurationTest\testgetSeleniumSettings(), and SeleniumConfigurationTest\testUsesGlobalVarForConfigFile().

Here is the call graph for this function:

Here is the caller graph for this function:

static SeleniumConfig::parse_5_2_ini_file ( ConfigFile) [static, private]

PHP 5.2 parse_ini_file() doesn't have support for array keys.

This function parses simple ini files with such syntax using just 5.2 functions.

Definition at line 69 of file SeleniumConfig.php.

References $file.

Referenced by getSeleniumSettings().

Here is the caller graph for this function:

static SeleniumConfig::parse_ini_line ( iniLine) [static, private]

Definition at line 93 of file SeleniumConfig.php.


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