mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 23:21:05 +00:00
!37361 modify TDD for change InsertValue with previewText
Merge pull request !37361 from 末日拿铁/for_modify_TDD
This commit is contained in:
commit
218eca7bc7
@ -1429,8 +1429,8 @@ HWTEST_F(TextInputCursorTest, FinishTextPreview003, TestSize.Level1)
|
||||
*/
|
||||
SourceAndValueInfo info;
|
||||
info.insertValue = HELLO_TEXT;
|
||||
pattern_->InsertValueOperation(info);
|
||||
EXPECT_TRUE(pattern_->inputOperations_.front() == InputOperation::SET_PREVIEW_FINISH);
|
||||
pattern_->InsertValue(info.insertValue, info.isIME);
|
||||
EXPECT_TRUE(pattern_->inputOperations_.front() == InputOperation::SET_PREVIEW_TEXT);
|
||||
FlushLayoutTask(frameNode_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user