2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * runs all defined Selenium tests
6 * @package phpMyAdmin-test
13 require_once 'PHPUnit/Framework.php';
14 require_once 'PHPUnit/TextUI/TestRunner.php';
15 require_once './PmaSeleniumTestCase.php';
16 require_once './PmaSeleniumLoginTest.php';
17 require_once './PmaSeleniumXssTest.php';
18 require_once './PmaSeleniumPrivilegesTest.php';
20 class AllSeleniumTests
22 public static function main()
24 $parameters = array();
25 PHPUnit_TextUI_TestRunner
::run(self
::suite(), $parameters);
28 public static function suite()
30 $suite = new PHPUnit_Framework_TestSuite('phpMyAdmin');
32 $suite->addTestSuite('PmaSeleniumLoginTest');
33 $suite->addTestSuite('PmaSeleniumXssTest');
34 $suite->addTestSuite('PmaSeleniumPrivilegesTest');