Closed Bug 993817 Opened 11 years ago Closed 8 years ago

Rewrite mobilemessage marionette test cases with Promise

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED INCOMPLETE
blocking-b2g -

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

(Whiteboard: [leave open])

Attachments

(1 file, 2 obsolete files)

+++ This bug was initially created as a clone of Bug #979134 +++

Let's reuse http://dxr.mozilla.org/mozilla-central/source/dom/mobilemessage/tests/marionette/head.js whenever possible.
Put this bug into backlog.
blocking-b2g: --- → backlog
Assignee: nobody → vyang
Whiteboard: [leave open]
Target Milestone: --- → 2.0 S5 (4july)
Attached patch patch (obsolete) (deleted) — Splinter Review
1) Fix:
* test_emulator_loopback.js
* test_filter_date.js
* test_getmessage.js
* test_getmessage_notfound.js
* test_getmessages.js
* test_incoming.js
* test_outgoing.js
2) merge test_filter_date_notfound.js into test_filter_date.js
3) merge test_incoming_multipart.js into test_incoming.js

Not _all_ SMS test cases are converted, just some done works so far.
Attachment #8444301 - Flags: review?(gene.lian)
Comment on attachment 8444301 [details] [diff] [review]
patch

Review of attachment 8444301 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/mobilemessage/tests/marionette/test_getmessage_notfound.js
@@ +17,5 @@
> +      let error = aEvent.target.error;
> +      ok(error, "DOMError");
> +      is(error.name, "NotFoundError", "error.name");
> +    });
> +}  

nit: trailing spaces.
Attachment #8444301 - Flags: review?(gene.lian) → review+
Attached patch patch : v2 (obsolete) (deleted) — Splinter Review
Address previous nit only.
Attachment #8444301 - Attachment is obsolete: true
Attachment #8444992 - Flags: review+
Attached patch patch : v3 (deleted) — Splinter Review
Document pushPrefEnv() only.
Attachment #8445051 - Flags: review+
https://hg.mozilla.org/integration/b2g-inbound/rev/be39010d4f5e
Whiteboard: [leave open]
Attachment #8444992 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/be39010d4f5e
Target Milestone: 2.0 S5 (4july) → ---
blocking-b2g: backlog → -
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: