summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-22 19:03:13 +0200
committerByron Jones <bjones@mozilla.com>2013-05-22 19:03:13 +0200
commit09d2727039b11774f1dbf790ad3ab737c4f7b300 (patch)
treeaa9473442411ccd14ec1a74ec3af03e4aaa50778 /xt/lib/Bugzilla/Test/Search
parent0b1e410c81430711a602adc56e4fc7667d1c841e (diff)
downloadbugzilla-09d2727039b11774f1dbf790ad3ab737c4f7b300.tar.gz
bugzilla-09d2727039b11774f1dbf790ad3ab737c4f7b300.tar.xz
Bug 828344: add missing xt broken tests
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] },
},