add trans fuzztest

Signed-off-by: guoqi11 <guoqi53@huawei.com>
This commit is contained in:
guoqi11 2024-05-23 10:40:23 +08:00
parent a50b64680e
commit 4394454c52
2 changed files with 6 additions and 0 deletions

View File

@ -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;
}

View File

@ -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",
]
}
}