mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 15:00:12 +00:00
!10576 update TDD ut session_stub_test.cpp
Merge pull request !10576 from 闫瀚林0424/yhl1107
This commit is contained in:
commit
12d6db8916
@ -322,6 +322,8 @@ HWTEST_F(SessionStubTest, ProcessRemoteRequestTest05, Function | SmallTest | Lev
|
||||
res = session_->ProcessRemoteRequest(
|
||||
static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_UPDATE_PIP_RECT), data, reply, option);
|
||||
ASSERT_EQ(ERR_NONE, res);
|
||||
ASSERT_EQ(data.WriteUint32(1), true);
|
||||
ASSERT_EQ(data.WriteInt32(1), true);
|
||||
res = session_->ProcessRemoteRequest(
|
||||
static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_UPDATE_PIP_CONTROL_STATUS), data, reply, option);
|
||||
ASSERT_EQ(ERR_NONE, res);
|
||||
@ -738,6 +740,7 @@ HWTEST_F(SessionStubTest, HandleUpdateSessionRect, Function | SmallTest | Level2
|
||||
data.WriteUint32(40);
|
||||
data.WriteUint32(0);
|
||||
data.WriteBool(true);
|
||||
data.WriteBool(true);
|
||||
auto res = session_->HandleUpdateSessionRect(data, reply);
|
||||
ASSERT_EQ(ERR_NONE, res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user