Index: trunk/phase3/tests/selenium/suites/SimpleSeleniumConfig.php |
— | — | @@ -1,15 +1,22 @@ |
2 | 2 | <?php |
3 | 3 | class SimpleSeleniumConfig { |
4 | 4 | |
5 | | - public static function getSettings(&$includeFiles, &$globalConfigs) { |
| 5 | + public static function getSettings(&$includeFiles, &$globalConfigs, &$resourceFiles) { |
| 6 | + global $IP; |
6 | 7 | $includes = array( |
7 | 8 | //files that needed to be included would go here |
8 | 9 | ); |
9 | 10 | $configs = array( |
10 | 11 | 'wgDefaultSkin' => 'chick' |
11 | 12 | ); |
| 13 | + $resources = array( |
| 14 | + 'db' => "$IP/tests/selenium/data/SimpleSeleniumTestDB.sql", |
| 15 | + 'images' => "$IP/tests/selenium/data/SimpleSeleniumTestImages.zip" |
| 16 | + ); |
| 17 | + |
12 | 18 | $includeFiles = array_merge( $includeFiles, $includes ); |
13 | 19 | $globalConfigs = array_merge( $globalConfigs, $configs); |
| 20 | + $resourceFiles = array_merge( $resourceFiles, $resources ); |
14 | 21 | return true; |
15 | 22 | } |
16 | 23 | } |
\ No newline at end of file |