独立编译test部分整改

Signed-off-by: zhaohang <zhaohang44@huawei.com>
This commit is contained in:
zhaohang 2024-08-29 10:16:56 +08:00
parent 74882127a2
commit d3509db232
9 changed files with 14 additions and 0 deletions

View File

@ -19,6 +19,8 @@ module_output_path = "i18n/intl_test"
ohos_unittest("intl_test") {
module_out_path = module_output_path
cflags_cc = [ "-Wno-inconsistent-missing-override" ]
sources = [
"unittest/i18n_test.cpp",
"unittest/intl_number_format_test.cpp",
@ -50,8 +52,10 @@ ohos_unittest("intl_test") {
"icu:shared_icui18n",
"icu:shared_icuuc",
"init:libbegetutil",
"ipc:ipc_core",
"libphonenumber:phonenumber_standard",
"libpng:libpng",
"libxml2:libxml2",
"openssl:libssl_shared",
"preferences:native_preferences",
]

View File

@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeFilterFuzzTest") {
external_deps = [
"icu:shared_icui18n",
"icu:shared_icuuc",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeRuleFuzzTest") {
external_deps = [
"icu:shared_icui18n",
"icu:shared_icuuc",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -40,6 +40,7 @@ ohos_fuzztest("EntityRecongnizerFuzzTest") {
"icu:shared_icui18n",
"icu:shared_icuuc",
"libphonenumber:phonenumber_standard",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -39,6 +39,7 @@ ohos_fuzztest("PhoneNumberMatchedFuzzTest") {
"icu:shared_icui18n",
"icu:shared_icuuc",
"libphonenumber:phonenumber_standard",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -40,6 +40,7 @@ ohos_fuzztest("RegexRuleFuzzTest") {
"icu:shared_icui18n",
"icu:shared_icuuc",
"libphonenumber:phonenumber_standard",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -38,6 +38,7 @@ ohos_fuzztest("RulesEngineFuzzTest") {
external_deps = [
"icu:shared_icui18n",
"icu:shared_icuuc",
"libxml2:libxml2",
]
subsystem_name = "global"

View File

@ -25,6 +25,8 @@ ohos_unittest("zone_util_test") {
external_deps = [
"c_utils:utils",
"googletest:gtest",
"icu:shared_icuuc",
"libphonenumber:phonenumber_standard",
"libxml2:libxml2",
]
}

View File

@ -32,6 +32,8 @@ ohos_unittest("i18n_service_test") {
"access_token:libaccesstoken_sdk",
"access_token:libnativetoken",
"access_token:libtoken_setproc",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"googletest:gtest",
]