Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
6f2f82fc
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6f2f82fc
编写于
7月 25, 2022
作者:
耿
耿文广
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增包管理native接口工程模板
Signed-off-by:
N
耿文广
<
gengwenguang@huawei.com
>
上级
eb83435d
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
199 addition
and
143 deletion
+199
-143
bundlemanager/bundle_standard/bundlemanager/BUILD.gn
bundlemanager/bundle_standard/bundlemanager/BUILD.gn
+1
-1
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/BUILD.gn
...ndle_standard/bundlemanager/actsbundlenativetest/BUILD.gn
+16
-4
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/Test.json
...dle_standard/bundlemanager/actsbundlenativetest/Test.json
+3
-3
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/config.json
...lemanager/actsbundlenativetest/entry/src/main/config.json
+4
-4
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/BUILD.gn
...emanager/actsbundlenativetest/entry/src/main/cpp/BUILD.gn
+52
-50
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/CMakeLists.txt
...er/actsbundlenativetest/entry/src/main/cpp/CMakeLists.txt
+11
-11
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/bundlendk.cpp
...ger/actsbundlenativetest/entry/src/main/cpp/bundlendk.cpp
+61
-0
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/teststring.cpp
...er/actsbundlenativetest/entry/src/main/cpp/teststring.cpp
+0
-53
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/types/libentry/index.d.ts
...lenativetest/entry/src/main/cpp/types/libentry/index.d.ts
+1
-1
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/types/libentry/package.json
...nativetest/entry/src/main/cpp/types/libentry/package.json
+2
-2
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/MainAbility/app.ets
...tsbundlenativetest/entry/src/main/ets/MainAbility/app.ets
+1
-2
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/MainAbility/pages/index.ets
...nativetest/entry/src/main/ets/MainAbility/pages/index.ets
+2
-3
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestAbility/app.ets
...tsbundlenativetest/entry/src/main/ets/TestAbility/app.ets
+1
-2
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestAbility/pages/index.ets
...nativetest/entry/src/main/ets/TestAbility/pages/index.ets
+1
-2
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
...st/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
+1
-2
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/test/BudnleNdkNativeTest.ets
...ativetest/entry/src/main/ets/test/BudnleNdkNativeTest.ets
+39
-0
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/test/List.test.ets
...ctsbundlenativetest/entry/src/main/ets/test/List.test.ets
+3
-3
未找到文件。
bundlemanager/bundle_standard/bundlemanager/BUILD.gn
浏览文件 @
6f2f82fc
...
...
@@ -28,7 +28,7 @@ group("bundlemanager") {
"actsbmsstageetstest:ActBmsStageEtsTest",
"actsbundlemanageretstest:ActsBundleManagerEtsTest",
"actsbundlemanagertest:ActsBundleManagerTest",
"actsbundlenativetest:ActsB
msNapiEts
Test",
"actsbundlenativetest:ActsB
undleNative
Test",
"sceneProject/bmsaccesstokenfive:bmsAccessTokenTest5",
"sceneProject/bmsaccesstokenfour:bmsAccessTokenTest4",
"sceneProject/bmsaccesstokenone:bmsAccessTokenTest1",
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/BUILD.gn
浏览文件 @
6f2f82fc
# Copyright (c) 202
1
Huawei Device Co., Ltd.
# Copyright (c) 202
2
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
...
...
@@ -13,7 +13,7 @@
import("//build/ohos.gni")
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsB
msNapiEts
Test") {
ohos_js_hap_suite("ActsB
undleNative
Test") {
hap_profile = "./entry/src/main/config.json"
deps = [
":ace_third_ets_assets",
...
...
@@ -22,8 +22,20 @@ ohos_js_hap_suite("ActsBmsNapiEtsTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsBmsNapiEtsTest"
shared_libraries = [ "./entry/src/main/cpp:teststring" ]
hap_name = "ActsBundleNativeTest"
shared_libraries = [ "./entry/src/main/cpp:bundlendk" ]
}
ohos_prebuilt_shared_library("libcppsharedso") {
if (!(product_name == "m40")) {
if (target_cpu == "arm") {
source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so"
} else if (target_cpu == "arm64") {
source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so"
} else {
source = " "
}
}
}
ohos_js_assets("ace_third_ets_assets") {
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/Test.json
浏览文件 @
6f2f82fc
...
...
@@ -3,14 +3,14 @@
"driver"
:
{
"type"
:
"OHJSUnitTest"
,
"test-timeout"
:
"600000"
,
"bundle-name"
:
"com.
example.native
test"
,
"package-name"
:
"com.
example.native
test"
,
"bundle-name"
:
"com.
actsbundle.napi
test"
,
"package-name"
:
"com.
actsbundle.napi
test"
,
"shell-timeout"
:
"600000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsB
msNapiEts
Test.hap"
"ActsB
undleNative
Test.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/config.json
浏览文件 @
6f2f82fc
{
"app"
:
{
"bundleName"
:
"com.
example.native
test"
,
"vendor"
:
"
example
"
,
"bundleName"
:
"com.
actsbundle.napi
test"
,
"vendor"
:
"
open
"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
...
...
@@ -14,9 +14,9 @@
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.
example.native
test"
,
"package"
:
"com.
actsbundle.napi
test"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"com.
example.native
test.MainAbility"
,
"mainAbility"
:
"com.
actsbundle.napi
test.MainAbility"
,
"deviceType"
:
[
"phone"
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/BUILD.gn
浏览文件 @
6f2f82fc
# 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
#
# 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")
import("//foundation/arkui/napi/napi.gni")
config("config") {
visibility = [ ":*" ]
cflags = [
"-Wall",
"-Werror",
"-g3",
"-Wunused-variable",
]
}
config("public_config") {
}
ohos_shared_library("teststring") {
sources = [ "./teststring.cpp" ]
if (!(product_name == "m40")) {
if (target_cpu == "arm") {
libs = [ "${clang_base_path}/../libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" ]
} else if (target_cpu == "arm64") {
libs = [ "${clang_base_path}/../libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so" ]
} else {
libs = []
}
}
include_dirs = [ "//test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp" ]
configs = [ ":config" ]
deps = [ "//foundation/arkui/napi:ace_napi" ]
output_extension = "so"
}
# 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("bundlendk") {
sources = [ "./bundlendk.cpp" ]
if (!(product_name == "m40")) {
if (target_cpu == "arm") {
libs = [ "${clang_base_path}/../libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" ]
} else if (target_cpu == "arm64") {
libs = [ "${clang_base_path}/../libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so" ]
} else {
libs = []
}
}
include_dirs = [ "//test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/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"
}
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/CMakeLists.txt
浏览文件 @
6f2f82fc
# 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
(
teststring SHARED teststring.cpp
)
target_link_libraries
(
teststring PUBLIC libace_nap i.z.so libc++.a
)
\ No newline at end of file
# 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 bundlendk.cpp
)
target_link_libraries
(
bundlendk PUBLIC libace_napi.z.so libc++.a libbundle_ndk.z.so
)
\ No newline at end of file
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/bundlendk.cpp
0 → 100755
浏览文件 @
6f2f82fc
/*
* 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 <cstdlib>
#include <js_native_api_types.h>
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
=
"libbundlendk"
,
.
nm_priv
=
((
void
*
)
0
),
.
reserved
=
{
0
},
};
extern
"C"
__attribute__
((
constructor
))
void
RegisterModule
(
void
)
{
napi_module_register
(
&
demoModule
);
}
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/teststring.cpp
已删除
100755 → 0
浏览文件 @
eb83435d
#include "napi/native_api.h"
static
napi_value
Add
(
napi_env
env
,
napi_callback_info
info
)
{
size_t
argc
=
2
;
napi_value
args
[
2
]
=
{
nullptr
};
napi_get_cb_info
(
env
,
info
,
&
argc
,
args
,
nullptr
,
nullptr
);
napi_valuetype
valuetype0
;
napi_typeof
(
env
,
args
[
0
],
&
valuetype0
);
napi_valuetype
valuetype1
;
napi_typeof
(
env
,
args
[
1
],
&
valuetype1
);
double
value0
;
napi_get_value_double
(
env
,
args
[
0
],
&
value0
);
double
value1
;
napi_get_value_double
(
env
,
args
[
1
],
&
value1
);
napi_value
sum
;
napi_create_double
(
env
,
value0
+
value1
,
&
sum
);
return
sum
;
}
EXTERN_C_START
static
napi_value
Init
(
napi_env
env
,
napi_value
exports
)
{
napi_property_descriptor
desc
[]
=
{
{
"add"
,
nullptr
,
Add
,
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
=
"libhello"
,
.
nm_priv
=
((
void
*
)
0
),
.
reserved
=
{
0
},
};
extern
"C"
__attribute__
((
constructor
))
void
RegisterHelloModule
(
void
)
{
napi_module_register
(
&
demoModule
);
}
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/types/libentry/index.d.ts
浏览文件 @
6f2f82fc
export
const
add
:
(
a
:
number
,
b
:
number
)
=>
number
;
\ No newline at end of file
export
const
GetCurrentApplicationInfo
:
()
=>
object
;
\ No newline at end of file
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/types/libentry/package.json
浏览文件 @
6f2f82fc
{
"name"
:
"libteststring
.so"
,
"types"
:
"./index.d.ts"
"name"
:
"libbundlendk
.so"
,
"types"
:
"./index.d.ts"
}
\ No newline at end of file
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
6f2f82fc
// @ts-nocheck
/**
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
6f2f82fc
// @ts-nocheck
/**
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
@@ -26,7 +25,7 @@ struct MyComponent {
alignItems: ItemAlign.Center,
justifyContent: FlexAlign.Center
}) {
Text('
ACE
ETS TEST')
Text('
BMS
ETS TEST')
.fontSize(50)
.fontWeight(FontWeight.Bold)
}
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestAbility/app.ets
浏览文件 @
6f2f82fc
// @ts-nocheck
/**
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestAbility/pages/index.ets
浏览文件 @
6f2f82fc
// @ts-nocheck
/**
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
浏览文件 @
6f2f82fc
// @ts-nocheck
/**
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/test/
NativeApiString
Test.ets
→
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/test/
BudnleNdkNative
Test.ets
浏览文件 @
6f2f82fc
// @ts-nocheck
/*
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
@@ -15,43 +14,26 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
import
testString
from
'libteststring.so'
export
default
function
nativeApiStringJsunit
()
{
describe
(
'napiStringTest'
,
function
()
{
const
empty
=
''
;
var
value
;
async
function
sleep
(
time
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
()
},
time
)
})
.
then
(()
=>
{
console
.
info
(
`sleep ${time} over...`
)
})
}
/**
* run after testcase
*/
afterEach
(
async
function
()
{
console
.
info
(
'[napiStringTest] after each called'
)
value
==
''
;
});
/**
* @tc.number SUB_ACE_BASIC_ETS_NAPI_0100
* @tc.name napiStringTest001
* @tc.desc aceNapiEtsTest
*/
it
(
'napiStringTest001'
,
0
,
async
function
(
done
)
{
console
.
info
(
"Test NAPI 2 + 3 = "
+
testString
.
Add
(
2
,
3
));
done
();
});
})
import bundlendk from 'libbundlendk.so'
const BUNDLE_NAME = "com.actsbundle.napitest"
const FINGER_PRINT = "7B3D8586460A7666621992FD367993D7ECDE40A8FD8E9CF525A48822E9A62655"
export default function budnleNdkNativeTest() {
describe('BundleNdkTest', function () {
/**
* @tc.number SUB_BMS_BASIC_ETS_NATIVE_0100
* @tc.name budnleNdkNativeTest001
* @tc.desc budnleNdkNativeTest
*/
it('BundleNdkTest001', 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()
});
})
}
bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/ets/test/List.test.ets
浏览文件 @
6f2f82fc
/*
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
2
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
...
...
@@ -12,8 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
napiStringTest from './NativeApiString
Test';
import
budnleNdkNativeTest from './BudnleNdkNative
Test';
export default function testsuite() {
napiString
Test()
budnleNdkNative
Test()
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录