summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search/OperatorTest.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-16 08:26:06 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-16 08:26:06 +0200
commit2bd4ef390187c2d793d1167df4bc2424a3c66d80 (patch)
treeac6459ebf19c711445b511f26e8dfda49f5dfb71 /xt/lib/Bugzilla/Test/Search/OperatorTest.pm
parentdbaf1c3aaf975ed78d8e8538b2df18ab9f47654b (diff)
downloadbugzilla-2bd4ef390187c2d793d1167df4bc2424a3c66d80.tar.gz
bugzilla-2bd4ef390187c2d793d1167df4bc2424a3c66d80.tar.xz
Bug 579243: Also test NOT (negated) charts in xt/search.t
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search/OperatorTest.pm')
-rw-r--r--xt/lib/Bugzilla/Test/Search/OperatorTest.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/OperatorTest.pm b/xt/lib/Bugzilla/Test/Search/OperatorTest.pm
index 6291fbac1..5ebba00c4 100644
--- a/xt/lib/Bugzilla/Test/Search/OperatorTest.pm
+++ b/xt/lib/Bugzilla/Test/Search/OperatorTest.pm
@@ -30,6 +30,7 @@ use Bugzilla::Test::Search::FieldTest;
use Bugzilla::Test::Search::InjectionTest;
use Bugzilla::Test::Search::OrTest;
use Bugzilla::Test::Search::AndTest;
+use Bugzilla::Test::Search::NotTest;
###############
# Constructor #
@@ -63,6 +64,8 @@ sub run {
my $field_test =
new Bugzilla::Test::Search::FieldTest($self, $field, $test);
$field_test->run();
+ my $not_test = new Bugzilla::Test::Search::NotTest($field_test);
+ $not_test->run();
next if !$self->search_test->option('long');