Merge branch 'QA_3_4'
[phpmyadmin/madhuracj.git] / test / AllSeleniumTests.php
blob5d9baedfeccb3407ac1d52648205b20bda51e7b4
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * runs all defined Selenium tests
6 * @package phpMyAdmin-test
7 */
10 /**
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');
35 return $suite;