MediaWiki
REL1_19
|
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) |
Definition at line 6 of file SeleniumConfig.php.
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().
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().
static SeleniumConfig::parse_ini_line | ( | $ | iniLine | ) | [static, private] |
Definition at line 93 of file SeleniumConfig.php.