diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:43:22 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:43:22 +0000 |
commit | afceed43241b33170fcdb630dbdc9d1ad2dfe6fe (patch) | |
tree | 38ed7a90275bf0a821d9f21bf5d6800508eff6a0 /chrome_frame/test/ui_test.cc | |
parent | a2a098d74dafdf3c2e71fd0f63c86a88e204eaf6 (diff) | |
download | chromium_src-afceed43241b33170fcdb630dbdc9d1ad2dfe6fe.zip chromium_src-afceed43241b33170fcdb630dbdc9d1ad2dfe6fe.tar.gz chromium_src-afceed43241b33170fcdb630dbdc9d1ad2dfe6fe.tar.bz2 |
Submit of http://codereview.chromium.org/3471021 for grt@. Original description:
Fix "Save As" test by sending a single WM_CHAR to the text box.
BUG=56294
TEST=chrome_frame_tests --gtest_filter=*CFSaveAs
Review URL: http://codereview.chromium.org/3531004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/ui_test.cc')
-rw-r--r-- | chrome_frame/test/ui_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome_frame/test/ui_test.cc b/chrome_frame/test/ui_test.cc index 6224d80..2c017df 100644 --- a/chrome_frame/test/ui_test.cc +++ b/chrome_frame/test/ui_test.cc @@ -455,7 +455,9 @@ TEST_F(ContextMenuTest, CFSaveAs) { EXPECT_CALL(win_observer_mock, OnWindowOpen(_)) .WillOnce(testing::DoAll( - AccSetValue(AccObjectMatcher(L"File name:", L"", L"simple*"), + AccSendCharMessage(AccObjectMatcher(L"File name:", L"editable text"), + L'a'), + AccSetValue(AccObjectMatcher(L"File name:", L"editable text"), temp_file_path.value()), AccDoDefaultAction(AccObjectMatcher(L"Save", L"push button")))); |