mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2025-01-15 11:39:42 +00:00
add wifi_c_hid2d fuzz test
Signed-off-by: yiyajun <yiyajun@huawei.com>
This commit is contained in:
parent
4cbc8bc253
commit
e432075602
@ -23,6 +23,7 @@ namespace Wifi {
|
||||
bool WifiCHid2dFuzzerTest(const uint8_t* data, size_t size)
|
||||
{
|
||||
Hid2dRequestGcIpTest(data, size);
|
||||
/*
|
||||
Hid2dSharedlinkIncreaseTest();
|
||||
Hid2dSharedlinkDecreaseTest();
|
||||
Hid2dCreateGroupTest(data, size);
|
||||
@ -36,6 +37,7 @@ namespace Wifi {
|
||||
Hid2dSetPeerWifiCfgInfoTest(data, size);
|
||||
Hid2dIsWideBandwidthSupportedTest();
|
||||
Hid2dSetUpperSceneTest(data, size);
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -54,7 +56,7 @@ namespace Wifi {
|
||||
}
|
||||
(void)Hid2dRequestGcIp(gcMac, ipAddr);
|
||||
}
|
||||
|
||||
/*
|
||||
void Hid2dSharedlinkIncreaseTest(void)
|
||||
{
|
||||
(void)Hid2dSharedlinkIncrease();
|
||||
@ -198,7 +200,7 @@ namespace Wifi {
|
||||
|
||||
(void)Hid2dSetUpperScene(ifName, scene);
|
||||
}
|
||||
|
||||
*/
|
||||
} // namespace Wifi
|
||||
} // namespace OHOS
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#define DATA_MAX_BYTES
|
||||
|
||||
void Hid2dRequestGcIpTest(const uint8_t* data, size_t size);
|
||||
/*
|
||||
void Hid2dSharedlinkIncreaseTest(void);
|
||||
void Hid2dSharedlinkDecreaseTest(void);
|
||||
void Hid2dCreateGroupTest(const uint8_t* data, size_t size);
|
||||
@ -37,5 +38,6 @@ void Hid2dGetSelfWifiCfgInfoTest(const uint8_t* data, size_t size);
|
||||
void Hid2dSetPeerWifiCfgInfoTest(const uint8_t* data, size_t size);
|
||||
void Hid2dIsWideBandwidthSupportedTest(void);
|
||||
void Hid2dSetUpperSceneTest(const uint8_t* data, size_t size);
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
@ -17,6 +17,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
|
||||
deps += [
|
||||
"../frameworks/native/c_adapter/wifichid2d_fuzzer:WifiCHid2dFuzzTest"
|
||||
"adddeviceconfig_fuzzer:AddDeviceConfigFuzzTest",
|
||||
"connecttodevice_fuzzer:ConnectToDeviceFuzzTest",
|
||||
"disablewifi_fuzzer:DisableWifiFuzzTest",
|
||||
@ -25,6 +26,5 @@ group("fuzztest") {
|
||||
"isconnected_fuzzer:IsConnectedFuzzTest",
|
||||
"reassociate_fuzzer:ReAssociateFuzzTest",
|
||||
"reconnect_fuzzer:ReConnectFuzzTest",
|
||||
"../frameworks/native/c_adapter/wifichid2d_fuzzer:WifiCHid2dFuzzTest"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user