diff --git a/tests/core/frame/fuzztest/softbusserverstub_fuzzer/softbusserverstub_fuzzer.cpp b/tests/core/frame/fuzztest/softbusserverstub_fuzzer/softbusserverstub_fuzzer.cpp index d6c174fe1..aa4334846 100644 --- a/tests/core/frame/fuzztest/softbusserverstub_fuzzer/softbusserverstub_fuzzer.cpp +++ b/tests/core/frame/fuzztest/softbusserverstub_fuzzer/softbusserverstub_fuzzer.cpp @@ -1054,6 +1054,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) OHOS::PublishServiceFuzzTest(data, size); OHOS::UnPublishServiceFuzzTest(data, size); OHOS::SoftbusRegisterServiceFuzzTest(data, size); + OHOS::CheckOpenSessionPermissionFuzzTest(data, size); return 0; } diff --git a/tests/core/transmission/BUILD.gn b/tests/core/transmission/BUILD.gn index c62c7d24a..034288bcb 100644 --- a/tests/core/transmission/BUILD.gn +++ b/tests/core/transmission/BUILD.gn @@ -47,4 +47,9 @@ group("unittest") { group("fuzztest") { testonly = true deps = [ "fuzztest:fuzztest" ] + if (has_enhance_test) { + deps += [ + "$dsoftbus_root_path/dsoftbus_enhance/test/core/transmission:fuzztest", + ] + } }