Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5e7e4e7c
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5e7e4e7c
编写于
2月 28, 2023
作者:
O
openharmony_ci
提交者:
Gitee
2月 28, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7719 【account】【monthly_20221018】解决账号子系统onoff用例超时问题
Merge pull request !7719 from 郭永强/cherry-pick-1677201562
上级
8458e1cf
20cd6a54
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
5 deletion
+5
-5
account/appaccount/actsaccountoperatetest/src/main/js/test/ChangeOnOff.js
...nt/actsaccountoperatetest/src/main/js/test/ChangeOnOff.js
+1
-1
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
+1
-1
account/appaccount/sceneProject/actsaccountsceneonoff/entry/src/main/js/default/pages/index/index.js
...sceneonoff/entry/src/main/js/default/pages/index/index.js
+3
-3
未找到文件。
account/appaccount/actsaccountoperatetest/src/main/js/test/ChangeOnOff.js
浏览文件 @
5e7e4e7c
...
...
@@ -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
=
5
000
;
const
TIMEOUT
=
2
000
;
export
default
function
ActsAccountOnOff
()
{
describe
(
'
ActsAccountOnOff
'
,
async
function
()
{
...
...
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
浏览文件 @
5e7e4e7c
...
...
@@ -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
=
5
000
;
const
TIMEOUT
=
2
000
;
export
default
function
ActsAccountChangeOnOff
()
{
describe
(
'
ActsAccountChangeOnOff
'
,
async
function
()
{
...
...
account/appaccount/sceneProject/actsaccountsceneonoff/entry/src/main/js/default/pages/index/index.js
浏览文件 @
5e7e4e7c
...
...
@@ -35,10 +35,10 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export
default
{
data
:
{
},
on
Init
()
{
on
Show
()
{
this
.
title
=
"
scene on off
"
;
},
on
Show
()
{
on
Init
()
{
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录