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

!8009 多ability应用恢复新增接口测试用例

Merge pull request !8009 from chenxuihui/master
......@@ -15,6 +15,7 @@
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '@ohos/hypium'
import featureAbility from '@ohos.ability.featureAbility';
import testsuite from '../test/List.test'
export default {
......@@ -23,6 +24,8 @@ export default {
var abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator()
var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments()
console.info('start run testcase!!!')
let context = featureAbility.getContext();
globalThis.abilityContext = context;
Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite)
},
onDestroy() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册