Bug 821605 - Adding marionette test for SPDI. r=vicamo
authorPatrick Wang <kk1fff@patrickz.net>
Fri, 14 Dec 2012 16:08:07 +0800
changeset 121894 585a5af3a0a54f14705026ed5008fe8d8e9e336a
parent 121893 97061a5509355424f622279a0d4464a01bf77780
child 121895 fd10dfc5f83404132fac2614f472504de60478eb
push idunknown
push userunknown
push dateunknown
reviewersvicamo
bugs821605
milestone20.0a1
Bug 821605 - Adding marionette test for SPDI. r=vicamo
dom/network/tests/marionette/test_mobile_iccinfo.js
--- a/dom/network/tests/marionette/test_mobile_iccinfo.js
+++ b/dom/network/tests/marionette/test_mobile_iccinfo.js
@@ -73,10 +73,14 @@ function testSPN(mcc, mnc, expectedIsDis
        expectedIsDisplaySpnRequired);
     window.setTimeout(callback, 0);
   });
   setEmulatorMccMnc(mcc, mnc);
 }
 
 testDisplayConditionChange(testSPN, [
   [123, 456, false, true], // Not in HPLMN.
-  [310, 260, true, true], // inside HPLMN.
+  [234, 136,  true, true], // Not in HPLMN, but in PLMN specified in SPDI.
+  [123, 456, false, true], // Not in HPLMN. Triggering iccinfochange
+  [466,  92,  true, true], // Not in HPLMN, but in another PLMN specified in SPDI.
+  [123, 456, false, true], // Not in HPLMN. Triggering iccinfochange
+  [310, 260,  true, true], // inside HPLMN.
 ], finalize);