MDL-24116 disabling test UI in XMLDB - this is a first step only, going to migrate this completely to DML/DDL functional tests soon

This commit is contained in:
Petr Skoda
2010-09-07 09:38:23 +00:00
parent 91e6ca30c1
commit 6a50d10a64
3 changed files with 3 additions and 5 deletions
@@ -25,7 +25,7 @@
* This class will show all the actions available under the XMLDB editor interface
*
* From here, files can be created, edited, saved and deleted, plus some
* extra utilities like displaying docs, xml info and performing various tests
* extra utilities like displaying docs, xml info and performing various consistency tests
*
* @package xmldb-editor
* @copyright 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
@@ -52,7 +52,6 @@ class main_view extends XMLDBAction {
'unload' => 'xmldb',
'delete' => 'xmldb',
'reservedwords' => 'xmldb',
'test' => 'xmldb',
'gotolastused' => 'xmldb',
'checkindexes' => 'xmldb',
'checkdefaults' => 'xmldb',
@@ -95,8 +94,6 @@ class main_view extends XMLDBAction {
$b = '<p class="centerpara buttons">';
/// The reserved_words button
$b .= '&nbsp;<a href="index.php?action=view_reserved_words">[' . $this->str['reservedwords'] . ']</a>';
/// The test button
$b .= '&nbsp;<a href="index.php?action=test&amp;sesskey=' . sesskey() . '">[' . $this->str['test'] . ']</a>';
/// The docs button
$b .= '&nbsp;<a href="index.php?action=generate_all_documentation">[' . $this->str['doc'] . ']</a>';
/// The check indexes button
+2
View File
@@ -33,6 +33,8 @@
*/
class test extends XMLDBAction {
//TODO: MDL-24116 content of this file is being migrated to DDL/DML functional tests, this script is not referenced from UI any more and will be deleted soon
/**
* Init method, every subclass will have its own
*/
-1
View File
@@ -149,7 +149,6 @@ $string['selectonefieldkeyindex'] = 'Please, select one Field/Key/Index from the
$string['selecttable'] = 'Select Table:';
$string['table'] = 'Table';
$string['tables'] = 'Tables';
$string['test'] = 'Test';
$string['textincorrectlength'] = 'Incorrect length for text field';
$string['unload'] = 'Unload';
$string['up'] = 'Up';