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

[ticket/9626] Adding tests for the IPv4 regular expression.

PHPBB3-9626
This commit is contained in:
Andreas Fischer
2010-04-09 00:54:19 +02:00
parent 222173adae
commit 1c59f3dbd0
2 changed files with 74 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ if (!defined('PHPUnit_MAIN_METHOD'))
require_once 'test_framework/framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'regex/ipv4.php';
require_once 'regex/ipv6.php';
class phpbb_regex_all_tests
@@ -28,6 +29,7 @@ class phpbb_regex_all_tests
{
$suite = new PHPUnit_Framework_TestSuite('phpBB Regular Expressions');
$suite->addTestSuite('phpbb_ipv4_test');
$suite->addTestSuite('phpbb_ipv6_test');
return $suite;