diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2010-03-10 20:12:10 +0100 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2010-03-10 20:12:10 +0100 |
| commit | 3dd9040cc1396f2684a69272404467ebc44f9b58 (patch) | |
| tree | 6fcf568bec80551ea6d0668aa1695c723ce4f104 /tests/text_processing/all_tests.php | |
| parent | db8c557e4c6fee0a66c78863d4082dc17ff22d57 (diff) | |
| parent | 60bd1edcb5e5992e6e693d0f68db47e678f7d54a (diff) | |
| download | forums-3dd9040cc1396f2684a69272404467ebc44f9b58.tar forums-3dd9040cc1396f2684a69272404467ebc44f9b58.tar.gz forums-3dd9040cc1396f2684a69272404467ebc44f9b58.tar.bz2 forums-3dd9040cc1396f2684a69272404467ebc44f9b58.tar.xz forums-3dd9040cc1396f2684a69272404467ebc44f9b58.zip | |
Merge branch 'develop-olympus' into git-tools
Diffstat (limited to 'tests/text_processing/all_tests.php')
| -rw-r--r-- | tests/text_processing/all_tests.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/text_processing/all_tests.php b/tests/text_processing/all_tests.php new file mode 100644 index 0000000000..5e759c72ee --- /dev/null +++ b/tests/text_processing/all_tests.php @@ -0,0 +1,41 @@ +<?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_text_processing_all_tests::main'); +} + +require_once 'test_framework/framework.php'; +require_once 'PHPUnit/TextUI/TestRunner.php'; + +require_once 'text_processing/make_clickable.php'; + +class phpbb_text_processing_all_tests +{ + public static function main() + { + PHPUnit_TextUI_TestRunner::run(self::suite()); + } + + public static function suite() + { + $suite = new PHPUnit_Framework_TestSuite('phpBB Text Processing Tools'); + + $suite->addTestSuite('phpbb_text_processing_make_clickable_test'); + + return $suite; + } +} + +if (PHPUnit_MAIN_METHOD == 'phpbb_text_processing_all_tests::main') +{ + phpbb_text_processing_all_tests::main(); +} + |
