Bug 828307 - Part 4: xpcshell tests change. r=vyang

This commit is contained in:
Edgar Chen 2013-02-25 15:06:00 +08:00
parent 24285c5eb0
commit db067cca75

View File

@ -554,8 +554,8 @@ add_test(function test_write_location_info_tlv() {
// Test with 2-digit mnc, and gsmCellId obtained from UMTS network. // Test with 2-digit mnc, and gsmCellId obtained from UMTS network.
let loc = { let loc = {
mcc: 466, mcc: "466",
mnc: 92, mnc: "92",
gsmLocationAreaCode : 10291, gsmLocationAreaCode : 10291,
gsmCellId: 19072823 gsmCellId: 19072823
}; };
@ -582,8 +582,8 @@ add_test(function test_write_location_info_tlv() {
// Test with 1-digit mnc, and gsmCellId obtained from GSM network. // Test with 1-digit mnc, and gsmCellId obtained from GSM network.
loc = { loc = {
mcc: 466, mcc: "466",
mnc: 2, mnc: "02",
gsmLocationAreaCode : 10291, gsmLocationAreaCode : 10291,
gsmCellId: 65534 gsmCellId: 65534
}; };
@ -607,8 +607,8 @@ add_test(function test_write_location_info_tlv() {
// Test with 3-digit mnc, and gsmCellId obtained from GSM network. // Test with 3-digit mnc, and gsmCellId obtained from GSM network.
loc = { loc = {
mcc: 466, mcc: "466",
mnc: 222, mnc: "222",
gsmLocationAreaCode : 10291, gsmLocationAreaCode : 10291,
gsmCellId: 65534 gsmCellId: 65534
}; };
@ -1538,8 +1538,8 @@ add_test(function test_stk_event_download_location_status() {
eventType: STK_EVENT_TYPE_LOCATION_STATUS, eventType: STK_EVENT_TYPE_LOCATION_STATUS,
locationStatus: STK_SERVICE_STATE_NORMAL, locationStatus: STK_SERVICE_STATE_NORMAL,
locationInfo: { locationInfo: {
mcc: 123, mcc: "123",
mnc: 456, mnc: "456",
gsmLocationAreaCode: 0, gsmLocationAreaCode: 0,
gsmCellId: 0 gsmCellId: 0
} }