Closed Bug 475565 Opened 17 years ago Closed 16 years ago

Make our unit tests pass

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: clouserw, Assigned: jbalogh)

References

Details

Attachments

(2 files)

One of AMO's strengths is all of it's unit tests, but a good portion of them are either out of date or don't run due to memory/configuration issues. We should fix that.
* Matching up comment text and test descriptions. * Removing Flock from setupValidateTargetApplications. According to the test db, we don't support Flock as a valid target. * validateTargetApplication and validateManifestData return an error string instead of dumping it in the Error controller, so we need to capture the return value for testing. * we use XML style closing brackets.
Attachment #359083 - Flags: review?(clouserw)
* Deleting xfailAddonIcon. The existing testAddonIcon function does the same thing. * Updating the timestamps of the images. * Checking for the correct mimetype (matches the test data). With these two patches, all tests in the Developers and Components groups work. :)
Comment on attachment 359083 [details] [diff] [review] Fixes developers.test.php kickass, please commit
Attachment #359083 - Flags: review?(clouserw) → review+
Depends on: 475980
Depends on: 475994
Depends on: 475995
Depends on: 475996
Depends on: 476533
Depends on: 478963
Depends on: 478964
Depends on: 478965
Depends on: 480139
Depends on: 487696
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: