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

!7698 【account】【master】解决账号子系统onoff用例超时问题

Merge pull request !7698 from 郭永强/master
......@@ -17,7 +17,7 @@ import commonevent from '@ohos.commonEvent'
import featureAbility from '@ohos.ability.featureAbility'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
const TIMEOUT = 5000;
const TIMEOUT = 2000;
export default function ActsAccountOnOff() {
describe('ActsAccountOnOff', async function () {
......
......@@ -17,7 +17,7 @@ import commonevent from '@ohos.commonEvent'
import featureAbility from '@ohos.ability.featureAbility'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
const TIMEOUT = 5000;
const TIMEOUT = 2000;
export default function ActsAccountChangeOnOff() {
describe('ActsAccountChangeOnOff', async function () {
......
......@@ -35,10 +35,10 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
},
onInit() {
onShow() {
this.title = "scene on off";
},
onShow() {
onInit() {
console.debug("====>change on off scene start====");
var appAccountManager = account.createAppAccountManager();
var commonEventSubscribeInfo = {
......@@ -55,7 +55,7 @@ export default {
console.debug("====>scene off finish====");
});
});
featureAbility.terminateSelf()
// featureAbility.terminateSelf()
}
// Subscribe to the callback of account information changes, verify the received account information, and send
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册