提交 28f8fb2f 编写于 作者: Q q00313334 提交者: 权力
上级 e7525bb9
...@@ -85,6 +85,7 @@ describe('ACTS_WifiTest', function () { ...@@ -85,6 +85,7 @@ describe('ACTS_WifiTest', function () {
console.info("[wifi_js]getCurrentGroup promise then error." + JSON.stringify(error)); console.info("[wifi_js]getCurrentGroup promise then error." + JSON.stringify(error));
expect().assertFail(); expect().assertFail();
}); });
done();
}) })
...@@ -93,7 +94,7 @@ describe('ACTS_WifiTest', function () { ...@@ -93,7 +94,7 @@ describe('ACTS_WifiTest', function () {
* @tc.name SUB_Communication_WiFi_P2P_Config_0002 * @tc.name SUB_Communication_WiFi_P2P_Config_0002
* @tc.desc Test getCurrentGroup callback infos * @tc.desc Test getCurrentGroup callback infos
*/ */
it('SUB_Communication_WiFi_P2P_Config_0001', 0, async function(done) { it('SUB_Communication_WiFi_P2P_Config_0002', 0, async function(done) {
await tryToEnableWifi(); await tryToEnableWifi();
var WifiP2PConfig = { var WifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00", deviceAddress : "00:00:00:00:00:00",
......
...@@ -806,11 +806,8 @@ describe('ACTS_WifiTest', function() { ...@@ -806,11 +806,8 @@ describe('ACTS_WifiTest', function() {
+ result.frequency +"snr:" + result.snr+ + result.frequency +"snr:" + result.snr+
"macAddress: " + result.macAddress + "ipAddress: " + result.ipAddress + "macAddress: " + result.macAddress + "ipAddress: " + result.ipAddress +
"suppState: " + result.suppState + "connState: " + result.connState); "suppState: " + result.suppState + "connState: " + result.connState);
expect(true).assertEqual(result.connState==ConnState.CONNECTING);
expect(false).assertEqual(result.suppState==suppState.DISCONNECTED);
done(); done();
}); });
await sleep(2000);
}) })
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册