提交 615f81b7 编写于 作者: L lihao

add new case

Signed-off-by: Nlihao <lihao334@huawei.com>
上级 124b2aba
......@@ -202,5 +202,14 @@ describe("ActsCellularDataAbnormalTest", function () {
done();
}
})
it("Telephony_CellularData_getDefaultCellularDataSlotIdSync_0100", 0, async function (done) {
let data = cellular.getDefaultCellularDataSlotIdSync();
console.info("Telephony_CellularData_getDefaultCellularDataSlotIdSync_0100 " + JSON.stringify(data));
expect(data == 0 || data == 1).assertTrue;
done();
});
})
}
......@@ -157,6 +157,12 @@ export default function Telephony_NETMANAGER_TestDNSTest() {
})
})
});
it('Telephony_NETMANAGER_TestDNS_Test0900', 0, function(done){
let netHandle = netConnection.getDefaultNetSync();
console.info("Telephony_NETMANAGER_TestDNS_Test0900 " + JSON.stringify(netHandle));
expect(netHandle.netId).assertEqual(100);
done();
});
});
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册