!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:
openharmony_ci 2024-11-13 13:41:53 +00:00 committed by Gitee
commit 9a15af473e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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_->