提交 be1c899e 编写于 作者: Z zhangjuan

napi test

Signed-off-by: Nzhangjuan <zhangjuan54@huawei.com>
上级 9925c2d9
......@@ -25,7 +25,7 @@ ohos_js_hap_suite("ActsAceNapiEtsTest") {
hap_name = "ActsAceNapiEtsTest"
subsystem_name = "arkui"
part_name = "napi"
shared_libraries = [ "./entry/src/main/cpp:teststring" ]
shared_libraries = [ "./entry/src/main/cpp:napitest" ]
}
ohos_js_assets("ace_third_ets_assets") {
......
......@@ -29,8 +29,8 @@ config("config") {
config("public_config") {
}
ohos_shared_library("teststring") {
sources = [ "./napi/test_string.cpp" ]
ohos_shared_library("napitest") {
sources = [ "./napi/napi_test.cpp" ]
if (!(product_name == "m40")) {
if (target_cpu == "arm") {
libs = [ "${clang_base_path}/../libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" ]
......
......@@ -13,7 +13,9 @@
* limitations under the License.
*/
import napiStringTest from './NativeApiStringTest';
import aceNapiEtsTest from './NapiEtsTest'
export default function testsuite() {
napiStringTest()
aceNapiEtsTest()
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册