未验证 提交 e66ac331 编写于 作者: O openharmony_ci 提交者: Gitee

!3382 【communication】修改communication下 JS测试框架初始化代码位置

Merge pull request !3382 from 权力/myfeatured
......@@ -19,16 +19,13 @@ import {Core, ExpectExtend} from 'deccjsunit/index'
export default {
data: {
title: "",
myTimeout:60000
myTimeout:70000
},
onInit() {
this.title = this.$t('strings.world');
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -44,5 +41,8 @@ export default {
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
......@@ -25,9 +25,6 @@ export default {
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -43,5 +40,8 @@ export default {
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
......@@ -26,9 +26,6 @@ export default {
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -43,6 +40,10 @@ export default {
require('../../test/List.test')
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
......@@ -26,9 +26,6 @@ export default {
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -37,12 +34,16 @@ export default {
core.init()
const configService = core.getDefaultService('config')
this.timeout = this.myTimeout
configService.setConfig(this)
this.timeout = this.myTimeout
configService.setConfig(this)
require('../../test/List.test')
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
......@@ -27,9 +27,6 @@ export default {
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -38,13 +35,17 @@ export default {
core.init()
const configService = core.getDefaultService('config')
this.timeout = this.myTimeout
configService.setConfig(this)
require('../../test/List.test')
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
......@@ -25,9 +25,6 @@ export default {
},
onShow() {
console.info('onShow finish')
},
onReady() {
console.info('onReady finish')
const core = Core.getInstance()
const expectExtend = new ExpectExtend({
'id': 'extend'
......@@ -42,6 +39,10 @@ export default {
require('../../test/List.test')
core.execute()
},
onReady() {
console.info('onReady finish')
},
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册