Closed
Bug 928566
Opened 11 years ago
Closed 11 years ago
Use more descriptive parameter names in robocop assertion methods
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: mcomella, Assigned: mcomella)
Details
Attachments
(1 file)
7.71 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
The Assert class [1] has assertions such as: void is(Object a, Object b, String name); However, in the test output, one of 'a' and 'b' is the expected value and the other is the actual value - they are not interchangeable. This is ambiguous and causes bugs such as bug 928564. Similarly, Assert's implementations, FennecTalosAssert and FennecMochitestAssert should be corrected. [1]: https://mxr.mozilla.org/mozilla-central/source/build/mobile/robocop/Assert.java.in
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8344907 -
Flags: review?(gbrown)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Updated•11 years ago
|
Attachment #8344907 -
Flags: review?(gbrown) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/a0b73fde685b
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a0b73fde685b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•