diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json index e981bb18f74abd867ba98e6f8c3b003d5a6d97a6..0d803354d45730869423c90c41583d9a8253d325 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json @@ -68,7 +68,7 @@ "customizeData": [ { "name": "originWidgetName5A", - "value": "com.huawei.weather.testWidget5A" + "value": "com.openharmony.weather.testWidget5A" } ] }, @@ -138,7 +138,7 @@ "customizeData": [ { "name": "originWidgetName5B", - "value": "com.huawei.weather.testWidget5B" + "value": "com.openharmony.weather.testWidget5B" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json index 92ee7db348edcdce6dccca5978c9f27e9f7f33ea..59ca1fcd466e5e0562ab0fb6266d9e6c989e815f 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json @@ -66,7 +66,7 @@ "customizeData": [ { "name": "originWidgetName1", - "value": "com.huawei.weather.testWidget1" + "value": "com.openharmony.weather.testWidget1" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json index 1a1c2190b8cbc2947fe262777750a6f3090adf01..dd6bd5b2a24a54639cba1f6ba628cb59b5664f72 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json @@ -65,7 +65,7 @@ "customizeData": [ { "name": "originWidgetNameA1", - "value": "com.huawei.weather.testWidgetA1" + "value": "com.openharmony.weather.testWidgetA1" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json index 44caf031db392ab79b7329dbc708d887b0804880..ebe803a89cd8b9e9f3c813f55b0a18d562790536 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json @@ -61,7 +61,7 @@ "customizeData": [ { "name": "originWidgetName4A", - "value": "com.huawei.weather.testWidget4A" + "value": "com.openharmony.weather.testWidget4A" } ] }, @@ -83,7 +83,7 @@ "customizeData": [ { "name": "originWidgetName4B", - "value": "com.huawei.weather.testWidget4B" + "value": "com.openharmony.weather.testWidget4B" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json index 06a9c89753947cd7707f91187f3ae0430c08ff86..8b8f7212301588fa26bd9a3e90ded8bb65c34745 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json @@ -52,7 +52,7 @@ "customizeData": [ { "name": "originWidgetName1S", - "value": "com.huawei.weather.testWidget1S" + "value": "com.openharmony.weather.testWidget1S" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json index c00f7a3ae1ddfc072b68c3c81e3388f941887d3c..ad832022b1efc307921ac0f24ff1dd1cec2cc11c 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json @@ -52,7 +52,7 @@ "customizeData": [ { "name": "originWidgetName1V", - "value": "com.huawei.weather.testWidget1V" + "value": "com.openharmony.weather.testWidget1V" } ] }, @@ -74,7 +74,7 @@ "customizeData": [ { "name": "originWidgetName1V2", - "value": "com.huawei.weather.testWidget1V2" + "value": "com.openharmony.weather.testWidget1V2" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json index 96b253543ee7c5ebdba24cf098157e430a9cde1d..60b95c5cc2fd09bf509b6931b2bed9a6333f1537 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json @@ -67,7 +67,7 @@ "customizeData": [ { "name": "originWidgetName3", - "value": "com.huawei.weather.testWidget3" + "value": "com.openharmony.weather.testWidget3" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn index ddcb136a9787ef55af5384f6075b026d6fab1335..e3bbd4ceeb50ddce30d693f03360269a99376a3a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json index 66293979ae6d6a97e89e1f584ca14dbcf0424b54..e7c204192295a644e9ee7e8098c2f7707c1a522a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json @@ -52,7 +52,7 @@ "customizeData": [ { "name": "originWidgetName1", - "value": "com.huawei.weather.testWidget1" + "value": "com.openharmony.weather.testWidget1" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn index 02f4d753c44da6b58b110c7a6db16f1556ca495c..ded8e46f042cbd5f73cc14a170e5d1a2a457371a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn index 32936290df8df2b190b9a3058567256abb69e290..7881a0bade78b529455638075548cb8857f8963f 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn index 16631f9e879a1688158c4f5ad2bd1bda541c716f..dcca8966083fad83c38bd77a70d7b9073154dae7 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json index c3b302c17bd13c154d256f13b0e76b4bf1ce1695..5dbdecb146794f57829444c56347421fb2562368 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json @@ -52,7 +52,7 @@ "customizeData": [ { "name": "originWidgetNameA1", - "value": "com.huawei.weather.testWidgetA1" + "value": "com.openharmony.weather.testWidgetA1" } ] }, diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn index b0e5398eca40f9e2596ed5d62b2dd78d56528d40..013e126a0f13c14b47125f081b0c2eb893cdd360 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn index e24e97b7742279b1e502c222e46372a3f2297399..23a52378b123aecf5350b90ae2c1f506ed202db9 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn index 793f25b4615dea73b36bdcfa5c013e152eb14ee0..15f34948df27dedb024d32c77ec49e1929fc0072 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn index a0a4d6c1bb40dae8ee8689aeb9289fea11235fd8..07e7c48f8c655ebb035e61c741f608ee60c639e5 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn index 1de8fdf03286352bdb7db6561c4d1d2f1ff5fe3e..c17bfce1b04f8d2080dbd6d0de57ce1d2152dae8 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# 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 diff --git a/appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp b/appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp index f3008a6064b3c0328e521a349e5d13751f113d4a..82dda1b72e8093dcfc63e01770ec9f522ca581d1 100755 --- a/appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp +++ b/appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp @@ -869,8 +869,8 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0001, Function | MediumTest | HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0002, Function | MediumTest | Level1) { printf("------start testGetBundleSizeWithLegal_0002------\n"); - char *bundleName = (char*)"com.openharmony.testjsdemoBundleNamelengthequalto127" \ -"testjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127testjsde"; + char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameleng" \ +"thequalto127testjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127tes"; sem_init(&g_sem, 0, 0); InstallParam installParam = {.installLocation = 1,.keepData = false }; string hapPath = g_testPath + "testGetBundleNameWithLegal127.hap"; @@ -895,7 +895,7 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithIllegal_0001, Function | MediumTest { printf("------start testGetBundleSizeWithIllegal_0001------\n"); char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameLength128test" \ -"jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLength128T"; +"jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLengt"; EXPECT_EQ(strlen(bundleName), 128); uint32_t resultCode = GetBundleSize(bundleName); EXPECT_EQ(resultCode, 0); diff --git a/utils_lite/kv_store_posix/src/KvStoreTest.cpp b/utils_lite/kv_store_posix/src/KvStoreTest.cpp index eda16e0abc2ee0746917566747c9be4527b09104..60f8edf8a29f798726e62cdf711d09fcba139eb7 100755 --- a/utils_lite/kv_store_posix/src/KvStoreTest.cpp +++ b/utils_lite/kv_store_posix/src/KvStoreTest.cpp @@ -36,18 +36,18 @@ protected: static void SetUpTestCase(void) { printf("----------test case with KvStoreTest start-------------\n"); - int ret = mkdir("/storage/com.huawei.kv", S_IRUSR | S_IWUSR); - printf("/storage/com.huawei.kv ret = %d\n", ret); - ret = UtilsSetEnv("/storage/com.huawei.kv"); + int ret = mkdir("/storage/com.openharmony.kv", S_IRUSR | S_IWUSR); + printf("/storage/com.openharmony.kv ret = %d\n", ret); + ret = UtilsSetEnv("/storage/com.openharmony.kv"); EXPECT_EQ(ret, 0); } // TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行 static void TearDownTestCase(void) { - int ret = rmdir("/storage/com.huawei.kv/kvstore"); - printf("/storage/com.huawei.kv/kvstore ret = %d\n", ret); - ret = rmdir("/storage/com.huawei.kv"); - printf("/storage/com.huawei.kv ret = %d\n", ret); + int ret = rmdir("/storage/com.openharmony.kv/kvstore"); + printf("/storage/com.openharmony.kv/kvstore ret = %d\n", ret); + ret = rmdir("/storage/com.openharmony.kv"); + printf("/storage/com.openharmony.kv ret = %d\n", ret); printf("----------test case with KvStoreTest end-------------\n"); } // 用例的预置动作