diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-05-14 03:21:08 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-08-03 10:50:41 +0200 |
commit | 3e111bb41ad6a2ea954dd52bcf78b954114c37e9 (patch) | |
tree | 54aef539d213c4744b0af2ec5c78e02d20161dff /tests/network | |
parent | e1328e87ce23245dbd55a08fbaf3d48e957a6777 (diff) | |
download | forums-3e111bb41ad6a2ea954dd52bcf78b954114c37e9.tar forums-3e111bb41ad6a2ea954dd52bcf78b954114c37e9.tar.gz forums-3e111bb41ad6a2ea954dd52bcf78b954114c37e9.tar.bz2 forums-3e111bb41ad6a2ea954dd52bcf78b954114c37e9.tar.xz forums-3e111bb41ad6a2ea954dd52bcf78b954114c37e9.zip |
[ticket/9599] Adding network function tests.
PHPBB3-9599
Diffstat (limited to 'tests/network')
-rw-r--r-- | tests/network/all_tests.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/network/all_tests.php b/tests/network/all_tests.php new file mode 100644 index 0000000000..07a7e57d48 --- /dev/null +++ b/tests/network/all_tests.php @@ -0,0 +1,36 @@ +<?php +/** +* +* @package testing +* @copyright (c) 2010 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + +if (!defined('PHPUnit_MAIN_METHOD')) +{ + define('PHPUnit_MAIN_METHOD', 'phpbb_network_all_tests::main'); +} + +require_once 'test_framework/framework.php'; +require_once 'PHPUnit/TextUI/TestRunner.php'; + +class phpbb_network_all_tests +{ + public static function main() + { + PHPUnit_TextUI_TestRunner::run(self::suite()); + } + + public static function suite() + { + $suite = new PHPUnit_Framework_TestSuite('phpBB Network Functions'); + + return $suite; + } +} + +if (PHPUnit_MAIN_METHOD == 'phpbb_network_all_tests::main') +{ + phpbb_network_all_tests::main(); +} |