[otrs-cvs] otrs/scripts/test/ProcessManagement Transition.t, 1.4, 1.5
"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
In directory lancelot:/tmp/cvs-serv19857/scripts/test/ProcessManagement
Modified Files:
Transition.t
Log Message:
Added invalid plain text Regexp test.
Author: cr
Index: Transition.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/ProcessManagement/Transition.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -2 -u -d -r1.4 -r1.5
--- Transition.t 11 Jan 2013 17:29:15 -0000 1.4
+++ Transition.t 11 Jan 2013 18:16:10 -0000 1.5
@@ -990,4 +990,44 @@
},
+ # Check: Regexp test for fail (with plain text invalid Regexp)
+ {
+ Check => {
+ Config => {
+ 'T2' . $RandomID => {
+ Name => 'Transition 2 optional',
+ Condition => {
+ Type => 'and',
+ Cond1 => {
+ Fields => {
+ Queue => ['Raw'],
+ },
+ },
+ Cond2 => {
+ Fields => {
+ DynamicField_Make => {
+ Type => 'Regexp',
+ Match => '^(#)?([\w-\*]+))',
+ },
+ },
+ },
+ Cond3 => {
+ Fields => {
+ DynamicField_VWModel => ['2'],
+ },
+ },
+ },
+ },
+ },
+ Data => {
+ Queue => ['Raw'],
+ DynamicField_Make => 'oVoWo',
+ DynamicField_VWModel => ['2'],
+ },
+ TransitionEntityID => 'T2' . $RandomID,
+ Message => 'TransitionCheck() (Regexp fail check with plain text invalid Regexp)',
+ TestType => 'False',
+ },
+ },
+
# Check: Module test for true
{
---------------------------------------------------------------------
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