提交 2413e4d5 编写于 作者: G gaoxi785

wifi

Signed-off-by: Ngaoxi785 <gaoxi785@huawei.com>
上级 e781d6b9
......@@ -54,7 +54,6 @@ describe("Telephony_NetManager_NetWorkTest", function () {
console.info("NetManager subscribe "+JSON.stringify(data));
expect(data.type === "WiFi").assertTrue();
expect(data.metered === false).assertTrue();
done();
},
fail : function(data,code){
expect().assertFail();
......@@ -64,6 +63,7 @@ describe("Telephony_NetManager_NetWorkTest", function () {
setTimeout(()=>{
network.unsubscribe();
console.info("async function unsubscribe end");
done();
},100);
});
......@@ -103,7 +103,6 @@ describe("Telephony_NetManager_NetWorkTest", function () {
console.info("NetManager subscribe 1 "+JSON.stringify(data));
expect(data.type === "WiFi").assertTrue();
expect(data.metered === false).assertTrue();
done();
},
fail : function(data,code){
expect().assertFail();
......@@ -113,6 +112,7 @@ describe("Telephony_NetManager_NetWorkTest", function () {
setTimeout(()=>{
network.unsubscribe();
console.info("async function unsubscribe end");
done();
},100);
});
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册