[otrs-cvs] otrs/scripts/test/ProcessManagement/DB/Process ProcessDump.t, 1.6, 1.7
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test/ProcessManagement/DB/Process
In directory lancelot:/tmp/cvs-serv9986/scripts/test/ProcessManagement/DB/Process
Modified Files:
ProcessDump.t
Log Message:
Removed use of Precompiled Regexp.
Author: cr
Index: ProcessDump.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/ProcessManagement/DB/Process/ProcessDump.t,v
retrieving revision 1.6
retrieving revision 1.7
diff -2 -u -d -r1.6 -r1.7
--- ProcessDump.t 11 Jan 2013 04:40:55 -0000 1.6
+++ ProcessDump.t 11 Jan 2013 16:01:24 -0000 1.7
@@ -217,5 +217,5 @@
DynamicField_Regex2 => {
Type => 'Regexp',
- Match => qr{.*}msx,
+ Match => '.*',
},
DynamicField_String => {
@@ -229,26 +229,4 @@
DynamicField_PeugeotModell => ['1'],
},
- Cond3 => {
- Type => 'and',
- Fields => {
- DynamicField_Marke => {
- Type => 'String',
- Match => 'Teststring',
- },
- DynamicField_VWModell => ['1'],
- DynamicField_Regex => {
- Type => 'Regexp',
- Match => '.*',
- },
- DynamicField_Regex2 => {
- Type => 'Regexp',
- Match => qr{.*}msx,
- },
- DynamicField_String => {
- Type => 'String',
- Match => 'Teststring',
- },
- },
- },
},
},
@@ -298,9 +276,9 @@
DynamicField_Regex => {
Type => 'Regexp',
- Match => '(?msx-i:My[ ]Regexp)',
+ Match => 'My[ ]Regexp',
},
DynamicField_Regex2 => {
Type => 'Regexp',
- Match => qr{.*}msx,
+ Match => '.*',
},
DynamicField_String => {
@@ -314,26 +292,4 @@
DynamicField_PeugeotModell => ['1'],
},
- Cond3 => {
- Type => 'and',
- Fields => {
- DynamicField_Marke => {
- Type => 'String',
- Match => 'Teststring',
- },
- DynamicField_VWModell => ['1'],
- DynamicField_Regex => {
- Type => 'Regexp',
- Match => '(?msx-i:.*)',
- },
- DynamicField_Regex2 => {
- Type => 'Regexp',
- Match => qr{.*}msx,
- },
- DynamicField_String => {
- Type => 'String',
- Match => 'Teststring',
- },
- },
- },
},
},
@@ -342,7 +298,6 @@
# actual tests
my $ConfigHash = $ProcessObject->ProcessDump(
- ResultType => 'HASH',
- QuoteRegexp => 1,
- UserID => 1,
+ ResultType => 'HASH',
+ UserID => 1,
);
@@ -363,8 +318,5 @@
);
-my $Output = $ProcessObject->ProcessDump(
- QuoteRegexp => 1,
- UserID => $UserID,
-);
+my $Output = $ProcessObject->ProcessDump( UserID => $UserID );
$Self->IsNot(
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log