mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 09:00:55 +00:00
fix
Signed-off-by: z30042987 <zhouminghui8@huawei.com>
This commit is contained in:
parent
ea630f978e
commit
fe82f2d5c4
@ -138,10 +138,7 @@ HWTEST_F(ScreenSessionManagerTest, VirtualScreen, Function | SmallTest | Level3)
|
||||
auto result1 = ssm_->SetVirtualScreenSurface(VIRTUAL_SCREEN_ID, nullptr);
|
||||
ASSERT_EQ(DMError::DM_ERROR_RENDER_SERVICE_FAILED, result1);
|
||||
sptr<IConsumerSurface> surface = OHOS::IConsumerSurface::Create();
|
||||
auto result2 = ssm_->SetVir
|
||||
|
||||
|
||||
tualScreenSurface(VIRTUAL_SCREEN_ID, surface->GetProducer());
|
||||
auto result2 = ssm_->SetVirtualScreenSurface(VIRTUAL_SCREEN_ID, surface->GetProducer());
|
||||
if (DMError::DM_ERROR_RENDER_SERVICE_FAILED == result2) {
|
||||
ASSERT_EQ(DMError::DM_ERROR_RENDER_SERVICE_FAILED, result2);
|
||||
}
|
||||
@ -155,7 +152,6 @@ HWTEST_F(ScreenSessionManagerTest, VirtualScreen, Function | SmallTest | Level3)
|
||||
* @tc.desc: GetScreenSession virtual screen
|
||||
* @tc.type: FUNC
|
||||
*/
|
||||
|
||||
HWTEST_F(ScreenSessionManagerTest, GetScreenSession, Function | SmallTest | Level3)
|
||||
{
|
||||
sptr<IDisplayManagerAgent> displayManagerAgent = new DisplayManagerAgentDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user