!21746 [新需求]: 修改tdd用例支持SCREEN_LOCK_PASSWORD

Merge pull request !21746 from tzcurtain/tdd_repair
This commit is contained in:
openharmony_ci 2023-11-16 06:50:02 +00:00 committed by Gitee
commit 7e67a13c5b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1243,7 +1243,7 @@ HWTEST_F(TextFieldControllerTest, ContentController001, TestSize.Level1)
"open_harmony@@huawei.com*+$helloworld",
"open_harmony123 password*+#",
"openharmony123456*+&@huawei.com",
"open_harmony123 password*+#",
"o达瓦大屋顶pen_harmony456顶顶顶 password*+#得到",
};
std::vector<TestItem<TextInputType, std::string>> testItems;
testItems.emplace_back(TextInputType::TEXT, "openharmony123_ *+%$", "TextInputType::TEXT");
@ -1256,7 +1256,7 @@ HWTEST_F(TextFieldControllerTest, ContentController001, TestSize.Level1)
testItems.emplace_back(
TextInputType::NUMBER_PASSWORD, "123456", "TextInputType::NUMBER_PASSWORD");
testItems.emplace_back(
TextInputType::SCREEN_LOCK_PASSWORD, "open_harmony123 password*+#", "TextInputType::SCREEN_LOCK_PASSWORD");
TextInputType::SCREEN_LOCK_PASSWORD, "open_harmony456 password*+#", "TextInputType::SCREEN_LOCK_PASSWORD");
/**
* @tc.expected: Check if text filtering meets expectations