summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-05-23 05:19:49 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-05-23 05:19:49 +0200
commitb839716142789f33ed539a8438e6000a359f8751 (patch)
treec10d32ebd43d77687a33c4926d988ff11787efa0 /xt/lib/Bugzilla/Test/Search
parent00807eb9887fac9ec662e832705e887c6bada780 (diff)
parent6e53f77df7e055797ef587f349e3c35fdd82718c (diff)
downloadbugzilla-b839716142789f33ed539a8438e6000a359f8751.tar.gz
bugzilla-b839716142789f33ed539a8438e6000a359f8751.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search')
-rw-r--r--xt/lib/Bugzilla/Test/Search/Constants.pm25
1 files changed, 23 insertions, 2 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm
index 051570ff8..85547df46 100644
--- a/xt/lib/Bugzilla/Test/Search/Constants.pm
+++ b/xt/lib/Bugzilla/Test/Search/Constants.pm
@@ -263,6 +263,15 @@ use constant KNOWN_BROKEN => {
'allwords-<1>' => {
ALLWORDS_BROKEN,
},
+ 'anywords-<1>' => {
+ 'flagtypes.name' => { contains => [1,2,3,4,5] },
+ },
+ 'anywords-<1> <2>' => {
+ 'flagtypes.name' => { contains => [3,4,5] },
+ },
+ 'anywordssubstr-<1> <2>' => {
+ 'flagtypes.name' => { contains => [3,4,5] },
+ },
# setters.login_name and requestees.login name aren't tracked individually
# in bugs_activity, so can't be searched using this method.
@@ -401,12 +410,18 @@ use constant BROKEN_NOT => {
anyexact => {
'flagtypes.name' => { contains => [1, 2, 5] },
},
- anywords => {
- 'flagtypes.name' => { contains => [1, 2, 5] },
+ 'anywords-<1>' => {
+ 'flagtypes.name' => { contains => [1, 2, 3, 4, 5] },
+ },
+ 'anywords-<1> <2>' => {
+ 'flagtypes.name' => { contains => [3, 4, 5] },
},
anywordssubstr => {
'flagtypes.name' => { contains => [5] },
},
+ 'anywordssubstr-<1> <2>' => {
+ 'flagtypes.name' => { contains => [3,4,5] },
+ },
casesubstring => {
'flagtypes.name' => { contains => [5] },
},
@@ -462,6 +477,12 @@ use constant BROKEN_NOT => {
notsubstring => {
longdesc => { contains => [1] },
},
+ 'nowords-<1>' => {
+ 'flagtypes.name' => { contains => [5] },
+ },
+ 'nowordssubstr-<1>' => {
+ 'flagtypes.name' => { contains => [5] },
+ },
lessthan => {
'flagtypes.name' => { contains => [5] },
},