Closed Bug 601364 Opened 14 years ago Closed 14 years ago

search.t should also test the basic standard search parameters

Categories

(Bugzilla :: Testing Suite, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(2 files)

Right now, we only test things via the boolean charts, but we should also make sure that the standard search parameters (and particularly the special ones, like chfield) continue to work exactly as they always have (or better).
Okay, I'm going to focus and limit this first bug to just testing the simple standard search parameters, the basic field=value ones.
Summary: search.t should also test the standard search parameters → search.t should also test the basic standard search parameters
Attached patch v1Splinter Review
Attachment #480393 - Flags: review+
Flags: approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/                       
modified xt/lib/Bugzilla/Test/Search.pm
modified xt/lib/Bugzilla/Test/Search/FieldTest.pm                              
added xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
modified xt/lib/Bugzilla/Test/Search/OperatorTest.pm
Committed revision 7498.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Oh, wait, there's a bug in this patch that is preventing it from actually doing the right thing.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 601370
Depends on: 601371
Attached patch FixSplinter Review
This fixes the search test to actually work. (The problem before was that it was re-using the existing search_params from $field_test.)
Attachment #480403 - Flags: review+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/                       
modified xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
Committed revision 7501.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: