mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-12-18 20:40:11 +00:00
tdd
Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
parent
99d30944a1
commit
8cd58186e0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user