提交 3fa85d8e 编写于 作者: O openharmony_ci 提交者: Gitee

!204 fix window_show_test_0300

Merge pull request !204 from lianwenjie007/master_pull_window_05-17
......@@ -39,23 +39,6 @@ HWTEST_F(WindowTest, Graphic_Window_Test_DestoryWindow_0200, Function | MediumTe
EXPECT_EQ(0, 0);
}
/**
* @tc.number SUB_GRAPHIC_WINDOW_SHOW_0300
* @tc.name test window show api
* @tc.desc [C- SOFTWARE -0200]
*/
HWTEST_F(WindowTest, Graphic_Window_Test_Show_0300, Function | MediumTest | Level0)
{
OHOS::GraphicStartUp::Init();
WindowConfig config = {};
config.rect.SetRect(0, 0, 100, 100);
Window* testObj = Window::CreateWindow(config);
if (testObj != nullptr) {
testObj->Show();
}
EXPECT_EQ(0, 0);
}
/**
* @tc.number SUB_GRAPHIC_WINDOW_HIDE_0400
* @tc.name test window hide api
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册