mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-12-27 17:35:24 +00:00
update p2p_group_operating_state_test.cpp
Signed-off-by: sunjinqiang <17319862417@163.com>
This commit is contained in:
parent
d2f894a7fc
commit
36f9e24b55
@ -239,7 +239,7 @@ HWTEST_F(P2pGroupOperatingStateTest, ProcessGroupRemovedEvt, TestSize.Level1)
|
||||
InternalMessage msg;
|
||||
msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_GROUP_REMOVED));
|
||||
AddGroupManager();
|
||||
EXPECT_CALL(WifiP2PHalInterface::GetInstance(), P2pFlush(_))
|
||||
EXPECT_CALL(WifiP2PHalInterface::GetInstance(), P2pFlush())
|
||||
.WillOnce(Return(WifiErrorNo::WIFI_IDL_OPT_OK));
|
||||
EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(&msg));
|
||||
EXPECT_FALSE(pP2pGroupOperatingState->ExecuteStateMsg(nullptr));
|
||||
|
Loading…
Reference in New Issue
Block a user