Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d5fcea02
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看板
提交
d5fcea02
编写于
9月 15, 2021
作者:
O
openharmony_ci
提交者:
Gitee
9月 15, 2021
浏览文件
操作
浏览文件
下载
差异文件
!603 L2 notification中ans整改
Merge pull request !603 from jiyong/master
上级
cec6db0b
707be90d
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
177 addition
and
28 deletion
+177
-28
notification/BUILD.gn
notification/BUILD.gn
+4
-1
notification/ans_standard/BUILD.gn
notification/ans_standard/BUILD.gn
+23
-0
notification/ans_standard/cancel_test/BUILD.gn
notification/ans_standard/cancel_test/BUILD.gn
+6
-5
notification/ans_standard/cancel_test/MyApplicationCancelAll/BUILD.gn
.../ans_standard/cancel_test/MyApplicationCancelAll/BUILD.gn
+30
-0
notification/ans_standard/cancel_test/MyApplicationCancelAll/Test.json
...ans_standard/cancel_test/MyApplicationCancelAll/Test.json
+18
-0
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/js/default/pages/index/index.js
...nCancelAll/entry/src/main/js/default/pages/index/index.js
+3
-0
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/js/resources/base/element/string.json
...lAll/entry/src/main/js/resources/base/element/string.json
+11
-11
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/js/resources/base/media/icon.png
...CancelAll/entry/src/main/js/resources/base/media/icon.png
+0
-0
notification/ans_standard/cancel_test/MyApplicationCancelAll/signature/openharmony_sx.p7b
..._test/MyApplicationCancelAll/signature/openharmony_sx.p7b
+0
-0
notification/ans_standard/publish_test/BUILD.gn
notification/ans_standard/publish_test/BUILD.gn
+20
-0
notification/ans_standard/publish_test/notification-ContentType-All/BUILD.gn
...andard/publish_test/notification-ContentType-All/BUILD.gn
+30
-0
notification/ans_standard/publish_test/notification-ContentType-All/Test.json
...ndard/publish_test/notification-ContentType-All/Test.json
+18
-0
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/js/default/pages/index/index.js
...ntType-All/entry/src/main/js/default/pages/index/index.js
+3
-0
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/js/resources/base/element/string.json
...-All/entry/src/main/js/resources/base/element/string.json
+11
-11
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/js/resources/base/media/icon.png
...tType-All/entry/src/main/js/resources/base/media/icon.png
+0
-0
notification/ans_standard/publish_test/notification-ContentType-All/signature/openharmony_sx.p7b
...notification-ContentType-All/signature/openharmony_sx.p7b
+0
-0
未找到文件。
notification/BUILD.gn
浏览文件 @
d5fcea02
...
...
@@ -16,6 +16,9 @@ import("//build/ohos_var.gni")
group("notification") {
testonly = true
if (is_standard_system) {
deps = [ "ces_standard:ces_standard" ]
deps = [
"ans_standard:ans_standard",
"ces_standard:ces_standard",
]
}
}
notification/ans_standard/BUILD.gn
0 → 100644
浏览文件 @
d5fcea02
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos_var.gni")
group("ans_standard") {
testonly = true
if (is_standard_system) {
deps = [
"cancel_test:cancel_test",
"publish_test:publish_test",
]
}
}
notification/ans_standard/cancel_test/BUILD.gn
浏览文件 @
d5fcea02
...
...
@@ -10,10 +10,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/config/ohos/rules.gni")
import("//test/xts/tools/build/suite.gni")
import("//build/ohos_var.gni")
ohos_js_hap_suite("AnsNotificationTestCancel") {
test_hap_name = "AnsNotificationTestCancel"
hap_source_path = "hap/ans_signed.hap"
group("cancel_test") {
testonly = true
if (is_standard_system) {
deps = [ "MyApplicationCancelAll:ans_signed" ]
}
}
notification/ans_standard/cancel_test/MyApplicationCancelAll/BUILD.gn
0 → 100644
浏览文件 @
d5fcea02
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ans_signed") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ans_signed"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./entry/src/main/js/resources" ]
hap_profile = "./entry/src/main/config.json"
}
notification/ans_standard/cancel_test/MyApplicationCancelAll/Test.json
0 → 100644
浏览文件 @
d5fcea02
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"21600000"
,
"package"
:
"com.example.myapplication"
,
"shell-timeout"
:
"21600000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ans_signed.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/js/default/pages/index/index.js
浏览文件 @
d5fcea02
...
...
@@ -18,6 +18,9 @@ import device from '@system.device'
import
router
from
'
@system.router
'
import
{
Core
,
ExpectExtend
,
ReportExtend
}
from
'
deccjsunit/index
'
const
injectRef
=
Object
.
getPrototypeOf
(
global
)
||
global
injectRef
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
export
default
{
data
:
{
title
:
""
...
...
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/resources/base/element/string.json
→
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/
js/
resources/base/element/string.json
浏览文件 @
d5fcea02
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"MyApplication"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_Phone_Empty Feature Ability"
}
]
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"MyApplication"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_Phone_Empty Feature Ability"
}
]
}
\ No newline at end of file
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/resources/base/media/icon.png
→
notification/ans_standard/cancel_test/MyApplicationCancelAll/entry/src/main/
js/
resources/base/media/icon.png
浏览文件 @
d5fcea02
文件已移动
notification/ans_standard/cancel_test/MyApplicationCancelAll/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
d5fcea02
文件已添加
notification/ans_standard/publish_test/BUILD.gn
0 → 100644
浏览文件 @
d5fcea02
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos_var.gni")
group("publish_test") {
testonly = true
if (is_standard_system) {
deps = [ "notification-ContentType-All:contentType-signed" ]
}
}
notification/ans_standard/publish_test/notification-ContentType-All/BUILD.gn
0 → 100644
浏览文件 @
d5fcea02
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("contentType-signed") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "contentType-signed"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./entry/src/main/js/resources" ]
hap_profile = "./entry/src/main/config.json"
}
notification/ans_standard/publish_test/notification-ContentType-All/Test.json
0 → 100644
浏览文件 @
d5fcea02
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"21600000"
,
"package"
:
"com.example.test"
,
"shell-timeout"
:
"21600000"
},
"kits"
:
[
{
"test-file-name"
:
[
"contentType-signed.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/js/default/pages/index/index.js
浏览文件 @
d5fcea02
...
...
@@ -18,6 +18,9 @@ import device from '@system.device'
import
router
from
'
@system.router
'
import
{
Core
,
ExpectExtend
,
ReportExtend
}
from
'
deccjsunit/index
'
const
injectRef
=
Object
.
getPrototypeOf
(
global
)
||
global
injectRef
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
export
default
{
data
:
{
title
:
""
...
...
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/resources/base/element/string.json
→
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/
js/
resources/base/element/string.json
浏览文件 @
d5fcea02
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"ContentType"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_Phone_Empty Feature Ability"
}
]
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"ContentType"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_Phone_Empty Feature Ability"
}
]
}
\ No newline at end of file
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/resources/base/media/icon.png
→
notification/ans_standard/publish_test/notification-ContentType-All/entry/src/main/
js/
resources/base/media/icon.png
浏览文件 @
d5fcea02
文件已移动
notification/ans_standard/publish_test/notification-ContentType-All/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
d5fcea02
文件已添加
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录