diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/all_tests.php | 11 | ||||
| -rw-r--r-- | tests/bbcode/all_tests.php | 10 | ||||
| -rw-r--r-- | tests/bbcode/parser_test.php | 9 | ||||
| -rw-r--r-- | tests/utf/all_tests.php | 10 | ||||
| -rw-r--r-- | tests/utf/utf8_clean_string_test.php | 9 | ||||
| -rw-r--r-- | tests/utf/utf8_wordwrap_test.php | 9 |
6 files changed, 58 insertions, 0 deletions
diff --git a/tests/all_tests.php b/tests/all_tests.php index f99ecf628d..0ae8311561 100644 --- a/tests/all_tests.php +++ b/tests/all_tests.php @@ -1,5 +1,15 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); + if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'phpbb_all_tests::main'); @@ -11,6 +21,7 @@ require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'bbcode/all_tests.php'; require_once 'utf/all_tests.php'; +// exclude the test directory from code coverage reports PHPUnit_Util_Filter::addDirectoryToFilter('./'); class phpbb_all_tests diff --git a/tests/bbcode/all_tests.php b/tests/bbcode/all_tests.php index e5412eed0e..6703f67495 100644 --- a/tests/bbcode/all_tests.php +++ b/tests/bbcode/all_tests.php @@ -1,5 +1,15 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); + if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'phpbb_bbcode_all_tests::main'); diff --git a/tests/bbcode/parser_test.php b/tests/bbcode/parser_test.php index 0cb223d799..5e44754478 100644 --- a/tests/bbcode/parser_test.php +++ b/tests/bbcode/parser_test.php @@ -1,4 +1,13 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); require_once 'PHPUnit/Framework.php'; diff --git a/tests/utf/all_tests.php b/tests/utf/all_tests.php index 7274b29aed..53b050f9d2 100644 --- a/tests/utf/all_tests.php +++ b/tests/utf/all_tests.php @@ -1,5 +1,15 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); + if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'phpbb_utf_all_tests::main'); diff --git a/tests/utf/utf8_clean_string_test.php b/tests/utf/utf8_clean_string_test.php index 8501a655e4..7cd44465c5 100644 --- a/tests/utf/utf8_clean_string_test.php +++ b/tests/utf/utf8_clean_string_test.php @@ -1,4 +1,13 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); require_once 'PHPUnit/Framework.php'; diff --git a/tests/utf/utf8_wordwrap_test.php b/tests/utf/utf8_wordwrap_test.php index 7015f5252c..26a3ebf26d 100644 --- a/tests/utf/utf8_wordwrap_test.php +++ b/tests/utf/utf8_wordwrap_test.php @@ -1,4 +1,13 @@ <?php +/** +* +* @package testing +* @version $Id$ +* @copyright (c) 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + define('IN_PHPBB', true); require_once 'PHPUnit/Framework.php'; |
