aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-23 01:03:13 +0800
committerByron Jones <bjones@mozilla.com>2013-05-23 01:03:13 +0800
commit09d2727039b11774f1dbf790ad3ab737c4f7b300 (patch)
treeaa9473442411ccd14ec1a74ec3af03e4aaa50778
parentBug 828344: "contains all of the words" no longer looks for all words within ... (diff)
downloadbugzilla-09d2727039b11774f1dbf790ad3ab737c4f7b300.tar.gz
bugzilla-09d2727039b11774f1dbf790ad3ab737c4f7b300.tar.bz2
bugzilla-09d2727039b11774f1dbf790ad3ab737c4f7b300.zip
Bug 828344: add missing xt broken tests
-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] },
},