Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
473a9f99
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看板
未验证
提交
473a9f99
编写于
1月 05, 2022
作者:
O
openharmony_ci
提交者:
Gitee
1月 05, 2022
浏览文件
操作
浏览文件
下载
差异文件
!1493 事件通知依赖包编译方式修改
Merge pull request !1493 from 刘旭/cherry-pick-1641366676
上级
94e8f191
5a692319
变更
20
显示空白变更内容
内联
并排
Showing
20 changed file
with
50 addition
and
111 deletion
+50
-111
notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActsAnsPublishInput.js
...ctivebutton/entry/src/main/js/test/ActsAnsPublishInput.js
+2
-2
notification/ans_standard/publish_test/activebtn/testa/BUILD.gn
...cation/ans_standard/publish_test/activebtn/testa/BUILD.gn
+6
-2
notification/ans_standard/publish_test/activebtn/testa/Test.json
...ation/ans_standard/publish_test/activebtn/testa/Test.json
+0
-3
notification/ans_standard/publish_test/activebtn/testb/BUILD.gn
...cation/ans_standard/publish_test/activebtn/testb/BUILD.gn
+6
-2
notification/ans_standard/publish_test/activebtn/testb/Test.json
...ation/ans_standard/publish_test/activebtn/testb/Test.json
+0
-3
notification/ans_standard/publish_test/activebtn/testc/BUILD.gn
...cation/ans_standard/publish_test/activebtn/testc/BUILD.gn
+6
-2
notification/ans_standard/publish_test/activebtn/testc/Test.json
...ation/ans_standard/publish_test/activebtn/testc/Test.json
+0
-3
notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn
...dard/publish_test/badgedisplayed/localcandisplay/BUILD.gn
+6
-2
notification/ans_standard/publish_test/badgedisplayed/localcandisplay/Test.json
...ard/publish_test/badgedisplayed/localcandisplay/Test.json
+0
-3
notification/ans_standard/publish_test/enablenotification/localnotificationenable/BUILD.gn
..._test/enablenotification/localnotificationenable/BUILD.gn
+6
-2
notification/ans_standard/publish_test/enablenotification/localnotificationenable/Test.json
...test/enablenotification/localnotificationenable/Test.json
+0
-3
notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn
...tandard/publish_test/getactive/getactiveotherapp/BUILD.gn
+6
-2
notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json
...andard/publish_test/getactive/getactiveotherapp/Test.json
+0
-18
notification/ans_standard/publish_test/publishcontentype/sub/BUILD.gn
.../ans_standard/publish_test/publishcontentype/sub/BUILD.gn
+6
-2
notification/ans_standard/publish_test/publishcontentype/sub/Test.json
...ans_standard/publish_test/publishcontentype/sub/Test.json
+0
-18
notification/ans_standard/publish_test/subscribe/publish/Test.json
...ion/ans_standard/publish_test/subscribe/publish/Test.json
+0
-18
notification/ans_standard/publish_test/wantagent/sub/BUILD.gn
...fication/ans_standard/publish_test/wantagent/sub/BUILD.gn
+6
-2
notification/ans_standard/publish_test/wantagent/sub/Test.json
...ication/ans_standard/publish_test/wantagent/sub/Test.json
+0
-18
notification/ans_standard/publish_test/wantagent/test1/Test.json
...ation/ans_standard/publish_test/wantagent/test1/Test.json
+0
-3
notification/ans_standard/publish_test/wantagent/test2/Test.json
...ation/ans_standard/publish_test/wantagent/test2/Test.json
+0
-3
未找到文件。
notification/ans_standard/publish_test/activebtn/activebutton/entry/src/main/js/test/ActsAnsPublishInput.js
浏览文件 @
473a9f99
...
...
@@ -37,8 +37,8 @@ describe('ActsAnsPublishInput', function () {
console
.
info
(
"
=========Ans_PublishInput_0100 onConsume editType================>
"
+
editType
);
expect
(
inputKey
).
assertEqual
(
"
inputKey_0100
"
);
expect
(
tag
).
assertEqual
(
"
tag_0100
"
);
expect
(
options
).
assertEqual
(
"
options_0100
"
);
expect
(
permitMimeTypes
).
assertEqual
(
"
permitMimeTypes_0100
"
);
expect
(
JSON
.
stringify
(
options
)).
assertEqual
(
JSON
.
stringify
([
"
options_0100
"
])
);
expect
(
JSON
.
stringify
(
permitMimeTypes
)).
assertEqual
(
JSON
.
stringify
([
"
permitMimeTypes_0100
"
])
);
expect
(
editType
).
assertEqual
(
1
);
expect
(
additionalData
.
key0100
).
assertEqual
(
"
0100
"
);
console
.
info
(
"
=========Ans_PublishInput_0100 onConsume end================>
"
);
...
...
notification/ans_standard/publish_test/activebtn/testa/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("testA") {
ohos_
hap
("testA") {
hap_profile = "./entry/src/main/config.json"
hap_name = "testA"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "testA"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/activebtn/testa/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/activebtn/testb/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("testB") {
ohos_
hap
("testB") {
hap_profile = "./entry/src/main/config.json"
hap_name = "testB"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "testB"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/activebtn/testb/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/activebtn/testc/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("testC") {
ohos_
hap
("testC") {
hap_profile = "./entry/src/main/config.json"
hap_name = "testC"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "testC"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/activebtn/testc/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("localcandisplay") {
ohos_
hap
("localcandisplay") {
hap_profile = "./entry/src/main/config.json"
hap_name = "localcandisplay"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "localcandisplay"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/badgedisplayed/localcandisplay/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/enablenotification/localnotificationenable/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAnsLocalNotificationTest") {
ohos_
hap
("ActsAnsLocalNotificationTest") {
hap_profile = "./entry/src/main/config.json"
hap_name = "ActsAnsLocalNotificationTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsLocalNotificationTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/enablenotification/localnotificationenable/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAnsGetActiveOtherApp") {
ohos_
hap
("ActsAnsGetActiveOtherApp") {
hap_profile = "./entry/src/main/config.json"
hap_name = "ActsAnsGetActiveOtherApp"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsGetActiveOtherApp"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"180000"
,
"package"
:
"com.example.actsansgetactiveotherapp"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsAnsGetActiveOtherApp.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/publish_test/publishcontentype/sub/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -12,14 +12,18 @@
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAnsCommonEventTest") {
ohos_
hap
("ActsAnsCommonEventTest") {
hap_profile = "./entry/src/main/config.json"
hap_name = "ActsAnsCommonEventTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsCommonEventTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/publishcontentype/sub/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"package"
:
"com.example.actsanscommoneventtest"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsAnsCommonEventTest"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/publish_test/subscribe/publish/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"package"
:
"com.example.actsanspublishtest"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsAnsPublishTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/publish_test/wantagent/sub/BUILD.gn
浏览文件 @
473a9f99
...
...
@@ -13,14 +13,18 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAnsCommonSubscriberTest") {
ohos_
hap
("ActsAnsCommonSubscriberTest") {
hap_profile = "./entry/src/main/config.json"
hap_name = "ActsAnsCommonSubscriberTest"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAnsCommonSubscriberTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
notification/ans_standard/publish_test/wantagent/sub/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"package"
:
"com.example.actsanscommonsubscribertest"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsAnsCommonSubscriberTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/publish_test/wantagent/test1/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
notification/ans_standard/publish_test/wantagent/test2/Test.json
已删除
100644 → 0
浏览文件 @
94e8f191
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录