point your browser to test/wui.php to see test results in your browser
This commit is contained in:
@@ -18,6 +18,11 @@ if (! defined('PMA_MAIN_METHOD')) {
|
|||||||
// required to not die() in some libraries
|
// required to not die() in some libraries
|
||||||
define('PHPMYADMIN', true);
|
define('PHPMYADMIN', true);
|
||||||
|
|
||||||
|
// just add $_SESSION array once, so no need to test for existance evrywhere to get rid of NOtices about this
|
||||||
|
if (empty($_SESSION)) {
|
||||||
|
$_SESSION = array();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -83,12 +88,4 @@ class AllTests
|
|||||||
return $suite;
|
return $suite;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Please clarify the reason of this section; it has for effect
|
|
||||||
// of running the tests a second time.
|
|
||||||
/*
|
|
||||||
if (PMA_MAIN_METHOD == 'AllTests::main') {
|
|
||||||
echo '<pre>';
|
|
||||||
AllTests::main();
|
|
||||||
echo '</pre>';
|
|
||||||
}*/
|
|
||||||
?>
|
?>
|
||||||
|
19
test/wui.php
Normal file
19
test/wui.php
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||||
|
/**
|
||||||
|
* runs all defined tests
|
||||||
|
*
|
||||||
|
* @version $Id: AllTests.php 12036 2008-11-30 11:49:44Z lem9 $
|
||||||
|
* @package phpMyAdmin-test
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
require_once 'AllTests.php';
|
||||||
|
|
||||||
|
echo '<pre>';
|
||||||
|
AllTests::main();
|
||||||
|
echo '</pre>';
|
||||||
|
|
||||||
|
?>
|
Reference in New Issue
Block a user