Index: trunk/extensions/PagedTiffHandler/selenium_copy_to_mediawiki_root/selenium/RunSeleniumTests.php |
— | — | @@ -55,12 +55,18 @@ |
56 | 56 | // Actually, use this browser |
57 | 57 | $wgSeleniumTestsUseBrowser = 'firefox'; |
58 | 58 | |
| 59 | +// Here, you can override standard setting |
| 60 | +if (file_exists('LocalSeleniumSettings.php')) |
| 61 | +{ |
| 62 | + include_once 'LocalSeleniumSettings.php'; |
| 63 | +} |
| 64 | + |
59 | 65 | // requires PHPUnit 3.4 |
60 | 66 | require_once 'Testing/Selenium.php'; |
61 | 67 | require_once 'PHPUnit/Framework.php'; |
62 | 68 | require_once 'PHPUnit/Extensions/SeleniumTestCase.php'; |
63 | 69 | |
64 | | -// include uiTestsuite |
| 70 | +// include seleniumTestsuite |
65 | 71 | require_once 'selenium/SeleniumTestHTMLLogger.php'; |
66 | 72 | require_once 'selenium/SeleniumTestConsoleLogger.php'; |
67 | 73 | require_once 'selenium/SeleniumTestListener.php'; |
— | — | @@ -81,12 +87,6 @@ |
82 | 88 | // Todo: include automatically |
83 | 89 | include_once '../extensions/PagedTiffHandler/selenium/PagedTiffHandler_tests.php'; |
84 | 90 | |
85 | | -// Here, you can override standard setting |
86 | | -if (file_exists('LocalSeleniumSettings.php')) |
87 | | -{ |
88 | | - include_once 'LocalSeleniumSettings.php'; |
89 | | -} |
90 | | - |
91 | 91 | // run tests |
92 | 92 | foreach ($wgSeleniumTestSuites as $suite) |
93 | 93 | $suite->run($result); |