API: trunk/phase3 is now mediawiki/core
[lhc/web/wiklou.git] / tests / selenium / suites / SimpleSeleniumConfig.php
1 <?php
2 class SimpleSeleniumConfig {
3
4 public static function getSettings(&$includeFiles, &$globalConfigs, &$resourceFiles) {
5 global $IP;
6 $includes = array(
7 //files that needed to be included would go here
8 );
9 $configs = array(
10 'wgDBprefix' => 'mw_',
11 'wgDBTableOptions' => 'ENGINE=InnoDB, DEFAULT CHARSET=binary',
12 'wgDBmysql5' => 'false',
13 'wgMainCacheType' => 'CACHE_NONE',
14 'wgParserCacheType' => 'CACHE_NONE',
15 'wgMemCachedServers'=> array(),
16 'wgLanguageCode' => 'en',
17 'wgSitename' => 'test_wiki',
18 'wgDefaultSkin' => 'chick'
19 );
20 $resources = array(
21 'db' => "$IP/tests/selenium/data/SimpleSeleniumTestDB.sql",
22 'images' => "$IP/tests/selenium/data/SimpleSeleniumTestImages.zip"
23 );
24
25 $includeFiles = array_merge( $includeFiles, $includes );
26 $globalConfigs = array_merge( $globalConfigs, $configs);
27 $resourceFiles = array_merge( $resourceFiles, $resources );
28 return true;
29 }
30 }