提交 0711a9b1 编写于 作者: Q quanli

quanli1@huawei.com

Signed-off-by: Nquanli <quanli1@huawei.com>
上级 ae003b59
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
*/ */
//require('./WifiSta.test.js') //require('./WifiSta.test.js')
//require('./WifiSoftAP.test.js') //require('./WifiSoftAP.test.js')
import ACTS_WifiTest from './WifiP2P.test.js' import ActsWifiTest from './WifiP2P.test.js'
export default function testsuite() { export default function testsuite() {
ACTS_WifiTest() ActsWifiTest()
} }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium'
import wifi from '@ohos.wifi' import wifi from '@ohos.wifi'
...@@ -33,8 +33,8 @@ let GroupOwnerBand = { ...@@ -33,8 +33,8 @@ let GroupOwnerBand = {
GO_BAND_2GHZ : 1, GO_BAND_2GHZ : 1,
GO_BAND_5GHZ : 2, GO_BAND_5GHZ : 2,
} }
export default function ActsWifiTest() {
describe('ACTS_WifiTest', function () { describe('ActsWifiTest', function () {
beforeEach(function () { beforeEach(function () {
console.info("beforeEach start"); console.info("beforeEach start");
checkWifiPowerOn(); checkWifiPowerOn();
...@@ -506,3 +506,4 @@ describe('ACTS_WifiTest', function () { ...@@ -506,3 +506,4 @@ describe('ACTS_WifiTest', function () {
console.log("*************[wifi_test] start wifi js unit test end*************"); console.log("*************[wifi_test] start wifi js unit test end*************");
}) })
}
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
*/ */
require('./WifiSta.test.js') require('./WifiSta.test.js')
//require('./WifiSoftAP.test.js') //require('./WifiSoftAP.test.js')
import ACTS_WifiTest from './WifiSta.test.js' import ActsWifiTest from './WifiSta.test.js'
export default function testsuite() { export default function testsuite() {
ACTS_WifiTest() ActsWifiTest()
} }
...@@ -69,8 +69,8 @@ let WifiChannelWidth = { ...@@ -69,8 +69,8 @@ let WifiChannelWidth = {
WIDTH_INVALID : null, WIDTH_INVALID : null,
} }
export default function ACTS_WifiTest() { export default function ActsWifiTest() {
describe('ACTS_WifiTest', function() { describe('ActsWifiTest', function() {
beforeEach(function() { beforeEach(function() {
checkWifiPowerOn(); checkWifiPowerOn();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册