From 5a92ab99f2a2f3177c4151de4a2244ccd405a2ed Mon Sep 17 00:00:00 2001 From: jiyong Date: Fri, 29 Oct 2021 17:30:01 +0800 Subject: [PATCH] jiyong@huawei.com Signed-off-by: jiyong --- .../publish_test/badgedisplayed/localcandisplay/BUILD.gn | 6 +++++- notification/ans_standard/publish_test/getactive/BUILD.gn | 2 +- .../publish_test/getactive/getactiveotherapp/BUILD.gn | 4 ++-- .../publish_test/getactive/getactiveotherapp/Test.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn b/notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn index 3a6f8047d..ad536cece 100644 --- a/notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn +++ b/notification/ans_standard/publish_test/badgedisplayed/localcandisplay/BUILD.gn @@ -15,12 +15,16 @@ import("//test/xts/tools/build/suite.gni") ohos_js_hap_suite("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" diff --git a/notification/ans_standard/publish_test/getactive/BUILD.gn b/notification/ans_standard/publish_test/getactive/BUILD.gn index a0f8d2eba..328bea550 100644 --- a/notification/ans_standard/publish_test/getactive/BUILD.gn +++ b/notification/ans_standard/publish_test/getactive/BUILD.gn @@ -19,7 +19,7 @@ group("getactive") { deps = [ #"actsansgetactive:ActsAnsActiveTest", #"actsansgetallactive:ActsAnsAllActiveTestOne", - #"getactiveotherapp:ActsAnsAllActiveTestOne" + #"getactiveotherapp:ActsAnsAllActiveTestTwo" ] } } diff --git a/notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn b/notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn index e3f4f2bae..1f5a87d3d 100644 --- a/notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn +++ b/notification/ans_standard/publish_test/getactive/getactiveotherapp/BUILD.gn @@ -13,14 +13,14 @@ import("//test/xts/tools/build/suite.gni") -ohos_js_hap_suite("ActsAnsAllActiveTestOne") { +ohos_js_hap_suite("ActsAnsAllActiveTestTwo") { hap_profile = "./entry/src/main/config.json" deps = [ ":hjs_demo_js_assets", ":hjs_demo_resources", ] certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAnsAllActiveTestOne" + hap_name = "ActsAnsAllActiveTestTwo" } ohos_js_assets("hjs_demo_js_assets") { source_dir = "./entry/src/main/js/default" diff --git a/notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json b/notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json index 9eec8e78d..924311fb1 100644 --- a/notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json +++ b/notification/ans_standard/publish_test/getactive/getactiveotherapp/Test.json @@ -9,7 +9,7 @@ "kits": [ { "test-file-name": [ - "ActsAnsAllActiveTestOne.hap" + "ActsAnsAllActiveTestTwo.hap" ], "type": "AppInstallKit", "cleanup-apps": true -- GitLab