1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/9626] A few tests for the email regular expression.

PHPBB3-9626
This commit is contained in:
Andreas Fischer
2010-04-14 02:27:07 +02:00
parent 12e92fc45e
commit 6a5ad05d8a
2 changed files with 80 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/email.php';
require_once 'regex/ipv4.php';
require_once 'regex/ipv6.php';
@@ -29,6 +30,7 @@ class phpbb_regex_all_tests
{
$suite = new PHPUnit_Framework_TestSuite('phpBB Regular Expressions');
$suite->addTestSuite('phpbb_email_test');
$suite->addTestSuite('phpbb_ipv4_test');
$suite->addTestSuite('phpbb_ipv6_test');