summaryrefslogtreecommitdiff
path: root/rt/t/api/emailparser.t
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2010-12-27 00:04:45 +0000
committercvs2git <cvs2git>2010-12-27 00:04:45 +0000
commitc82d349f864e6bd9f96fd1156903bc1f7193a203 (patch)
treee117a87533656110b6acd56fc0ca64289892a9f5 /rt/t/api/emailparser.t
parent74e058c8a010ef6feb539248a550d0bb169c1e94 (diff)
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'rt/t/api/emailparser.t')
-rw-r--r--rt/t/api/emailparser.t19
1 files changed, 0 insertions, 19 deletions
diff --git a/rt/t/api/emailparser.t b/rt/t/api/emailparser.t
deleted file mode 100644
index 940c26fde..000000000
--- a/rt/t/api/emailparser.t
+++ /dev/null
@@ -1,19 +0,0 @@
-
-use strict;
-use warnings;
-
-use RT::Test tests => 4;
-
-RT->Config->Set( RTAddressRegexp => qr/^rt\@example.com$/i );
-
-
-ok(require RT::EmailParser);
-
-is(RT::EmailParser::IsRTAddress("","rt\@example.com"),1, "Regexp matched rt address" );
-is(RT::EmailParser::IsRTAddress("","frt\@example.com"),undef, "Regexp didn't match non-rt address" );
-
-my @before = ("rt\@example.com", "frt\@example.com");
-my @after = ("frt\@example.com");
-ok(eq_array(RT::EmailParser::CullRTAddresses("",@before),@after), "CullRTAddresses only culls RT addresses");
-
-1;