From 1627b6c5944804f1be7b0e70763d418ca3c12e36 Mon Sep 17 00:00:00 2001 From: Teacher_Dong Date: Tue, 19 Dec 2023 16:50:27 +0800 Subject: [PATCH 01/11] Signed-off-by:Teacher_Dong --- localCoverage/all_subsystem_config.json | 6 +-- .../restore_comment/build_before_generate.py | 40 +++++-------------- src/core/driver/drivers.py | 12 ++++-- 3 files changed, 21 insertions(+), 37 deletions(-) diff --git a/localCoverage/all_subsystem_config.json b/localCoverage/all_subsystem_config.json index a07be74..6682da9 100644 --- a/localCoverage/all_subsystem_config.json +++ b/localCoverage/all_subsystem_config.json @@ -1217,10 +1217,10 @@ "vendor/huawei/base/hiviewdfx/hiview_plugins/boot_detector_plugin" ] }, - "bundle_adapter": { - "name": "bundle_adapter", + "bundle_framework_ext": { + "name": "bundle_framework_ext", "path": [ - "vendor/huawei/foundation/bundlemanager/bundle_adapter" + "vendor/huawei/foundation/bundlemanager/bundle_framework_ext" ] }, "advanced_ui_component": { diff --git a/localCoverage/restore_comment/build_before_generate.py b/localCoverage/restore_comment/build_before_generate.py index d5dbfeb..b13f32e 100644 --- a/localCoverage/restore_comment/build_before_generate.py +++ b/localCoverage/restore_comment/build_before_generate.py @@ -21,31 +21,6 @@ import subprocess import json -def get_file_list(find_path, postfix=""): - file_names = os.listdir(find_path) - file_list = [] - if len(file_names) > 0: - for fn in file_names: - if postfix != "": - if fn.find(postfix) != -1 and fn[-len(postfix):] == postfix: - file_list.append(fn) - else: - file_list.append(fn) - return - - -def get_file_list_by_postfix(path, postfix=""): - file_list = [] - for dirs in os.walk(path): - files = get_file_list(find_path=dirs[0], postfix=postfix) - for file_name in files: - if "" != file_name and -1 == file_name.find(__file__): - file_name = os.path.join(dirs[0], file_name) - if os.path.isfile(file_name): - file_list.append(file_name) - return file_list - - def get_source_file_list(path): """ 获取path路径下源文件路径列表 @@ -56,7 +31,7 @@ def get_source_file_list(path): for file_name in files: file_path = os.path.join(root, file_name) _, suffix = os.path.splitext(file_name) - if suffix in [".c", ".h", ".cpp"]: + if suffix in [".c", ".cpp"]: file_path_list_append(file_path) return file_path_list @@ -81,15 +56,18 @@ def rewrite_source_file(source_path_list: list): encoding="utf-8", errors="ignore") as write_fp: for line in code_lines: + sign_number = 0 for key in keys: + sign_number += 1 if key in line and line.strip().startswith(key): write_fp.write(line) break - elif " //LCOV_EXCL_BR_LINE" not in line and not line.strip().endswith("\\"): + elif " //LCOV_EXCL_BR_LINE" not in line and not line.strip().endswith("\\") \ + and sign_number == len(keys): write_fp.write(line.strip("\n").strip("\n\r") + " //LCOV_EXCL_BR_LINE") write_fp.write("\n") break - elif key == keys[-1]: + elif sign_number == len(keys): write_fp.write(line) break @@ -107,9 +85,11 @@ def add_lcov(subsystem_config_path): if "path" in value.keys(): for path_str in value["path"]: file_path = os.path.join(root_path, path_str) + primal_path = f"{file_path}_primal" if os.path.exists(file_path): - subprocess.Popen("cp -r %s %s" % ( - file_path, f"{file_path}_primal"), shell=True).communicate() + if not os.path.exists(primal_path): + subprocess.Popen("cp -r %s %s" % ( + file_path, primal_path), shell=True).communicate() source_file_path = get_source_file_list(file_path) rewrite_source_file(source_file_path) else: diff --git a/src/core/driver/drivers.py b/src/core/driver/drivers.py index 3fa60f0..9da4366 100644 --- a/src/core/driver/drivers.py +++ b/src/core/driver/drivers.py @@ -101,8 +101,7 @@ class DisplayOutputReceiver: lines = self._process_output(output) for line in lines: line = line.strip() - if "[ RUN ]" in line or "[ OK ]" in line or "[==========]" in line or \ - "[----------]" in line or "[ PASSED ]" in line or "[ FAILED ]" in line: + if line: LOG.info(get_decode(line)) def __error__(self, message): @@ -567,7 +566,8 @@ class CppTestDriver(IDriver): serial = "{}_{}".format(str(request.config.device.__get_serial__()), time.time_ns()) log_tar_file_name = "{}_{}".format(request.get_module_name(), str(serial).replace( ":", "_")) - self.config.device.device_log_collector.stop_hilog_task(log_tar_file_name) + self.config.device.device_log_collector.stop_hilog_task( + log_tar_file_name, module_name=request.get_module_name()) def _init_gtest(self): self.config.device.connector_command("target mount") @@ -1198,9 +1198,13 @@ class OHRustTestDriver(IDriver): log_tar_file_name = "{}_{}".format( request.get_module_name(), str(serial).replace(":", "_")) self.config.device.device_log_collector.stop_hilog_task( - log_tar_file_name) + log_tar_file_name, module_name=request.get_module_name()) self.result = check_result_report( request.config.report_path, self.result, self.error_message) + result_save_path = get_result_savepath( + request.root.source.source_file, self.config.report_path) + shutil.move(self.result, result_save_path) + def _init_oh_rust(self): self.config.device.connector_command("target mount") -- Gitee From c8e42132499d31137d61ecc5dc0103ff60864bfb Mon Sep 17 00:00:00 2001 From: Teacher_Dong Date: Wed, 20 Dec 2023 06:56:22 +0000 Subject: [PATCH 02/11] Signed-off-by: Teacher_Dong Signed-off-by: Teacher_Dong --- .../src/main/ets/Application/AbilityStage.ts | 13 +++++++++++++ .../entry/src/main/ets/FormAbility/FormAbility.ts | 13 +++++++++++++ .../entry/src/main/ets/MainAbility/MainAbility.ts | 13 +++++++++++++ .../src/main/ets/ServiceAbility/FormAbility.ts | 13 +++++++++++++ .../entry/src/main/ets/TestAbility/TestAbility.ts | 13 +++++++++++++ .../main/ets/TestRunner/OpenHarmonyTestRunner.ts | 13 +++++++++++++ localCoverage/resident_service/config/ams/ams.xml | 14 ++++++++++++++ .../resident_service/config/ams/foundation.xml | 14 ++++++++++++++ localCoverage/resident_service/config/bms/bms.xml | 14 ++++++++++++++ .../resident_service/config/bms/foundation.xml | 14 ++++++++++++++ .../resident_service/config/call/call.xml | 14 ++++++++++++++ .../resident_service/config/call/foundation.xml | 14 ++++++++++++++ localCoverage/resident_service/config/fms/fms.xml | 14 ++++++++++++++ .../resident_service/config/fms/foundation.xml | 14 ++++++++++++++ .../config/notification/foundation.xml | 14 ++++++++++++++ .../config/notification/notification.xml | 14 ++++++++++++++ .../resident_service/config/power/foundation.xml | 14 ++++++++++++++ .../resident_service/config/power/power.xml | 14 ++++++++++++++ .../resident_service/config/state/foundation.xml | 14 ++++++++++++++ .../resident_service/config/state/state.xml | 15 +++++++++++++++ .../resident_service/config/wms/foundation.xml | 14 ++++++++++++++ localCoverage/resident_service/config/wms/wms.xml | 14 ++++++++++++++ 22 files changed, 303 insertions(+) diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts index 379bc0b..7bfbd26 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 AbilityStage from "@ohos.app.ability.AbilityStage" export default class MyAbilityStage extends AbilityStage { diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts index d443631..9ecccf5 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 FormExtension from '@ohos.app.form.FormExtensionAbility'; import formBindingData from '@ohos.application.formBindingData'; import formInfo from '@ohos.application.formInfo'; diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts index 6ee21a3..fee6e6b 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 Ability from '@ohos.app.ability.UIAbility' export default class MainAbility extends Ability { diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts index d443631..9ecccf5 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 FormExtension from '@ohos.app.form.FormExtensionAbility'; import formBindingData from '@ohos.application.formBindingData'; import formInfo from '@ohos.application.formInfo'; diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts index 8f18d88..faf5796 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 Ability from '@ohos.app.ability.UIAbility' export default class TestAbility extends Ability { diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts index 42f9867..ac62f08 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -1,3 +1,16 @@ +// Copyright (c) 2020-2023 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 TestRunner from '@ohos.application.testRunner' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' diff --git a/localCoverage/resident_service/config/ams/ams.xml b/localCoverage/resident_service/config/ams/ams.xml index 9fbe4b6..08a709a 100644 --- a/localCoverage/resident_service/config/ams/ams.xml +++ b/localCoverage/resident_service/config/ams/ams.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/ams/foundation.xml b/localCoverage/resident_service/config/ams/foundation.xml index 6b8da40..6d72f7d 100644 --- a/localCoverage/resident_service/config/ams/foundation.xml +++ b/localCoverage/resident_service/config/ams/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/bms/bms.xml b/localCoverage/resident_service/config/bms/bms.xml index 6086c22..f62809a 100644 --- a/localCoverage/resident_service/config/bms/bms.xml +++ b/localCoverage/resident_service/config/bms/bms.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/bms/foundation.xml b/localCoverage/resident_service/config/bms/foundation.xml index 845b3c3..937cd46 100644 --- a/localCoverage/resident_service/config/bms/foundation.xml +++ b/localCoverage/resident_service/config/bms/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/call/call.xml b/localCoverage/resident_service/config/call/call.xml index e8d279d..c770b22 100644 --- a/localCoverage/resident_service/config/call/call.xml +++ b/localCoverage/resident_service/config/call/call.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/call/foundation.xml b/localCoverage/resident_service/config/call/foundation.xml index a8e632c..ec2485b 100644 --- a/localCoverage/resident_service/config/call/foundation.xml +++ b/localCoverage/resident_service/config/call/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/fms/fms.xml b/localCoverage/resident_service/config/fms/fms.xml index abecd76..62260d8 100644 --- a/localCoverage/resident_service/config/fms/fms.xml +++ b/localCoverage/resident_service/config/fms/fms.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/fms/foundation.xml b/localCoverage/resident_service/config/fms/foundation.xml index aae2385..80d83a9 100644 --- a/localCoverage/resident_service/config/fms/foundation.xml +++ b/localCoverage/resident_service/config/fms/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/notification/foundation.xml b/localCoverage/resident_service/config/notification/foundation.xml index ffcb838..51a7ace 100644 --- a/localCoverage/resident_service/config/notification/foundation.xml +++ b/localCoverage/resident_service/config/notification/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/notification/notification.xml b/localCoverage/resident_service/config/notification/notification.xml index 259bc9e..de830ad 100644 --- a/localCoverage/resident_service/config/notification/notification.xml +++ b/localCoverage/resident_service/config/notification/notification.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/power/foundation.xml b/localCoverage/resident_service/config/power/foundation.xml index 8df55e1..ae1f09f 100644 --- a/localCoverage/resident_service/config/power/foundation.xml +++ b/localCoverage/resident_service/config/power/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/power/power.xml b/localCoverage/resident_service/config/power/power.xml index a9f99c8..f703047 100644 --- a/localCoverage/resident_service/config/power/power.xml +++ b/localCoverage/resident_service/config/power/power.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/state/foundation.xml b/localCoverage/resident_service/config/state/foundation.xml index d72b395..3258ec3 100644 --- a/localCoverage/resident_service/config/state/foundation.xml +++ b/localCoverage/resident_service/config/state/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/state/state.xml b/localCoverage/resident_service/config/state/state.xml index 4fb86e2..da5e8e2 100644 --- a/localCoverage/resident_service/config/state/state.xml +++ b/localCoverage/resident_service/config/state/state.xml @@ -1,4 +1,19 @@ + + foundation diff --git a/localCoverage/resident_service/config/wms/foundation.xml b/localCoverage/resident_service/config/wms/foundation.xml index f653b6f..f18658b 100644 --- a/localCoverage/resident_service/config/wms/foundation.xml +++ b/localCoverage/resident_service/config/wms/foundation.xml @@ -1,4 +1,18 @@ + foundation diff --git a/localCoverage/resident_service/config/wms/wms.xml b/localCoverage/resident_service/config/wms/wms.xml index e74b72e..cc0d09a 100644 --- a/localCoverage/resident_service/config/wms/wms.xml +++ b/localCoverage/resident_service/config/wms/wms.xml @@ -1,4 +1,18 @@ + foundation -- Gitee From 413e6541f72c2b019fc326a7c6557e8c237f696b Mon Sep 17 00:00:00 2001 From: Teacher_Dong Date: Wed, 20 Dec 2023 16:18:51 +0800 Subject: [PATCH 03/11] Signed-off-by:Teacher_Dong --- localCoverage/all_subsystem_config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/localCoverage/all_subsystem_config.json b/localCoverage/all_subsystem_config.json index 6682da9..a07be74 100644 --- a/localCoverage/all_subsystem_config.json +++ b/localCoverage/all_subsystem_config.json @@ -1217,10 +1217,10 @@ "vendor/huawei/base/hiviewdfx/hiview_plugins/boot_detector_plugin" ] }, - "bundle_framework_ext": { - "name": "bundle_framework_ext", + "bundle_adapter": { + "name": "bundle_adapter", "path": [ - "vendor/huawei/foundation/bundlemanager/bundle_framework_ext" + "vendor/huawei/foundation/bundlemanager/bundle_adapter" ] }, "advanced_ui_component": { -- Gitee From 52c8368c9fbc2ed07315a530f4c5618a69354f8c Mon Sep 17 00:00:00 2001 From: Teacher_Dong Date: Thu, 21 Dec 2023 02:56:00 +0000 Subject: [PATCH 04/11] Signed-off-by: Teacher_Dong Signed-off-by: Teacher_Dong --- .../entry/src/main/ets/Application/AbilityStage.ts | 2 +- .../entry/src/main/ets/FormAbility/FormAbility.ts | 2 +- .../entry/src/main/ets/MainAbility/MainAbility.ts | 2 +- .../entry/src/main/ets/ServiceAbility/FormAbility.ts | 2 +- .../entry/src/main/ets/TestAbility/TestAbility.ts | 2 +- .../entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts | 2 +- localCoverage/resident_service/config/ams/ams.xml | 2 +- localCoverage/resident_service/config/ams/foundation.xml | 2 +- localCoverage/resident_service/config/bms/bms.xml | 2 +- localCoverage/resident_service/config/bms/foundation.xml | 2 +- localCoverage/resident_service/config/call/call.xml | 2 +- localCoverage/resident_service/config/call/foundation.xml | 2 +- localCoverage/resident_service/config/fms/fms.xml | 2 +- localCoverage/resident_service/config/fms/foundation.xml | 2 +- .../resident_service/config/notification/foundation.xml | 2 +- .../resident_service/config/notification/notification.xml | 2 +- localCoverage/resident_service/config/power/foundation.xml | 2 +- localCoverage/resident_service/config/power/power.xml | 2 +- localCoverage/resident_service/config/state/foundation.xml | 2 +- localCoverage/resident_service/config/state/state.xml | 2 +- localCoverage/resident_service/config/wms/foundation.xml | 2 +- localCoverage/resident_service/config/wms/wms.xml | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts index 7bfbd26..e0732e9 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/Application/AbilityStage.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts index 9ecccf5..0c95f0e 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/FormAbility/FormAbility.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts index fee6e6b..3141c2e 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/MainAbility/MainAbility.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts index 9ecccf5..0c95f0e 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/ServiceAbility/FormAbility.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts index faf5796..730e694 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestAbility/TestAbility.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts index ac62f08..f314906 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2023 Huawei Device Co., Ltd. +// Copyright (c) 2023 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/localCoverage/resident_service/config/ams/ams.xml b/localCoverage/resident_service/config/ams/ams.xml index 08a709a..64894c7 100644 --- a/localCoverage/resident_service/config/ams/ams.xml +++ b/localCoverage/resident_service/config/ams/ams.xml @@ -1,5 +1,5 @@ -