提交 6e81d585 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 a03037ed
...@@ -15,6 +15,10 @@ import("//build/ohos_var.gni") ...@@ -15,6 +15,10 @@ import("//build/ohos_var.gni")
group("ans_standard") { group("ans_standard") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ "publishicontest:ActsAnsIconTest" ] deps = [
"cancel_test:MyApplicationCancelAll",
"publish_test:notification-ContentType-All",
"publishicontest:ActsAnsIconTest",
]
} }
} }
...@@ -15,6 +15,6 @@ import("//build/ohos_var.gni") ...@@ -15,6 +15,6 @@ import("//build/ohos_var.gni")
group("cancel_test") { group("cancel_test") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ "MyApplicationCancelAll:ans_signed" ] deps = [ "MyApplicationCancelAll:ActsMyApplicationCancelAllTest" ]
} }
} }
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ans_signed") { ohos_js_hap_suite("ActsMyApplicationCancelAllTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ans_signed" hap_name = "ActsMyApplicationCancelAllTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ans_signed.hap" "ActsMyApplicationCancelAllTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -15,6 +15,6 @@ import("//build/ohos_var.gni") ...@@ -15,6 +15,6 @@ import("//build/ohos_var.gni")
group("publish_test") { group("publish_test") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ "notification-ContentType-All:contentType-signed" ] deps = [ "notification-ContentType-All:ActsContentTypeAllTest" ]
} }
} }
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("contentType-signed") { ohos_js_hap_suite("ActsContentTypeAllTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "contentType-signed" hap_name = "ActsContentTypeAllTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"contentType-signed.hap" "ActsContentTypeAllTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -17,8 +17,8 @@ group("SubscribeAndPublish") { ...@@ -17,8 +17,8 @@ group("SubscribeAndPublish") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"actssubscriberorderedtest:ActsSubscriberTestOrder", "actssubscriberorderedtest:ActsSubscriberOrderTest",
"actssubscriberunordertest:ActsSubscriberTestUnorder", "actssubscriberunordertest:ActsSubscriberUnorderTest",
] ]
} }
} }
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsSubscriberTestOrder") { ohos_js_hap_suite("ActsSubscriberOrderTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsSubscriberTestOrder" hap_name = "ActsSubscriberOrderTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"description": "Configuration for hjunit demo Tests", "description": "Configuration for hjunit demo Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "60000", "test-timeout": "500000",
"package": "com.example.actssubscribertestorder", "package": "com.example.actssubscribertestorder",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsSubscriberTestOrder.hap" "ActsSubscriberOrderTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsSubscriberTestUnorder") { ohos_js_hap_suite("ActsSubscriberUnorderTest") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsSubscriberTestUnorder" hap_name = "ActsSubscriberUnorderTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"ActsSubscriberTestUnorder.hap" "ActsSubscriberUnorderTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册