Closed
Bug 843455
Opened 12 years ago
Closed 11 years ago
B2G STK: Import scripts for marionette tests
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allstars.chh, Assigned: gwang)
References
Details
Attachments
(1 file, 3 obsolete files)
33.40 KB,
patch
|
Details | Diff | Splinter Review |
In Bug 797296 we add many test case for STK marionete tests,
however there are many code duplicated so once Bug 805838 is landed we'd use import script to avoid the duplicated code.
Updated•11 years ago
|
Component: DOM: Device Interfaces → RIL
Product: Core → Boot2Gecko
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gwang
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Update attachment for the missing file.
try: https://tbpl.mozilla.org/?tree=Try&rev=f90c1d3a3c41
Attachment #822183 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #823220 -
Flags: review?(allstars.chh)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 823220 [details] [diff] [review]
B2G STK Import scripts for marionette tests. v1
Review of attachment 823220 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/icc/tests/marionette/test_stk_display_text.js
@@ +1,4 @@
> /* Any copyright is dedicated to the Public Domain.
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +MARIONETTE_HEAD_JS = 'stk_helper.js';
nit, we use double quotes '"' here.
Same for other files.
::: dom/icc/tests/marionette/test_stk_get_input.js
@@ +169,5 @@
> maxLength: 10}},
> ];
>
> // TODO - Bug 843455: Import scripts for marionette tests.
> +/*
??
@@ +204,5 @@
>
> SpecialPowers.removePermission("mobileconnection", document);
> finish();
> }
> +*/
??
::: dom/icc/tests/marionette/test_stk_proactive_command.js
@@ +1,5 @@
> /* Any copyright is dedicated to the Public Domain.
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +MARIONETTE_HEAD_JS = 'stk_helper.js';
> +/*
??
@@ +8,5 @@
> SpecialPowers.addPermission("mobileconnection", true, document);
>
> let icc = navigator.mozIccManager;
> ok(icc instanceof MozIccManager, "icc is instanceof " + icc.constructor);
> +*/
??
@@ +109,5 @@
> func: testTimerManagementDeactivate},
> {command: "d00c810301270282028182a40108",
> func: testTimerManagementGetCurrentValue},
> ];
> +/*
??
@@ +144,5 @@
>
> SpecialPowers.removePermission("mobileconnection", document);
> finish();
> }
> +*/
??
Attachment #823220 -
Flags: review?(allstars.chh) → review-
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #823220 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #823789 -
Flags: review?(allstars.chh)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 823789 [details] [diff] [review]
B2G STK Import scripts for marionette tests. v2
Review of attachment 823789 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/icc/tests/marionette/stk_helper.js
@@ +33,5 @@
> + return;
> + }
> +
> + let command = "stk pdu " + test.command;
> + sendStkPduToEmulator(command, test.func, test.expect)
missing ; at the end.
Attachment #823789 -
Flags: review?(allstars.chh) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Add ;
(after sendStkPduToEmulator(command, test.func, test.expect);)
Attachment #823789 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 7•11 years ago
|
||
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•