Bug 945089 - Part 2: Revice deprecated test cases. r=vyang
authorBevis Tseng <btseng@mozilla.com>
Wed, 05 Mar 2014 16:47:37 +0800
changeset 192118 7989daec63cf91c007818251b2a3574942ee37e2
parent 192117 fcdeb2d43ce2469af64f575b383d93ccd52d00c1
child 192119 edb2d87a71fb0dac3dfd7990aede3e0806201ba7
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvyang
bugs945089
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 945089 - Part 2: Revice deprecated test cases. r=vyang
dom/system/gonk/tests/test_ril_worker_icc.js
dom/system/gonk/tests/test_ril_worker_sms_cdma.js
--- a/dom/system/gonk/tests/test_ril_worker_icc.js
+++ b/dom/system/gonk/tests/test_ril_worker_icc.js
@@ -2974,17 +2974,17 @@ add_test(function test_read_new_sms_on_s
   function do_test() {
     worker.onRILMessage(0, newSmsOnSimParcel());
 
     let postedMessage = workerHelper.postedMessage;
 
     do_check_eq("sms-received", postedMessage.rilMessageType);
     do_check_eq("+0123456789", postedMessage.SMSC);
     do_check_eq("+9876543210", postedMessage.sender);
-    do_check_eq("How are you?", postedMessage.fullBody);
+    do_check_eq("How are you?", postedMessage.body);
   }
 
   do_test();
 
   run_next_test();
 });
 
 // Test ICC_COMMAND_GET_RESPONSE with FCP template format.
--- a/dom/system/gonk/tests/test_ril_worker_sms_cdma.js
+++ b/dom/system/gonk/tests/test_ril_worker_sms_cdma.js
@@ -302,23 +302,16 @@ add_test(function test_processCdmaSmsWap
 
     do_print("fullDataHexString: " + fullDataHexString);
 
     do_check_eq("sms-received", postedMessage.rilMessageType);
     do_check_eq(PDU_CDMA_MSG_TELESERIVCIE_ID_WAP, postedMessage.teleservice);
     do_check_eq(orig_address, postedMessage.sender);
     do_check_eq(0x23F0, postedMessage.header.originatorPort);
     do_check_eq(0x0B84, postedMessage.header.destinationPort);
-    do_check_eq(fullDataHexString, bytesToHexString(postedMessage.fullData));
+    do_check_eq(fullDataHexString, bytesToHexString(postedMessage.data));
   }
 
   // Verify Single WAP PDU
   test_CdmaSmsWapPdu(["000102030405060708090A0B0C0D0E0F"]);
 
-  // Verify Concatenated WAP PDUs
-  test_CdmaSmsWapPdu(["000102030405060708090A0B0C0D0E0F", "0F0E0D0C0B0A09080706050403020100"]);
-
-  // Verify Concatenated WAP PDUs received in reversed order.
-  // Note: the port information is only available in 1st segment in CDMA WAP Push.
-  test_CdmaSmsWapPdu(["000102030405060708090A0B0C0D0E0F", "0F0E0D0C0B0A09080706050403020100"], true);
-
   run_next_test();
 });