diff options
Diffstat (limited to 'tests/request/all_tests.php')
-rw-r--r-- | tests/request/all_tests.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tests/request/all_tests.php b/tests/request/all_tests.php deleted file mode 100644 index f1633309fd..0000000000 --- a/tests/request/all_tests.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** -* -* @package testing -* @copyright (c) 2008 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -if (!defined('PHPUnit_MAIN_METHOD')) -{ - define('PHPUnit_MAIN_METHOD', 'phpbb_request_all_tests::main'); -} - -require_once 'test_framework/framework.php'; -require_once 'PHPUnit/TextUI/TestRunner.php'; - -require_once 'request/type_cast_helper.php'; -require_once 'request/deactivated_super_global.php'; -require_once 'request/request.php'; -require_once 'request/request_var.php'; - -class phpbb_request_all_tests -{ - public static function main() - { - PHPUnit_TextUI_TestRunner::run(self::suite()); - } - - public static function suite() - { - $suite = new PHPUnit_Framework_TestSuite('phpBB Request Parameter Handling'); - - $suite->addTestSuite('phpbb_type_cast_helper_test'); - $suite->addTestSuite('phpbb_deactivated_super_global_test'); - $suite->addTestSuite('phpbb_request_test'); - $suite->addTestSuite('phpbb_request_var_test'); - - return $suite; - } -} - -if (PHPUnit_MAIN_METHOD == 'phpbb_request_all_tests::main') -{ - phpbb_request_all_tests::main(); -} - |