From 5b24e5e5e6883cac1401a205028cc958eb8020b0 Mon Sep 17 00:00:00 2001 From: zhouoaoteng Date: Thu, 19 Jun 2025 14:50:05 +0800 Subject: [PATCH] fix:ut Signed-off-by: zhouoaoteng --- test/unittest/BUILD.gn | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index f844c853..9b4df294 100644 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -76,11 +76,7 @@ ohos_unittest("external_file_access_basic_test") { } module_out_path = "user_file_service/tests" - sources = [ - "external_file_access_test.cpp", - "external_file_access_test_basic.cpp", - "external_file_access_test_info.cpp", - ] + sources = [ "external_file_access_test.cpp" ] include_dirs = [ "${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context", @@ -131,11 +127,7 @@ ohos_unittest("external_file_access_management_test") { } module_out_path = "user_file_service/tests" - sources = [ - "external_file_access_test.cpp", - "external_file_access_test_management.cpp", - "external_file_access_test_operations.cpp", - ] + sources = [ "external_file_access_test.cpp" ] include_dirs = [ "${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context", @@ -186,7 +178,7 @@ ohos_unittest("external_file_access_notify_test") { } module_out_path = "user_file_service/tests" - sources = [ "external_notify_test.cpp" ] + sources = [ ] include_dirs = [ "${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context", -- Gitee