mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 00:51:35 +00:00
fix input method test
Signed-off-by: 张凯 <zhangkai324@huawei.com> Change-Id: Id0201be0dc2516508c1366584dd59466b1b2a859
This commit is contained in:
parent
558503facd
commit
2ecd5ea65a
@ -72,6 +72,7 @@ HWTEST_F(WindowInputMethodTest, InputMethodWindow01, Function | MediumTest | Lev
|
||||
{
|
||||
inputMethodWindowInfo_.name = "input_method.1";
|
||||
const sptr<Window>& window = Utils::CreateTestWindow(inputMethodWindowInfo_);
|
||||
ASSERT_NE(window, nullptr);
|
||||
ASSERT_EQ(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT, window->GetType());
|
||||
window->SetWindowGravity(WindowGravity::WINDOW_GRAVITY_BOTTOM, 0);
|
||||
ASSERT_EQ(WMError::WM_OK, window->Show());
|
||||
|
Loading…
Reference in New Issue
Block a user