Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
sunjingqiang 2023-12-02 20:53:48 +08:00
parent 99d30944a1
commit 8cd58186e0

View File

@ -229,14 +229,14 @@ HWTEST_F(WifiHalStaInterfaceTest, GetFrequenciesTest, TestSize.Level1)
HWTEST_F(WifiHalStaInterfaceTest, SetAssocMacAddrTest, TestSize.Level1)
{
int frequencies = 1;
EXPECT_TRUE(SetAssocMacAddr(NULL, frequencies) == WIFI_HAL_FAILED);
EXPECT_TRUE(SetAssocMacAddr(NULL, frequencies, 1) == WIFI_HAL_FAILED);
EXPECT_TRUE(SetScanningMacAddress(NULL, frequencies) == WIFI_HAL_FAILED);
EXPECT_TRUE(DeauthLastRoamingBssid(NULL, frequencies) == WIFI_HAL_FAILED);
}
HWTEST_F(WifiHalStaInterfaceTest, GetSupportFeatureTest, TestSize.Level1)
{
int frequencies = 1;
long frequencies = 1;
EXPECT_TRUE(GetSupportFeature(NULL) == WIFI_HAL_FAILED);
EXPECT_GE(GetSupportFeature(&frequencies), WIFI_HAL_FAILED);
}