Revision: 2527
Author: jprantan
Date: Wed Feb 24 06:02:57 2010
Log: Added tests for including and excluding NOT. Issue 472.
http://code.google.com/p/robotframework/source/detail?r=2527
Modified:
/trunk/atest/robot/tags/filter_by_tags.txt
/trunk/atest/robot/tags/filter_by_tags_with_rebot.txt
=======================================
--- /trunk/atest/robot/tags/filter_by_tags.txt Tue Feb 23 23:00:36 2010
+++ /trunk/atest/robot/tags/filter_by_tags.txt Wed Feb 24 06:02:57 2010
@@ -53,6 +53,15 @@
[Documentation] Include and exclude together with and without
patterns and ANDing
Run And Check Include and Exclude -i force --exclude excl2
@{INCL_ALL} Excl-1
Run And Check Include and Exclude --include STARcl2 -i nonex -e e???2
-i forceANDi*1 @{INCL_ALL}
+
+Include with NOT
+ Run And Check include and Exclude --include incl1NOTincl3 Incl-1
Incl-12
+
+Exclude with NOT
+ Run And Check include and Exclude --exclude excl1NOTexcl2ANDexcl3
Excl-123 @{INCL_ALL}
+
+Include and Exclude with NOT
+ Run And Check include and Exclude --include incl1NOTincl3 --exclude
incl1NOTincl2 Incl-12
Non Matching Include
Run And Check Error --include nonex includes 'nonex'
=======================================
--- /trunk/atest/robot/tags/filter_by_tags_with_rebot.txt Tue Feb 23
23:00:36 2010
+++ /trunk/atest/robot/tags/filter_by_tags_with_rebot.txt Wed Feb 24
06:02:57 2010
@@ -59,6 +59,15 @@
[Documentation] Include and exclude together with and without
patterns and ANDing
Run And Check Include and Exclude -i force --exclude excl2
@{INCL_ALL} Excl-1
Run And Check Include and Exclude --include STARcl2 -i nonex -e e???2
-i forceANDi*1 @{INCL_ALL}
+
+Include with NOT
+ Run And Check include and Exclude --include incl1NOTincl3 Incl-1
Incl-12
+
+Exclude with NOT
+ Run And Check include and Exclude --exclude excl1NOTexcl2ANDexcl3
Excl-123 @{INCL_ALL}
+
+Include and Exclude with NOT
+ Run And Check include and Exclude --include incl1NOTincl3 --exclude
incl1NOTincl2 Incl-12
Non Matching Include
Run And Check Error --include nonex includes 'nonex'