提交 7843e8ce 编写于 作者: Q quanli 提交者: 权力
上级 a70f4fb8
...@@ -61,9 +61,11 @@ describe('bluetoothBLETest', function() { ...@@ -61,9 +61,11 @@ describe('bluetoothBLETest', function() {
afterEach(function () { afterEach(function () {
console.info('afterEach called') console.info('afterEach called')
}) })
afterAll(function () { afterAll(async function (done) {
console.info('afterAll called') console.info('afterAll called')
await sleep(6000);
gattClient.close(); gattClient.close();
done()
}) })
/** /**
......
...@@ -357,7 +357,7 @@ export default function actsWifiManagerFunctionTest() { ...@@ -357,7 +357,7 @@ export default function actsWifiManagerFunctionTest() {
*/ */
it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) { it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) {
let wifiP2PConfig = { let wifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00", deviceAddress : "11:22:33:44:55:66",
netId : -1, netId : -1,
passphrase : "12345678", passphrase : "12345678",
groupName : "AAAZZZ456", groupName : "AAAZZZ456",
......
...@@ -381,7 +381,7 @@ export default function actsWifiFunctionTest() { ...@@ -381,7 +381,7 @@ export default function actsWifiFunctionTest() {
*/ */
it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) { it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) {
let wifiP2PConfig = { let wifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00", deviceAddress : "11:22:33:44:55:66",
netId : -1, netId : -1,
passphrase : "12345678", passphrase : "12345678",
groupName : "AAAZZZ456", groupName : "AAAZZZ456",
......
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"hilog -Q pidoff",
"power-shell setmode 602"
]
} }
] ]
} }
...@@ -12,17 +12,17 @@ ...@@ -12,17 +12,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import actsWifiManagerFunctionsTest from './WifiManagerStationFunctions.test.js'
import actsWifiCandidateNetWorkTest from './WifiCandidateNetWork.test.js' import actsWifiCandidateNetWorkTest from './WifiCandidateNetWork.test.js'
import actsWifiManagerCandidateNetWorkTest from './WifiManagerCandidateNetWork.test.js' import actsWifiManagerCandidateNetWorkTest from './WifiManagerCandidateNetWork.test.js'
import actsWifiFunctionsTest from './WifiStationFunctions.test.js' import actsWifiFunctionsTest from './WifiStationFunctions.test.js'
import actsWifiManagerFunctionsTest from './WifiManagerStationFunctions.test.js'
import actsWifiEventTest from './WifiStationEvent.test.js' import actsWifiEventTest from './WifiStationEvent.test.js'
import actsWifiManagerEventTest from './WifiManagerStationEvent.test.js' import actsWifiManagerEventTest from './WifiManagerStationEvent.test.js'
export default function testsuite() { export default function testsuite() {
actsWifiManagerFunctionsTest()
actsWifiCandidateNetWorkTest() actsWifiCandidateNetWorkTest()
actsWifiManagerCandidateNetWorkTest() actsWifiManagerCandidateNetWorkTest()
actsWifiFunctionsTest() actsWifiFunctionsTest()
actsWifiManagerFunctionsTest()
actsWifiEventTest() actsWifiEventTest()
actsWifiManagerEventTest() actsWifiManagerEventTest()
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册