mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 00:51:35 +00:00
!10776 update TDD ut case scene_session_manager_lite_stub_test.cpp 20241113
Merge pull request !10776 from 闫瀚林0424/yhl1113a
This commit is contained in:
commit
9a15af473e
@ -710,7 +710,7 @@ HWTEST_F(SceneSessionManagerLiteStubTest, HandleRegisterWindowManagerAgent, Func
|
||||
data.WriteUint32(static_cast<uint32_t>(WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS));
|
||||
auto res = sceneSessionManagerLiteStub_->
|
||||
SceneSessionManagerLiteStub::HandleRegisterWindowManagerAgent(data, reply);
|
||||
EXPECT_EQ(ERR_INVALID_DATA, res);
|
||||
EXPECT_EQ(ERR_NONE, res);
|
||||
|
||||
data.WriteUint32(-100);
|
||||
res = sceneSessionManagerLiteStub_->
|
||||
@ -740,7 +740,7 @@ HWTEST_F(SceneSessionManagerLiteStubTest, HandleUnregisterWindowManagerAgent, Fu
|
||||
data.WriteUint32(static_cast<uint32_t>(WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS));
|
||||
auto res = sceneSessionManagerLiteStub_->
|
||||
SceneSessionManagerLiteStub::HandleRegisterWindowManagerAgent(data, reply);
|
||||
EXPECT_EQ(ERR_INVALID_DATA, res);
|
||||
EXPECT_EQ(ERR_NONE, res);
|
||||
|
||||
data.WriteUint32(-100);
|
||||
res = sceneSessionManagerLiteStub_->
|
||||
|
Loading…
Reference in New Issue
Block a user