Description: mock_container添加RequestAutoFill后用例适配

IssueNo: https://gitee.com/openharmony/arkui_ace_engine/issues/IATOM8
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: chenjiafeng <chenjiafeng10@huawei.com>
This commit is contained in:
chenjiafeng-opneharmony 2024-09-25 20:42:10 +08:00
parent 08be1054d8
commit bb66d71384

View File

@ -52,7 +52,7 @@ HWTEST_F(ContainerTest, ContainerTest001, TestSize.Level1)
uint32_t autoFillSessionId = 0;
AceAutoFillType type = AceAutoFillType::ACE_USER_NAME;
bool ret = MockContainer::Current()->RequestAutoFill(nullptr, type, false, isPopup, autoFillSessionId, isNative);
EXPECT_EQ(ret, false);
EXPECT_EQ(ret, true);
ret = MockContainer::Current()->UpdatePopupUIExtension(nullptr, autoFillSessionId, isNative);
EXPECT_EQ(ret, false);
@ -74,7 +74,7 @@ HWTEST_F(ContainerTest, ContainerTest002, TestSize.Level1)
uint32_t autoFillSessionId = 0;
AceAutoFillType type = AceAutoFillType::ACE_USER_NAME;
bool ret = MockContainer::Current()->RequestAutoFill(nullptr, type, false, isPopup, autoFillSessionId, isNative);
EXPECT_EQ(ret, false);
EXPECT_EQ(ret, true);
ret = MockContainer::Current()->UpdatePopupUIExtension(nullptr, autoFillSessionId, isNative);
EXPECT_EQ(ret, false);