Set initial focus on some special pages
[lhc/web/wiklou.git] / tests / selenium / suites / MediaWikiEditorConfig.php
1 <?php
2 /**
3 * Selenium server manager
4 *
5 * @file
6 * @ingroup Testing
7 * Copyright (C) 2010 Nadeesha Weerasinghe <nadeesha@calcey.com>
8 * http://www.calcey.com/
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program; if not, write to the Free Software Foundation, Inc.,
22 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 * http://www.gnu.org/copyleft/gpl.html
24 */
25
26 class MediaWikiEditorConfig {
27 public static function getSettings( &$includeFiles, &$globalConfigs ) {
28 $includes = array(
29 //files that needed to be included would go here
30 //commenting out because this does not exist
31 //'tests/selenium/suites/MediaWikiCommonFunction.php'
32 );
33 $configs = array(
34 'wgPageLoadTime' => "600000"
35 );
36 $includeFiles = array_merge( $includeFiles, $includes );
37 $globalConfigs = array_merge( $globalConfigs, $configs );
38 return true;
39 }
40 }
41