summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search
AgeCommit message (Collapse)AuthorFilesLines
2011-05-17Bug 657542: Make the AND/OR tests for xt/search.t function properly andMax Kanat-Alexander5-94/+50
catch known-broken tests as it's supposed to. r=mkanat, a=mkanat (module owner)
2011-05-13Bug 656994: Test custom search more thoroughly in xt/search.t.Max Kanat-Alexander2-6/+135
r=mkanat, a=mkanat (module owner)
2011-05-13Bug 656790 - Create a basic framework for testing custom searchMax Kanat-Alexander2-0/+124
r=mkanat, a=mkanat (module owner)
2011-03-03Bug 240398: Make flagtypes.name work properly with all the boolean chartMax Kanat-Alexander2-84/+1
operators. r=mkanat, a=mkanat (module owner)
2011-03-03Bug 638555: Make the fields in the bugs table that can be NULL work with allMax Kanat-Alexander1-40/+14
the boolean chart operators r=mkanat, a=mkanat (module owner)
2011-03-03Bug 638518: Make all boolean chart operators work with attach_data.thedataMax Kanat-Alexander2-32/+1
r=mkanat, a=mkanat (module owner)
2011-03-03Bug 638509 - Make all boolean charts work with all attachment fields exceptMax Kanat-Alexander1-14/+0
for "Attachment data" r=mkanat, a=mkanat (module owner)
2011-03-03Bug 638489 - Make all boolean charts work with longdescs.isprivateMax Kanat-Alexander1-28/+8
r=mkanat, a=mkanat (module owner)
2011-03-02Bug 617641: Using any of the _realname columns in Search.pm all by themselvesMax Kanat-Alexander1-1/+13
wasn't working properly. r=mkanat, a=mkanat (module owner)
2011-03-01Bug 45862: Make searching comments behave sensibly for all boolean charts,Max Kanat-Alexander1-22/+1
including "nowordssubstr" and "notequals". r=mkanat, a=mkanat (module owner)
2011-03-01Bug 637662: Make all the boolean charts work as expected for the "blocks"Max Kanat-Alexander1-9/+0
and "dependson" fields. r=mkanat, a=mkanat (module owner)
2011-03-01Bug 637426: Fix every boolean chart operator type for the bug_group searchMax Kanat-Alexander1-34/+8
field in Search.pm. (This also makes OR searches work against the bug_group field.) r=mkanat, a=mkanat
2011-03-01Bug 616341: Make "tag" a valid search field in Search.pm, for the newMax Kanat-Alexander2-1/+6
tagging system r=mkanat, a=mkanat (module owner)
2011-03-01Bug 490322: Fix every single keywords, multi_select, and see_also field/operatorMax Kanat-Alexander2-45/+7
combination in Search.pm. r=mkanat, a=mkanat (module owner)
2011-02-11Bug 620827: Refactor remove see also to use remove_from_db instead.Tiago Mello1-2/+5
r/a=mkanat
2010-12-15Bug 619466: Make searching by work_time search the total time on the bugMax Kanat-Alexander2-56/+13
instead of searching the time on individual comments. r=mkanat, a=mkanat (module owner)
2010-11-03The patch that made Bugzilla::Bug use Bugzilla::Comment to add commentsMax Kanat-Alexander1-1/+2
fixed certain work_time tests in xt/search.t.
2010-10-07Bug 600495: Make the "chfieldto" query parameter work all by itself, again.Max Kanat-Alexander1-0/+7
r=mkanat, a=mkanat (module owner)
2010-10-07Fix the xt/search.t test to not have a testfail (orange) result on MySQL.Max Kanat-Alexander1-2/+2
(Just some missing "this test is OK" bits for longdescs.count injection tests.)
2010-10-05Bug 26074 - Ability to limit search by number of CommentsMax Kanat-Alexander3-2/+28
r=mkanat, a=mkanat (module owner)
2010-10-05Bug 601848: Fix percentage_complete searches for all operators on both MySQLMax Kanat-Alexander2-51/+56
and PostgreSQL r=mkanat, a=mkanat (module owner)
2010-10-04Bug 601519 - Test pronouns (like %user%, %reporter%, etc.) in xt/search.tMax Kanat-Alexander2-2/+33
r=mkanat, a=mkanat (module owner)
2010-10-03Bug 601513: In xt/search.t, assure that "---" continues to work for theMax Kanat-Alexander1-0/+3
resolution field r=mkanat, a=mkanat (module owner)
2010-10-03Bug 601499 - Make xt/search.t test the email(n)* search query parametersMax Kanat-Alexander2-1/+26
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601394 - Make xt/search.t test the deadlinefrom and deadline to searchMax Kanat-Alexander1-1/+8
query parameters r=mkanat, a=mkanat (module owner)
2010-10-02Change the way that the xt/search.t injection tests look for known brokenMax Kanat-Alexander1-3/+2
tests, so that the Pg tests properly understand that they can't test creation_ts changedafter or changedbefore, *ever*. https://bugzilla.mozilla.org/show_bug.cgi?id=600496
2010-10-02Bug 601383: Test the chfield* search query parameters in xt/search.t.Max Kanat-Alexander1-1/+15
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 600496: Make searching on [Bug creation] work again, by implementingMax Kanat-Alexander1-8/+4
creation_ts for the changedafter and changedbefore operators in Search.pm. r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601376: Test the __all__, __open__, and __closed__ arguments toMax Kanat-Alexander3-6/+30
bug_status in xt/search.t r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601364: Make search.t *actually* do the basic field=value testsMax Kanat-Alexander1-9/+6
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601364: Make xt/search.t also test the normal field=value search paramsMax Kanat-Alexander3-1/+63
r=mkanat, a=mkanat (module owner)
2010-07-22Bug 580208: Search.pm: Combine all the user search types into one searchMax Kanat-Alexander1-14/+3
function r=mkanat, a=mkanat (module owner)
2010-07-18Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin1-6/+0
r/a=mkanat
2010-07-18Bug 579695: Make xt/search.t do substring tests using a more consistentMax Kanat-Alexander2-11/+36
substring length, thus fixing an intermittent failure that would show up when searching the cf_multi_select field. r=mkanat, a=mkanat (module owner)
2010-07-18Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander1-13/+3
substring and "words" searches, improve the formatting of generated SQL, and use real subselects instead of performing the subselect and using its results in an IN. r=mkanat, a=mkanat (module owner)
2010-07-16Also add NotTest.pm for the xt/search.t NOT tests.Max Kanat-Alexander1-0/+75
https://bugzilla.mozilla.org/show_bug.cgi?id=579243
2010-07-16Bug 579243: Also test NOT (negated) charts in xt/search.tMax Kanat-Alexander3-6/+278
r=mkanat, a=mkanat (module owner)
2010-07-16Bug 398308: Make Search.pm take a hashref for its "params" argumentMax Kanat-Alexander4-84/+17
instead of taking a CGI object. r=mkanat, a=mkanat (module owner)
2010-07-15Bug 577800: Finish the cleanup of Search.pm's "init" function by removingMax Kanat-Alexander1-9/+6
it and having its work be done by a new "sql" accessor instead. Also adds some comments, moves functions around into sections, and creates a new _user accessor. r=mkanat, a=mkanat (module owner)
2010-07-15Bug 578888: Search.pm: Add and store joins as data structures instead ofMax Kanat-Alexander1-5/+0
raw SQL. r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578531: Move the chfield stuff out of init, and makeMax Kanat-Alexander1-12/+5
the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577538: Mark certain tests in xt/search.t as being broken only on PgMax Kanat-Alexander2-1/+32
(and a few as being not broken at all on Pg). r=mkanat, a=mkanat (module owner)
2010-07-09Pg and MySQL had inconsistent results for flagtypes.name greaterthan,Max Kanat-Alexander1-0/+1
so I changed the values to make them consistent. (I suspect the inconsistency is a bug in Pg itself that is not actually important to normal Bugzilla usage.)
2010-07-09Bug 577588: xt/seach.t was sometimes not properly translating specialMax Kanat-Alexander2-7/+26
<> values into the actual bug value, for searching r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577557: Make xt/search.t skip certain injection tests on PostgreSQL,Max Kanat-Alexander2-3/+36
because they make Pg throw an error and then be unable to run any further tests. It's OK to skip these tests because they still run on MySQL, so we'll still catch any injection vulns. r=mkanat, a=mkanat (module owner)
2010-07-08Update xt/search.t to test that anyexact trims properly.Max Kanat-Alexander1-1/+1
https://bugzilla.mozilla.org/show_bug.cgi?id=575021
2010-07-08Bug 574556: Refactor Search.pm so that we're not doing $$some_var everywhere.Max Kanat-Alexander1-91/+34
Instead, we pass around a hashref and update the hashref. This patch also includes some cleanup for bugs surrounding percentage_complete, attachments.isobsolete, attachments.ispatch, and owner_idle_time. r=mkanat, a=mkanat
2010-07-08Fix search.t now that negative keyword searches are working.Max Kanat-Alexander1-7/+5
https://bugzilla.mozilla.org/show_bug.cgi?id=562014
2010-07-08Bug 577388: The target milestone tests in xt/search.t were failing,Max Kanat-Alexander1-1/+1
incorrectly. r=mkanat, a=mkanat (module owner)
2010-07-07Bug 574879: Create a test that assures the correctness of Search.pm'sMax Kanat-Alexander7-0/+2078
boolean charts r=glob, a=mkanat