Closed Bug 1446732 Opened 8 years ago Closed 8 years ago

Assert not called when using @AssertCalled(count = 0)

Categories

(GeckoView :: General, defect, P3)

All
Android
defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: jchen, Assigned: jchen)

Details

Attachments

(2 files)

Currently "count = 0" means any number greater than 0, but it's more intuitive for @AssertCalled(count = 0) to be a synonym of @AssertCalled(false)
Priority: -- → P3
Attachment #8959945 - Flags: review?(snorp) → review+
Comment on attachment 8959946 [details] Bug 1446732 - 2. Make @AssertCalled(count = 0) more intuitive; https://reviewboard.mozilla.org/r/228718/#review235186
Attachment #8959946 - Flags: review?(snorp) → review+
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ca29ae04950 1. Add more test rule testcases; r=snorp https://hg.mozilla.org/integration/autoland/rev/9d09b3ce2dc3 2. Make @AssertCalled(count = 0) more intuitive; r=snorp
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 61 → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: