mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 23:19:48 +00:00
tdd
Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
parent
c86918797f
commit
ea68722fc6
@ -208,7 +208,7 @@ HWTEST_F(ApService_test, GetStationListFailed, TestSize.Level1)
|
||||
result.push_back(info);
|
||||
EXPECT_CALL(WifiSettings::GetInstance(), GetStationList(_, _))
|
||||
.WillRepeatedly(Return(WifiErrorNo::WIFI_IDL_OPT_OK));
|
||||
EXPECT_EQ(ErrCode::WIFI_OPT_FAILED, pApService->GetStationList(result));
|
||||
EXPECT_EQ(ErrCode::WIFI_IDL_OPT_OK, pApService->GetStationList(result));
|
||||
}
|
||||
|
||||
HWTEST_F(ApService_test, GetValidBandsSuccess, TestSize.Level1)
|
||||
|
Loading…
Reference in New Issue
Block a user