mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-12-03 21:13:45 +00:00
TDD测试用例
Signed-off-by: 王昆 <wangkun318@huawei.com> Change-Id: Ifcd449dc54ad7b404c7eee838fa8d0c04b3dc0da
This commit is contained in:
parent
927480daf8
commit
589df32703
@ -1316,7 +1316,7 @@ HWTEST_F(RichEditorOverlayTestNg, SelectionMenuOptionsTest001, TestSize.Level1)
|
||||
menuOptionsItems.push_back(menuOptionsParam2);
|
||||
|
||||
NG::MenuOptionsParam menuOptionsParam3;
|
||||
menuOptionsParam3.content = "按钮1";
|
||||
menuOptionsParam3.content = "按钮3";
|
||||
menuOptionsParam3.icon = TEST_IMAGE_SOURCE;
|
||||
menuOptionsItems.push_back(menuOptionsParam3);
|
||||
richEditorPattern->OnSelectionMenuOptionsUpdate(std::move(menuOptionsItems));
|
||||
@ -1344,7 +1344,7 @@ HWTEST_F(RichEditorOverlayTestNg, SelectionMenuOptionsTest002, TestSize.Level1)
|
||||
menuOptionsItems.push_back(menuOptionsParam2);
|
||||
|
||||
NG::MenuOptionsParam menuOptionsParam3;
|
||||
menuOptionsParam3.content = "按钮1";
|
||||
menuOptionsParam3.content = "按钮3";
|
||||
menuOptionsItems.push_back(menuOptionsParam3);
|
||||
richEditorPattern->OnSelectionMenuOptionsUpdate(std::move(menuOptionsItems));
|
||||
EXPECT_EQ(richEditorPattern->menuOptionItems_.size(), 3);
|
||||
|
Loading…
Reference in New Issue
Block a user