From 4bfcc57c5e4b736f792c2b25d61724c30efa14b5 Mon Sep 17 00:00:00 2001 From: inter515 Date: Fri, 19 May 2023 18:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B5=8B=E8=AF=95=E5=A5=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../bundle_standard/bundlemanager/BUILD.gn | 1 + .../actsbundlenativeninthapitest/BUILD.gn | 47 ++++++++ .../actsbundlenativeninthapitest/Test.json | 19 ++++ .../entry/node_modules/.package-lock.json | 14 +++ .../entry/node_modules/libbundlendk1.so | 1 + .../entry/package-lock.json | 24 +++++ .../entry/package.json | 6 ++ .../entry/src/main/config.json | 100 ++++++++++++++++++ .../entry/src/main/cpp/BUILD.gn | 46 ++++++++ .../entry/src/main/cpp/CMakeLists.txt | 11 ++ .../entry/src/main/cpp/bundlendk1.cpp | 61 +++++++++++ .../main/cpp/types/libbundlendk1/index.d.ts | 1 + .../main/cpp/types/libbundlendk1/package.json | 4 + .../src/main/cpp/types/libentry/index.d.ts | 1 + .../src/main/cpp/types/libentry/package.json | 4 + .../entry/src/main/ets/MainAbility/app.ets | 32 ++++++ .../src/main/ets/MainAbility/pages/index.ets | 36 +++++++ .../entry/src/main/ets/TestAbility/app.ets | 32 ++++++ .../src/main/ets/TestAbility/pages/index.ets | 49 +++++++++ .../ets/TestRunner/OpenHarmonyTestRunner.ts | 77 ++++++++++++++ .../src/main/ets/test/BudnleNdkNativeTest.ets | 40 +++++++ .../entry/src/main/ets/test/List.test.ets | 19 ++++ .../main/resources/base/element/string.json | 20 ++++ .../src/main/resources/base/media/icon.png | Bin 0 -> 6790 bytes .../signature/openharmony_sx.p7b | Bin 0 -> 3465 bytes 25 files changed, 645 insertions(+) create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/Test.json create mode 100644 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/.package-lock.json create mode 120000 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/libbundlendk1.so create mode 100644 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package-lock.json create mode 100644 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package.json create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/config.json create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/CMakeLists.txt create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/bundlendk1.cpp create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/index.d.ts create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/package.json create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/index.d.ts create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/package.json create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/app.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/pages/index.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/app.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/pages/index.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/BudnleNdkNativeTest.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/List.test.ets create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/element/string.json create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/media/icon.png create mode 100755 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/signature/openharmony_sx.p7b diff --git a/bundlemanager/bundle_standard/bundlemanager/BUILD.gn b/bundlemanager/bundle_standard/bundlemanager/BUILD.gn index 0ec51b147..ea549819b 100644 --- a/bundlemanager/bundle_standard/bundlemanager/BUILD.gn +++ b/bundlemanager/bundle_standard/bundlemanager/BUILD.gn @@ -29,6 +29,7 @@ group("bundlemanager") { "actsbundlemanageroverlaytest:ActsBundleMgrOverlayEtsTest", "actsbundlemanagerstagetest:ActsBundleMgrStageEtsTest", "actsbundlemanagertest:ActsBundleManagerTest", + "actsbundlenativeninthapitest:ActsBundleNativeNinthApiTest", "actsbundlenativetest:ActsBundleNativeTest", "sceneProject/bmsaccesstokenfive:bmsAccessTokenTest5", "sceneProject/bmsaccesstokenfour:bmsAccessTokenTest4", diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn new file mode 100755 index 000000000..c66800952 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn @@ -0,0 +1,47 @@ +# 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 +# +# 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("//build/ohos.gni") +import("//test/xts/tools/build/suite.gni") +ohos_js_hap_suite("ActsBundleNativeNinthApiTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":ace_third_ets_assets", + ":ace_third_ets_resources", + ":ace_third_ets_test_assets", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsBundleNativeNinthApiTest" + subsystem_name = "bundlemanager" + part_name = "bundle_framework" + shared_libraries = [ + "./entry/src/main/cpp:bundlendk1", + ":libcppsharedso", + ] +} + +ohos_prebuilt_shared_library("libcppsharedso") { + source = rebase_path(libcxx_ndk_shared_file) +} + +ohos_js_assets("ace_third_ets_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_js_assets("ace_third_ets_test_assets") { + source_dir = "./entry/src/main/ets/TestAbility" +} +ohos_resources("ace_third_ets_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/Test.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/Test.json new file mode 100755 index 000000000..2e34b83c0 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/Test.json @@ -0,0 +1,19 @@ +{ + "description": "Configuration for hjunit demo Tests", + "driver": { + "type": "OHJSUnitTest", + "test-timeout": "600000", + "bundle-name": "com.actsbundle.napitest", + "package-name": "com.actsbundle.napitest", + "shell-timeout": "600000" + }, + "kits": [ + { + "test-file-name": [ + "ActsBundleNativeNinthApiTest.hap" + ], + "type": "AppInstallKit", + "cleanup-apps": true + } + ] +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/.package-lock.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/.package-lock.json new file mode 100644 index 000000000..32005c01c --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/.package-lock.json @@ -0,0 +1,14 @@ +{ + "name": "entry", + "lockfileVersion": 2, + "requires": true, + "packages": { + "node_modules/libbundlendk1.so": { + "resolved": "src/main/cpp/types/libbundlendk1", + "link": true + }, + "src/main/cpp/types/libbundlendk1": { + "dev": true + } + } +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/libbundlendk1.so b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/libbundlendk1.so new file mode 120000 index 000000000..47b3aa289 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/node_modules/libbundlendk1.so @@ -0,0 +1 @@ +../src/main/cpp/types/libbundlendk \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package-lock.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package-lock.json new file mode 100644 index 000000000..01e6cde67 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "entry", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "devDependencies": { + "libbundlendk1.so": "file:./src/main/cpp/types/libbundlendk1" + } + }, + "node_modules/libbundlendk1.so": { + "resolved": "src/main/cpp/types/libbundlendk1", + "link": true + }, + "src/main/cpp/types/libbundlendk1": { + "dev": true + } + }, + "dependencies": { + "libbundlendk1.so": { + "version": "file:src/main/cpp/types/libbundlendk1" + } + } +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package.json new file mode 100644 index 000000000..d39096213 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/package.json @@ -0,0 +1,6 @@ +{ + "name": "entry", + "devDependencies": { + "libbundlendk1.so": "file:./src/main/cpp/types/libbundlendk1" + } +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/config.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/config.json new file mode 100755 index 000000000..88fd1cce2 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/config.json @@ -0,0 +1,100 @@ +{ + "app": { + "bundleName": "com.actsbundle.napitest", + "vendor": "open", + "version": { + "code": 1000000, + "name": "1.0.0" + }, + "apiVersion": { + "compatible": 9, + "releaseType": "Release", + "target": 9 + } + }, + "deviceConfig": {}, + "module": { + "package": "com.actsbundle.napitest", + "name": ".MyApplication", + "mainAbility": "com.actsbundle.napitest.MainAbility", + + "deviceType": [ + "default", + "tablet" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry", + "installationFree": false + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "orientation": "unspecified", + "visible": true, + "srcPath": "MainAbility", + "name": ".MainAbility", + "srcLanguage": "ets", + "icon": "$media:icon", + "description": "$string:description_mainability", + "formsEnabled": false, + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard" + }, + { + "orientation": "unspecified", + "visible": true, + "srcPath": "TestAbility", + "name": ".TestAbility", + "srcLanguage": "ets", + "icon": "$media:icon", + "description": "$string:TestAbility_desc", + "formsEnabled": false, + "label": "$string:TestAbility_label", + "type": "page", + "launchType": "standard" + } + ], + "js": [ + { + "mode": { + "syntax": "ets", + "type": "pageAbility" + }, + "pages": [ + "pages/index" + ], + "name": ".MainAbility", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + }, + { + "mode": { + "syntax": "ets", + "type": "pageAbility" + }, + "pages": [ + "pages/index" + ], + "name": ".TestAbility", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + } + ] + } +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn new file mode 100755 index 000000000..e8f63f06e --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn @@ -0,0 +1,46 @@ +# 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 +# +# 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("//build/config/ohos/config.gni") +import("//build/ohos.gni") + +config("config") { + visibility = [ ":*" ] + + cflags = [ + "-Wall", + "-Werror", + "-g3", + "-Wunused-variable", + ] +} + +config("public_config") { +} + +ohos_shared_library("bundlendk1") { + sources = [ "./bundlendk1.cpp" ] + if (!(product_name == "m40")) { + libs = [ rebase_path(libcxx_ndk_shared_file) ] + } + + include_dirs = [ "//test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp" ] + configs = [ ":config" ] + + deps = [ + "//foundation/arkui/napi:ace_napi", + "//foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle:bundle_ndk", + ] + + output_extension = "so" +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/CMakeLists.txt b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/CMakeLists.txt new file mode 100755 index 000000000..ac0fdcd78 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/CMakeLists.txt @@ -0,0 +1,11 @@ +# the minimum version of CMake. +cmake_minimum_required(VERSION 3.4.1) +project(XComponent) + +set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}) + +include_directories(${NATIVERENDER_ROOT_PATH} + ${NATIVERENDER_ROOT_PATH}/include) + +add_library(bundlendk SHARED bundlendk1.cpp) +target_link_libraries(bundlendk PUBLIC libace_napi.z.so libc++.a libbundle_ndk.z.so ) \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/bundlendk1.cpp b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/bundlendk1.cpp new file mode 100755 index 000000000..aa7f8fa35 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/bundlendk1.cpp @@ -0,0 +1,61 @@ +/* + * 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 + * + * 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. + */ + +#include "napi/native_api.h" +#include "native_interface_bundle.h" + +#include +#include + +static napi_value GetCurrentApplicationInfo(napi_env env, napi_callback_info info) +{ + OH_NativeBundle_ApplicationInfo nativeApplicationInfo = OH_NativeBundle_GetCurrentApplicationInfo(); + napi_value result = nullptr; + napi_create_object(env, &result); + napi_value bundleName; + napi_create_string_utf8(env, nativeApplicationInfo.bundleName, NAPI_AUTO_LENGTH, &bundleName); + napi_set_named_property(env, result, "bundleName", bundleName); + napi_value fingerprint; + napi_create_string_utf8(env, nativeApplicationInfo.fingerprint, NAPI_AUTO_LENGTH, &fingerprint); + napi_set_named_property(env, result, "fingerprint", fingerprint); + return result; +} + +EXTERN_C_START +static napi_value Init(napi_env env, napi_value exports) +{ + napi_property_descriptor desc[] = { + { "getCurrentApplicationInfo", nullptr, GetCurrentApplicationInfo, + nullptr, nullptr, nullptr, napi_default, nullptr } + }; + napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); + return exports; +} +EXTERN_C_END + +static napi_module demoModule = { + .nm_version =1, + .nm_flags = 0, + .nm_filename = nullptr, + .nm_register_func = Init, + .nm_modname = "libbundlendk1", + .nm_priv = ((void*)0), + .reserved = { 0 }, +}; + +extern "C" __attribute__((constructor)) void RegisterModule(void) +{ + napi_module_register(&demoModule); +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/index.d.ts b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/index.d.ts new file mode 100755 index 000000000..2db28b1c1 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/index.d.ts @@ -0,0 +1 @@ +export const getCurrentApplicationInfo: () => any; diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/package.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/package.json new file mode 100755 index 000000000..ebbffc575 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libbundlendk1/package.json @@ -0,0 +1,4 @@ +{ + "name": "libbundlendk1.so", + "types": "./index.d.ts" +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/index.d.ts b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/index.d.ts new file mode 100755 index 000000000..795a989d6 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/index.d.ts @@ -0,0 +1 @@ +export const GetCurrentApplicationInfo: () => object; \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/package.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/package.json new file mode 100755 index 000000000..6cf8257ac --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/types/libentry/package.json @@ -0,0 +1,4 @@ +{ + "name": "libbundlendk1.so", + "types": "./index.d.ts" +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/app.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/app.ets new file mode 100755 index 000000000..6943b8ca5 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/app.ets @@ -0,0 +1,32 @@ +/** + * 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 + * + * 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 AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' +import { Hypium } from 'hypium/index' +import testsuite from '../test/List.test' + +export default { + onCreate() { + console.info('Application onCreate') + var abilityDelegator: any + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + var abilityDelegatorArguments: any + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + console.info('start run testcase!!!') + Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) + }, + onDestroy() { + console.info('Application onDestroy') + }, +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/pages/index.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/pages/index.ets new file mode 100755 index 000000000..4d3ee125e --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/MainAbility/pages/index.ets @@ -0,0 +1,36 @@ +/** + * 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 + * + * 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. + */ + +@Entry +@Component +struct MyComponent { + aboutToAppear() { + } + + build() { + Flex({ + direction: FlexDirection.Column, + alignItems: ItemAlign.Center, + justifyContent: FlexAlign.Center + }) { + Text('BMS ETS TEST') + .fontSize(50) + .fontWeight(FontWeight.Bold) + } + .width('100%') + .height('100%') + } +} + diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/app.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/app.ets new file mode 100755 index 000000000..6943b8ca5 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/app.ets @@ -0,0 +1,32 @@ +/** + * 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 + * + * 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 AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' +import { Hypium } from 'hypium/index' +import testsuite from '../test/List.test' + +export default { + onCreate() { + console.info('Application onCreate') + var abilityDelegator: any + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + var abilityDelegatorArguments: any + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + console.info('start run testcase!!!') + Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) + }, + onDestroy() { + console.info('Application onDestroy') + }, +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/pages/index.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/pages/index.ets new file mode 100755 index 000000000..9c1dd7994 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestAbility/pages/index.ets @@ -0,0 +1,49 @@ +/** + * 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 + * + * 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 router from '@system.router'; + +@Entry +@Component +struct Index { + aboutToAppear() { + console.info('TestAbility index aboutToAppear') + } + + @State message: string = 'Hello World' + build() { + Row() { + Column() { + Text(this.message) + .fontSize(50) + .fontWeight(FontWeight.Bold) + Button() { + Text('next page') + .fontSize(20) + .fontWeight(FontWeight.Bold) + }.type(ButtonType.Capsule) + .margin({ + top: 20 + }) + .backgroundColor('#0D9FFB') + .width('35%') + .height('5%') + .onClick(()=>{ + }) + } + .width('100%') + } + .height('100%') + } + } \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts new file mode 100755 index 000000000..fca0b3390 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -0,0 +1,77 @@ +/** + * 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 + * + * 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' + +var abilityDelegator = undefined +var abilityDelegatorArguments = undefined + +function translateParamsToString(parameters) { + const keySet = new Set([ + '-s class', '-s notClass', '-s suite', '-s itName', + '-s level', '-s testType', '-s size', '-s timeout', + '-s package' + ]) + let targetParams = ''; + for (const key in parameters) { + if (keySet.has(key)) { + targetParams += ' ' + key + ' ' + parameters[key] + } + } + return targetParams.trim() +} + +async function onAbilityCreateCallback() { + console.log('onAbilityCreateCallback'); +} + +async function addAbilityMonitorCallback(err: any) { + console.info('addAbilityMonitorCallback : ' + JSON.stringify(err)) +} + +export default class OpenHarmonyTestRunner implements TestRunner { + constructor() { + } + + onPrepare() { + console.info('OpenHarmonyTestRunner OnPrepare') + } + + onRun() { + console.log('OpenHarmonyTestRunner onRun run') + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + + let lMonitor = { + abilityName: testAbilityName, + onAbilityCreate: onAbilityCreateCallback, + }; + var testAbilityName = abilityDelegatorArguments.parameters['-p'] + '.MainAbility' + abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) + var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName + cmd += ' '+translateParamsToString(abilityDelegatorArguments.parameters) + console.info('cmd : '+cmd) + abilityDelegator.executeShellCommand(cmd, + (err: any, d: any) => { + console.info('executeShellCommand : err : ' + JSON.stringify(err)); + console.info('executeShellCommand : data : ' + d.stdResult); + console.info('executeShellCommand : data : ' + d.exitCode); + }) + console.info('OpenHarmonyTestRunner onRun call abilityDelegator.getAppContext') + var context = abilityDelegator.getAppContext() + console.info('getAppContext : ' + JSON.stringify(context)) + console.info('OpenHarmonyTestRunner onRun end') + } +}; \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/BudnleNdkNativeTest.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/BudnleNdkNativeTest.ets new file mode 100755 index 000000000..2febd3275 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/BudnleNdkNativeTest.ets @@ -0,0 +1,40 @@ +/* + * 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 + * + * 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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index" +// @ts-ignore +import bundlendk from 'libbundlendk1.so' + +const BUNDLE_NAME = "com.actsbundle.napitest" +const FINGER_PRINT = "8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5" + +export default function budnleNdkNativeTest() { + describe('BundleNdkTest', function () { + + /** + * @tc.number SUB_BMS_BASIC_ETS_NATIVE_0200 + * @tc.name budnleNdkNativeTest002 + * @tc.desc budnleNdkNativeTest + */ + it('BundleNdkTest002', 0, async function (done) { + let data = bundlendk.getCurrentApplicationInfo(); + console.info("Test NAPI data= " + JSON.stringify(data)); + expect(data.bundleName).assertEqual(BUNDLE_NAME); + expect(data.fingerprint).assertEqual(FINGER_PRINT); + done() + }); + + }) +} diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/List.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/List.test.ets new file mode 100755 index 000000000..0b91b9475 --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/ets/test/List.test.ets @@ -0,0 +1,19 @@ +/* + * 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 + * + * 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 budnleNdkNativeTest from './BudnleNdkNativeTest'; + +export default function testsuite() { + budnleNdkNativeTest() +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/element/string.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/element/string.json new file mode 100755 index 000000000..498677efb --- /dev/null +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/element/string.json @@ -0,0 +1,20 @@ +{ + "string": [ + { + "name": "entry_MainAbility", + "value": "entry_MainAbility" + }, + { + "name": "description_mainability", + "value": "ETS_Empty Ability" + }, + { + "name": "TestAbility_desc", + "value": "description" + }, + { + "name": "TestAbility_label", + "value": "label" + } + ] +} \ No newline at end of file diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/media/icon.png b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/resources/base/media/icon.png new file mode 100755 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c GIT binary patch literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_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