diff --git a/customization/TestExtensionAbility_001/BUILD.gn b/customization/TestExtensionAbility_001/BUILD.gn index 317388a5ace8db64adfb47ec106c7a7594cec1cc..3370320005572208b4d69c6cf6672fac2d5e1e02 100644 --- a/customization/TestExtensionAbility_001/BUILD.gn +++ b/customization/TestExtensionAbility_001/BUILD.gn @@ -23,6 +23,8 @@ ohos_js_hap_suite("ExtensionZeroTest") { ets2abc = true certificate_profile = "signature/openharmony_sx.p7b" hap_name = "ExtensionZeroTest" + subsystem_name = "customization" + part_name = "enterprise_device_management" } ohos_app_scope("extensionZeroTest_app_profile") { diff --git a/customization/edm_xts_stage/BUILD.gn b/customization/edm_xts_stage/BUILD.gn index 3ea3356b0e4bff97091a0f2f1446c067417eeb4e..6611cff4e8d55f998fac2d5bd86087f36525ee97 100644 --- a/customization/edm_xts_stage/BUILD.gn +++ b/customization/edm_xts_stage/BUILD.gn @@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsEdmTest") { ets2abc = true certificate_profile = "signature/openharmony_sx.p7b" hap_name = "ActsEdmTest" + subsystem_name = "customization" + part_name = "enterprise_device_management" } ohos_app_scope("edm_app_profile") { diff --git a/global/global_napi_test/BUILD.gn b/global/global_napi_test/BUILD.gn index 9278b3813642c484c3f94206fabded0abcd4218b..ffd103b0402d7f08c9f91d328fbc19163bebd89f 100644 --- a/global/global_napi_test/BUILD.gn +++ b/global/global_napi_test/BUILD.gn @@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsGlobalNapiTest") { ets2abc = true certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsGlobalNapiTest" + subsystem_name = "global" + part_name = "resource_management" shared_libraries = [ "./entry/src/main/cpp:resmgrndk" ] } diff --git a/global/global_napi_test/entry/src/main/cpp/napi/test_string.cpp b/global/global_napi_test/entry/src/main/cpp/napi/test_string.cpp index 132a1dff2ec69c2e85ed6740d791893b9ea93527..f67746b4f1728b9df915cb01409528e7d116eb40 100644 --- a/global/global_napi_test/entry/src/main/cpp/napi/test_string.cpp +++ b/global/global_napi_test/entry/src/main/cpp/napi/test_string.cpp @@ -243,7 +243,7 @@ namespace OHOS { static napi_value Init(napi_env env, napi_value exports) { napi_property_descriptor desc[] = { - { "add", nullptr, GetResourceManager, nullptr, nullptr, nullptr, napi_default, nullptr } + { "testRawFile", nullptr, GetResourceManager, nullptr, nullptr, nullptr, napi_default, nullptr } }; napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); return exports; diff --git a/global/i18n_standard/intljs/BUILD.gn b/global/i18n_standard/intljs/BUILD.gn index 8c39313bb41206f898474e24d6129dfa2682a7fd..951ddbf1d6d6d20bb7f4fc201ad543596cb295e8 100644 --- a/global/i18n_standard/intljs/BUILD.gn +++ b/global/i18n_standard/intljs/BUILD.gn @@ -9,7 +9,7 @@ # 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. +# limitations under the License. import("//test/xts/tools/build/suite.gni") @@ -21,6 +21,8 @@ ohos_js_hap_suite("intljs_test") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsIntlJsTest" + subsystem_name = "global" + part_name = "i18n" } ohos_js_assets("intljs_assets") { js2abc = true diff --git a/global/perf/perfjs/BUILD.gn b/global/perf/perfjs/BUILD.gn index 3315c21101227333fe4169dc022bd6ec6ced063d..b79ecd6e3a852ed27f42bd848ae49b7dc75ddecf 100644 --- a/global/perf/perfjs/BUILD.gn +++ b/global/perf/perfjs/BUILD.gn @@ -9,7 +9,7 @@ # 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. +# limitations under the License. import("//test/xts/tools/build/suite.gni") @@ -21,6 +21,8 @@ ohos_js_hap_suite("perfjs_test") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsGlobalPerfJsTest" + subsystem_name = "global" + part_name = "i18n" } ohos_js_assets("perfjs_assets") { js2abc = true diff --git a/global/resmgr_standard/resmgrjs/BUILD.gn b/global/resmgr_standard/resmgrjs/BUILD.gn index 6689c401dd5aa4d20629bbc2d1e01f231936988e..2e3e7f1783770d14726946a63fda94dd0dd0e740 100644 --- a/global/resmgr_standard/resmgrjs/BUILD.gn +++ b/global/resmgr_standard/resmgrjs/BUILD.gn @@ -9,7 +9,7 @@ # 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. +# limitations under the License. import("//test/xts/tools/build/suite.gni") @@ -21,6 +21,8 @@ ohos_js_hap_suite("resmgrjs_test") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsResMgrJsTest" + subsystem_name = "global" + part_name = "resource_management" } ohos_js_assets("resmgrjs_assets") { js2abc = true