From e614015dc38d359c293bc18a16c7afa9484c1138 Mon Sep 17 00:00:00 2001 From: hu0475 Date: Thu, 13 Jul 2023 15:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9distributeddatamgr=E5=AD=90?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F[preferences=E3=80=81relationalStore]?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=9A=84hap=E5=8C=85=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu0475 --- distributeddatamgr/BUILD.gn | 4 ++-- .../crossplatform/preferencesetstest/AppScope/app.json | 6 +++--- .../crossplatform/preferencesetstest/BUILD.gn | 4 ++-- .../crossplatform/preferencesetstest/Test.json | 2 +- .../crossplatform/relationalstoreetstest/AppScope/app.json | 6 +++--- .../crossplatform/relationalstoreetstest/BUILD.gn | 4 ++-- .../crossplatform/relationalstoreetstest/Test.json | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/distributeddatamgr/BUILD.gn b/distributeddatamgr/BUILD.gn index 4fe3c4985..d3196ef78 100644 --- a/distributeddatamgr/BUILD.gn +++ b/distributeddatamgr/BUILD.gn @@ -16,8 +16,8 @@ group("distributeddatamgr") { testonly = true if (is_standard_system) { deps = [ - "crossplatform/preferencesetstest:preferences_ets_test", - "crossplatform/relationalstoreetstest:relationalStore_ets_test", + "crossplatform/preferencesetstest:ActsCrossplatformPreferencesTest", + "crossplatform/relationalstoreetstest:ActsCrossplatformRelationalStoreTest", "dataObjectjstest/hap:dataObject_js_test", "dataSharejstest/hap:dataShare_js_test", "distributedKVStoretest:distributedKVStoretest", diff --git a/distributeddatamgr/crossplatform/preferencesetstest/AppScope/app.json b/distributeddatamgr/crossplatform/preferencesetstest/AppScope/app.json index 7e9849c5c..9ce01470e 100644 --- a/distributeddatamgr/crossplatform/preferencesetstest/AppScope/app.json +++ b/distributeddatamgr/crossplatform/preferencesetstest/AppScope/app.json @@ -6,10 +6,10 @@ "versionName": "1.0.0", "icon": "$media:app_icon", "label": "$string:app_name", - "minAPIVersion": 9, - "targetAPIVersion": 9, + "minAPIVersion": 10, + "targetAPIVersion": 10, "car": { - "apiCompatibleVersion": 9, + "apiCompatibleVersion": 10, "singleUser": false } } diff --git a/distributeddatamgr/crossplatform/preferencesetstest/BUILD.gn b/distributeddatamgr/crossplatform/preferencesetstest/BUILD.gn index c06922b85..862e73dfc 100644 --- a/distributeddatamgr/crossplatform/preferencesetstest/BUILD.gn +++ b/distributeddatamgr/crossplatform/preferencesetstest/BUILD.gn @@ -13,7 +13,7 @@ import("//test/xts/tools/build/suite.gni") -ohos_js_hap_suite("preferences_ets_test") { +ohos_js_hap_suite("ActsCrossplatformPreferencesTest") { hap_profile = "src/main/module.json" deps = [ ":windowStage_js_assets", @@ -23,7 +23,7 @@ ohos_js_hap_suite("preferences_ets_test") { certificate_profile = "./signature/openharmony_sx.p7b" # hap_name: HAP的名字,可选,默认为目标名 - hap_name = "preferences_ets_test" + hap_name = "ActsCrossplatformPreferencesTest" subsystem_name = "distributeddatamgr" part_name = "preferences" } diff --git a/distributeddatamgr/crossplatform/preferencesetstest/Test.json b/distributeddatamgr/crossplatform/preferencesetstest/Test.json index b376f8b21..fce2b2de3 100644 --- a/distributeddatamgr/crossplatform/preferencesetstest/Test.json +++ b/distributeddatamgr/crossplatform/preferencesetstest/Test.json @@ -10,7 +10,7 @@ "kits": [ { "test-file-name": [ - "preferences_ets_test.hap" + "ActsCrossplatformPreferencesTest.hap" ], "type": "AppInstallKit", "cleanup-apps": true diff --git a/distributeddatamgr/crossplatform/relationalstoreetstest/AppScope/app.json b/distributeddatamgr/crossplatform/relationalstoreetstest/AppScope/app.json index fea5f87b4..806b7760c 100644 --- a/distributeddatamgr/crossplatform/relationalstoreetstest/AppScope/app.json +++ b/distributeddatamgr/crossplatform/relationalstoreetstest/AppScope/app.json @@ -6,10 +6,10 @@ "versionName": "1.0.0", "icon": "$media:app_icon", "label": "$string:app_name", - "minAPIVersion": 9, - "targetAPIVersion": 9, + "minAPIVersion": 10, + "targetAPIVersion": 10, "car": { - "apiCompatibleVersion": 9, + "apiCompatibleVersion": 10, "singleUser": false } } diff --git a/distributeddatamgr/crossplatform/relationalstoreetstest/BUILD.gn b/distributeddatamgr/crossplatform/relationalstoreetstest/BUILD.gn index b13f6227a..5c79ab7df 100644 --- a/distributeddatamgr/crossplatform/relationalstoreetstest/BUILD.gn +++ b/distributeddatamgr/crossplatform/relationalstoreetstest/BUILD.gn @@ -13,7 +13,7 @@ import("//test/xts/tools/build/suite.gni") -ohos_js_hap_suite("relationalStore_ets_test") { +ohos_js_hap_suite("ActsCrossplatformRelationalStoreTest") { hap_profile = "src/main/module.json" deps = [ ":windowStage_js_assets", @@ -23,7 +23,7 @@ ohos_js_hap_suite("relationalStore_ets_test") { certificate_profile = "./signature/openharmony_sx.p7b" # hap_name: HAP的名字,可选,默认为目标名 - hap_name = "relationalStore_ets_test" + hap_name = "ActsCrossplatformRelationalStoreTest" subsystem_name = "distributeddatamgr" part_name = "relational_store" } diff --git a/distributeddatamgr/crossplatform/relationalstoreetstest/Test.json b/distributeddatamgr/crossplatform/relationalstoreetstest/Test.json index e2769a568..0f899ac57 100644 --- a/distributeddatamgr/crossplatform/relationalstoreetstest/Test.json +++ b/distributeddatamgr/crossplatform/relationalstoreetstest/Test.json @@ -10,7 +10,7 @@ "kits": [ { "test-file-name": [ - "relationalStore_ets_test.hap" + "ActsCrossplatformRelationalStoreTest.hap" ], "type": "AppInstallKit", "cleanup-apps": true -- GitLab