3.3.5-rc1
[phpmyadmin/arisferyanto.git] / test / AllSeleniumTests.php
blob50b27c901a9483a2d18a68ad16d08393ddb7cad1
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * runs all defined Selenium tests
6 * @version $Id$
7 * @package phpMyAdmin-test
8 */
11 /**
14 require_once 'PHPUnit/Framework.php';
15 require_once 'PHPUnit/TextUI/TestRunner.php';
16 require_once './PmaSeleniumTestCase.php';
17 require_once './PmaSeleniumLoginTest.php';
18 require_once './PmaSeleniumXssTest.php';
19 require_once './PmaSeleniumPrivilegesTest.php';
21 class AllSeleniumTests
23 public static function main()
25 $parameters = array();
26 PHPUnit_TextUI_TestRunner::run(self::suite(), $parameters);
29 public static function suite()
31 $suite = new PHPUnit_Framework_TestSuite('phpMyAdmin');
33 $suite->addTestSuite('PmaSeleniumLoginTest');
34 $suite->addTestSuite('PmaSeleniumXssTest');
35 $suite->addTestSuite('PmaSeleniumPrivilegesTest');
36 return $suite;