define('PHPUnit_MAIN_METHOD', 'AllTests::main');
}
-require_once 'PHPUnit/Framework.php';
-require_once 'PHPUnit/TextUI/TestRunner.php';
+if (!@include_once 'PHPUnit/Autoload.php') {
+ include_once 'PHPUnit/Framework.php';
+ require_once 'PHPUnit/TextUI/TestRunner.php';
+}
-class SeleniumTests
+class AllTests
{
public static function main()
{
$suite->addTestFiles(glob("func/News/*Test.php"));
$suite->addTestFiles(glob("func/PluginsBlocks/*Test.php"));
$suite->addTestFiles(glob("func/PluginsOnlineHelp/*Test.php"));
+ $suite->addTestFiles(glob("func/PluginsSvnTracker/*Test.php"));
$suite->addTestFiles(glob("func/RBAC/*Test.php"));
+ $suite->addTestFiles(glob("func/Search/*Test.php"));
$suite->addTestFiles(glob("func/Surveys/*Test.php"));
// Run any func tests available in the plugins
if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
AllTests::main();
}
-?>