From e4b5ef5a17eb20b6ed976644de0e10d2dff39ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 18 Feb 2016 09:34:21 +0100 Subject: [PATCH] Remove obsolete test files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are not working for ages, so I assume nobody needs them :-). Signed-off-by: Michal Čihař --- test/AllSeleniumTests.php | 54 ------ test/theme.php | 360 -------------------------------------- test/wui.php | 17 -- 3 files changed, 431 deletions(-) delete mode 100644 test/AllSeleniumTests.php delete mode 100644 test/theme.php delete mode 100644 test/wui.php diff --git a/test/AllSeleniumTests.php b/test/AllSeleniumTests.php deleted file mode 100644 index dcafe1f9d1..0000000000 --- a/test/AllSeleniumTests.php +++ /dev/null @@ -1,54 +0,0 @@ -addTestSuite('PmaSeleniumLoginTest'); - $suite->addTestSuite('PmaSeleniumXssTest'); - $suite->addTestSuite('PmaSeleniumPrivilegesTest'); - $suite->addTestSuite('PmaSeleniumCreateDropDatabaseTest'); - $suite->addTestSuite('PmaSeleniumCreateRemoveUserTest'); - return $suite; - } -} diff --git a/test/theme.php b/test/theme.php deleted file mode 100644 index 421f56681b..0000000000 --- a/test/theme.php +++ /dev/null @@ -1,360 +0,0 @@ - - - - - phpMyAdmin <?php echo PMA_VERSION; ?> - - <?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?> - Theme Test - - - - - - - - - - - »' . "\n"; -$item = '' - . ' ' . "\n" - . '%4$s: %3$s' . "\n"; - -echo '
' . "\n"; -printf( - $item, - PMA\libraries\Util::getScriptNameForOption( - $GLOBALS['cfg']['DefaultTabserver'], 'server' - ), - PMA_URL_getCommon(), - 'Server', - __('Server'), - 'ic_s_host' -); - -echo $separator; -printf( - $item, - PMA\libraries\Util::getScriptNameForOption( - $GLOBALS['cfg']['DefaultTabDatabase'], 'database' - ), - '', - 'Database', - __('Database'), - 'ic_s_db' -); - -echo $separator; -printf( - $item, - PMA\libraries\Util::getScriptNameForOption( - $GLOBALS['cfg']['DefaultTabTable'], 'table' - ), - '', - 'Table', - (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] - ? __('View') - : __('Table')), - (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] - ? 'ic_b_views' - : 'ic_s_tbl') -); - -echo '' - . '"Table comment"' . "\n"; - -echo '
'; - - -/** - * Displays tab links - */ -$tabs = array(); - -$tabs['databases']['icon'] = 's_db.png'; -$tabs['databases']['link'] = 'server_databases.php'; -$tabs['databases']['text'] = __('Databases'); - -$tabs['sql']['icon'] = 'b_sql.png'; -$tabs['sql']['link'] = 'server_sql.php'; -$tabs['sql']['text'] = __('SQL'); - -$tabs['status']['icon'] = 's_status.png'; -$tabs['status']['link'] = 'server_status.php'; -$tabs['status']['text'] = __('Status'); - -$tabs['vars']['icon'] = 's_vars.png'; -$tabs['vars']['link'] = 'server_variables.php'; -$tabs['vars']['text'] = __('Variables'); - -$tabs['charset']['icon'] = 's_asci.png'; -$tabs['charset']['link'] = 'server_collations.php'; -$tabs['charset']['text'] = __('Charsets'); - -$tabs['engine']['icon'] = 'b_engine.png'; -$tabs['engine']['link'] = 'server_engines.php'; -$tabs['engine']['text'] = __('Engines'); - -$tabs['rights']['icon'] = 's_rights.png'; -$tabs['rights']['link'] = 'server_privileges.php'; -$tabs['rights']['text'] = __('Privileges'); - -$tabs['binlog']['icon'] = 's_tbl.png'; -$tabs['binlog']['link'] = 'server_binlog.php'; -$tabs['binlog']['text'] = __('Binary log'); - -$tabs['export']['icon'] = 'b_export.png'; -$tabs['export']['text'] = 'disabled'; - -$tabs['export2']['icon'] = 'b_export.png'; -$tabs['export2']['text'] = 'disabled caution'; -$tabs['export2']['class'] = 'caution'; - -$tabs['import']['icon'] = 'b_import.png'; -$tabs['import']['link'] = 'server_import.php'; -$tabs['import']['text'] = 'active'; -$tabs['import']['class'] = 'active'; - -echo PMA\libraries\Util::getHtmlTabs($tabs, array(), 'topmenu'); -unset($tabs); - -if (@file_exists($pmaThemeImage . 'logo_right.png')) { - ?> - phpMyAdmin - -

-phpMyAdmin ' . PMA_VERSION . '' -); -?> -

- -
- -
-
- -getHtmlSelectBox(false); -?> -
-
- -
- -

H1 Header

-

H2 Header

-

H3 Header

-

H4 Header

- -
- success message box content! -
-
-

Success message box header!

- success message box content! -
- -
- notice message box content! -
-
-

Notice message box header!

- notice message box content! -
-
- error message box content! -
-
-

Error message box header!

- error message box content! -
- -
- Confirmation fieldset - QUERY TO EXECUTE; -
-
- - -
- -
- -
- success message box content! -
- - -SELECT -*
-FROM -`test` -
-LIMIT -0 -, -30;
-SELECT -*
-FROM -`test` -
-LIMIT -0 -, -30;
-SELECT -*
-FROM -`test` -
-LIMIT -0 -, -30;
-SELECT -*
-FROM -`test` -
-LIMIT -0 -, -30;
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
table.data caption
table.data thead tr thtable.data thead tr thactiontable.data thead tr th
table.data tfoot tr thtable.data tfoot tr thactiontable.data tfoot tr th
td.value - drop - - drop - - drop - table.data tbody tr.odd td
td.value - drop - - drop - - drop - table.data tbody tr.even td
td.value - drop - - drop - - drop - table.data tbody tr.odd td
td.value - drop - - drop - - drop - table.data tbody tr.even td
- - diff --git a/test/wui.php b/test/wui.php deleted file mode 100644 index b479634af2..0000000000 --- a/test/wui.php +++ /dev/null @@ -1,17 +0,0 @@ -'; -AllTests::main(); -echo ''; -