modify code

Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
zhaolinglan 2023-08-28 19:51:19 +08:00
parent cca52a070f
commit 13d35650c9

View File

@ -236,6 +236,7 @@ HWTEST_F(InputMethodAttachTest, testAttach006, TestSize.Level0)
EXPECT_EQ(TextListener::keyboardStatus_, KeyboardStatus::NONE);
InputMethodAttachTest::inputMethodController_->Close();
TextListener::ResetParam();
ret = InputMethodAttachTest::inputMethodController_->Attach(textListener, true);
EXPECT_EQ(ret, ErrorCode::NO_ERROR);
EXPECT_EQ(TextListener::keyboardStatus_, KeyboardStatus::SHOW);