Closed
Bug 518101
Opened 15 years ago
Closed 15 years ago
Rename "waitFor" class to "waitForEvents"
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [mozmill-doc-needed][mozmill-1.2.2])
Attachments
(2 files)
(deleted),
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
Mikeal has added the waitFor class because he used it in bug 489474 to wait for events to occur. The name itself doesn't tell anything about this function and should be renamed to better reflect the feature behind it.
This patch renames the class and makes it accessible via waitForEvents.
Attachment #402072 -
Flags: review?(ctalbert)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [mozmill-doc-needed][mozmill-1.2.2?]
I don't see you changing any of the consumers of this API, so this patch looks incomplete. It looks like you are landing the tests in bug 489474 today...are you changing this API in those tests before landing?
Assignee | ||
Comment 3•15 years ago
|
||
No, the video test will not land today. I have some problems with current regressions and have to do some updates. So I will update those later. AFAIK those are the only tests which make use of the waitFor call. Do you know others?
Assignee | ||
Comment 4•15 years ago
|
||
Clint, ping?
Attachment #402072 -
Flags: review?(ctalbert) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Whiteboard: [mozmill-doc-needed][mozmill-1.2.2?] → [mozmill-doc-needed][mozmill-1.2.2]
Assignee | ||
Comment 7•15 years ago
|
||
With the landing of this patch we have a regression which makes this object unavailable.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•15 years ago
|
||
Changes in this patch which we definitely need for the next release:
* Changed usage to waitForEvents.init() and waitForEvents.wait()
* We should use an instance of waitForEvents as a member of MozMillController as we do for all the other functions. That's more consistent
* Throw a real error instead of a string when timeout happens
Attachment #404460 -
Flags: review?(ctalbert)
Assignee | ||
Updated•15 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 9•15 years ago
|
||
Comment on attachment 404460 [details] [diff] [review]
Follow-up
Send a pull request to Mikeal with http://github.com/whimboo/mozmill/commit/2c9cbfeecd76659156a7836b50b7e68b8e7570fb
Attachment #404460 -
Flags: review?(ctalbert)
Comment 10•15 years ago
|
||
merged to mikeal/master
Status: ASSIGNED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•15 years ago
|
||
Verified fixed based on changeset:
http://github.com/mikeal/mozmill/commit/2c9cbfeecd76659156a7836b50b7e68b8e7570fb
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•