1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 02:36:38 +02:00

[ticket/9626] Adding tests for regular expressions.

Adding tests for the IPv6 regular expression returned by get_preg_expression()

PHPBB3-9626
This commit is contained in:
Andreas Fischer
2010-04-09 00:39:12 +02:00
parent 6d7e30ae99
commit 222173adae
3 changed files with 127 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ require_once 'security/all_tests.php';
require_once 'template/all_tests.php';
require_once 'text_processing/all_tests.php';
require_once 'dbal/all_tests.php';
require_once 'regex/all_tests.php';
// exclude the test directory from code coverage reports
PHPUnit_Util_Filter::addDirectoryToFilter('./');
@@ -44,6 +45,7 @@ class phpbb_all_tests
$suite->addTest(phpbb_template_all_tests::suite());
$suite->addTest(phpbb_text_processing_all_tests::suite());
$suite->addTest(phpbb_dbal_all_tests::suite());
$suite->addTest(phpbb_regex_all_tests::suite());
return $suite;
}