r65876 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65875‎ | r65876 | r65877 >
Date:20:51, 3 May 2010
Author:mglaser
Status:deferred
Tags:
Comment:
moved inclusion of local settings file in order to make it possible to change the run mode (cli or html) locally.
Modified paths:
  • /trunk/extensions/PagedTiffHandler/selenium_copy_to_mediawiki_root/selenium/RunSeleniumTests.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PagedTiffHandler/selenium_copy_to_mediawiki_root/selenium/RunSeleniumTests.php
@@ -55,12 +55,18 @@
5656 // Actually, use this browser
5757 $wgSeleniumTestsUseBrowser = 'firefox';
5858
 59+// Here, you can override standard setting
 60+if (file_exists('LocalSeleniumSettings.php'))
 61+{
 62+ include_once 'LocalSeleniumSettings.php';
 63+}
 64+
5965 // requires PHPUnit 3.4
6066 require_once 'Testing/Selenium.php';
6167 require_once 'PHPUnit/Framework.php';
6268 require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
6369
64 -// include uiTestsuite
 70+// include seleniumTestsuite
6571 require_once 'selenium/SeleniumTestHTMLLogger.php';
6672 require_once 'selenium/SeleniumTestConsoleLogger.php';
6773 require_once 'selenium/SeleniumTestListener.php';
@@ -81,12 +87,6 @@
8288 // Todo: include automatically
8389 include_once '../extensions/PagedTiffHandler/selenium/PagedTiffHandler_tests.php';
8490
85 -// Here, you can override standard setting
86 -if (file_exists('LocalSeleniumSettings.php'))
87 -{
88 - include_once 'LocalSeleniumSettings.php';
89 -}
90 -
9191 // run tests
9292 foreach ($wgSeleniumTestSuites as $suite)
9393 $suite->run($result);

Status & tagging log