Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
249f927d
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看板
提交
249f927d
编写于
11月 26, 2021
作者:
Z
zhaoyuan17
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix codex
Signed-off-by:
N
zhaoyuan17
<
zhaoyuan17@huawei.com
>
上级
2bd57b77
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
108 addition
and
101 deletion
+108
-101
notification/ans_standard/publish_test/donotdisturbmode/entry/src/main/js/test/doNotDisturbTest.js
...notdisturbmode/entry/src/main/js/test/doNotDisturbTest.js
+103
-79
notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js
...tive/actsansgetactive/entry/src/main/js/test/getActive.js
+1
-0
notification/ans_standard/publish_test/publishsound/entry/src/main/js/default/pages/index/index.js
...blishsound/entry/src/main/js/default/pages/index/index.js
+2
-11
notification/ans_standard/publish_test/publishvibra/entry/src/main/js/default/pages/index/index.js
...blishvibra/entry/src/main/js/default/pages/index/index.js
+2
-11
未找到文件。
notification/ans_standard/publish_test/donotdisturbmode/entry/src/main/js/test/doNotDisturbTest.js
浏览文件 @
249f927d
此差异已折叠。
点击以展开。
notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js
浏览文件 @
249f927d
...
@@ -1005,6 +1005,7 @@ describe('ActsAnsActiveTest', function () {
...
@@ -1005,6 +1005,7 @@ describe('ActsAnsActiveTest', function () {
console
.
debug
(
"
===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>
"
+
err
.
code
);
console
.
debug
(
"
===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>
"
+
err
.
code
);
expect
(
err
.
code
).
assertEqual
(
ERR_ANS_NON_SYSTEM_APP
);
expect
(
err
.
code
).
assertEqual
(
ERR_ANS_NON_SYSTEM_APP
);
}
}
/*
/*
* @tc.number: Ans_GetAllActive_0900
* @tc.number: Ans_GetAllActive_0900
* @tc.name: getAllActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;
* @tc.name: getAllActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;
...
...
notification/ans_standard/publish_test/publishsound/entry/src/main/js/default/pages/index/index.js
浏览文件 @
249f927d
/*
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
...
@@ -32,23 +33,13 @@ export default {
...
@@ -32,23 +33,13 @@ export default {
'
id
'
:
'
extend
'
'
id
'
:
'
extend
'
})
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
reportExtend
=
new
ReportExtend
(
file
)
// const instrumentLog = new InstrumentLog({
// 'id': 'report'
// })
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
// core.addService('report', instrumentLog)
core
.
init
()
core
.
init
()
// core.subscribeEvent('spec', instrumentLog)
// core.subscribeEvent('suite', instrumentLog)
// core.subscribeEvent('task', instrumentLog)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
configService
.
setConfig
(
this
)
require
(
'
../../../test/List.test
'
)
require
(
'
../../../test/List.test
'
)
core
.
execute
()
core
.
execute
()
},
}
onReady
()
{
},
}
}
notification/ans_standard/publish_test/publishvibra/entry/src/main/js/default/pages/index/index.js
浏览文件 @
249f927d
/*
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
...
@@ -32,23 +33,13 @@ export default {
...
@@ -32,23 +33,13 @@ export default {
'
id
'
:
'
extend
'
'
id
'
:
'
extend
'
})
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
reportExtend
=
new
ReportExtend
(
file
)
// const instrumentLog = new InstrumentLog({
// 'id': 'report'
// })
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
// core.addService('report', instrumentLog)
core
.
init
()
core
.
init
()
// core.subscribeEvent('spec', instrumentLog)
// core.subscribeEvent('suite', instrumentLog)
// core.subscribeEvent('task', instrumentLog)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
configService
.
setConfig
(
this
)
require
(
'
../../../test/List.test
'
)
require
(
'
../../../test/List.test
'
)
core
.
execute
()
core
.
execute
()
},
}
onReady
()
{
},
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录