Closed
Bug 797913
Opened 13 years ago
Closed 12 years ago
ok() and is() seems to be broken
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox19 fixed, firefox20 fixed, b2g18 fixed)
RESOLVED
FIXED
mozilla20
People
(Reporter: mdas, Assigned: jgriffin)
Details
Attachments
(1 file)
882 bytes,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
a passing ok() or is(), the data reported is wrong: ok(true, "its true"); will report TEST-PASS true = false!
Reported by ddhal.
Assignee | ||
Comment 1•12 years ago
|
||
Currently, for the test:
ok(2 == 2, "test for ok()");
we output:
I/Gecko ( 109): MARIONETTE TEST RESULT:TEST-PASS | test_simpletest_pass.js | test for ok() - true was false, expected true
The "true was false, expected" true string is the "reason", which we should really only supply on failure for ok().
Assignee | ||
Comment 2•12 years ago
|
||
Actually, this is an easier fix, the above now shows this output:
I/Gecko ( 110): MARIONETTE TEST RESULT:TEST-PASS | test_simpletest_pass.js | test for ok() - true was true, expected true
Attachment #697287 -
Flags: review?(mdas)
Reporter | ||
Updated•12 years ago
|
Attachment #697287 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Assignee: nobody → jgriffin
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
Target Milestone: --- → mozilla20
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/f757cf6d96c3
https://hg.mozilla.org/releases/mozilla-b2g18/rev/3cabc9959cb9
status-b2g18:
--- → fixed
status-firefox19:
--- → fixed
status-firefox20:
--- → fixed
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•