diff --git a/msdp/msdpdevicestatus/BUILD.gn b/msdp/msdpdevicestatus/BUILD.gn index 4f5eef4ab7e0f215ede00227774ce35d29096108..9e1ac53125c5781ad5e0b010bb89b1881ecda4de 100644 --- a/msdp/msdpdevicestatus/BUILD.gn +++ b/msdp/msdpdevicestatus/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Huawei Device Co., Ltd. +# Copyright (C) 2022 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 @@ -21,6 +21,9 @@ ohos_js_hap_suite("msdp_devicestatus_test") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsMsdpDeviceStatusTest" + + subsystem_name = "msdp" + part_name = "devicestatus" } ohos_js_assets("msdp_devicestatus_js_assets") { source_dir = "./src/main/js/default" diff --git a/msdp/msdpdevicestatus/src/main/js/default/test/DeviceStatus.test.js b/msdp/msdpdevicestatus/src/main/js/default/test/DeviceStatus.test.js index 0690b18b3e58617643fed2c773e70a3fb3c363fa..5bfb868b4c926c8899e8b8f85df02b29e5d40425 100644 --- a/msdp/msdpdevicestatus/src/main/js/default/test/DeviceStatus.test.js +++ b/msdp/msdpdevicestatus/src/main/js/default/test/DeviceStatus.test.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 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