Closed
Bug 607005
Opened 14 years ago
Closed 7 years ago
xpcshell-tests: test_bug_401430.js should report an actual check
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: sgautherie, Unassigned, Mentored)
References
()
Details
(Keywords: regression, Whiteboard: [good first bug][language=js])
Bug 450807 "replaced" a do_check_true() with a print(). Now the test logs "TEST-INFO | (xpcshell/head.js) | No (+ 0) checks actually run". A do_check_true(true) should be added, or even replace the print()...
Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug]
Comment 1•11 years ago
|
||
Serge, I looked around in the unit test files but didn't see this in test_bug_401430.js or any nearby files. But maybe I'm missing something. Would you mind double checking to make sure this bug is still valid? Thanks!
Flags: needinfo?(sgautherie.bz)
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Liz Henry :lizzard from comment #1) Code change was: http://hg.mozilla.org/mozilla-central/rev/23d4e625a481 {{ 1.22 - do_check_true(checkRecentDocsFor(resultFileName)); 1.38 + print("Document found in RecentDocs"); }} Iirc, the detailed test log should be in test_bug_401430.log (and/or the console) after running this test. I had a quick glance at the current test code and I assume this bug is still (fully) valid.
Severity: trivial → minor
Flags: needinfo?(sgautherie.bz)
Whiteboard: [good first bug] → [good first bug][mentor=sgautherie][language=js]
Assignee | ||
Updated•10 years ago
|
Mentor: bugzillamozillaorg_serge_20140323
Whiteboard: [good first bug][mentor=sgautherie][language=js] → [good first bug][language=js]
Comment 3•8 years ago
|
||
I ran "./mach xpcshell-test" in my local mozilla-central directory and I see the output: 13:51.65 LOG: Thread-5601 INFO (xpcshell/head.js) | test MAIN run_test pending (1) 13:51.65 LOG: Thread-5601 INFO (xpcshell/head.js) | test pending (2) 13:51.65 LOG: Thread-5601 INFO (xpcshell/head.js) | test MAIN run_test finished (2) I don't see the output specified in the description. So does this bug still exist or did I run the test incorrectly?
Flags: needinfo?(bugzillamozillaorg_serge_20140323)
Comment 4•7 years ago
|
||
The test was removed in bug 1253585, so this bug no longer applies.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(bugzillamozillaorg_serge_20140323)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•