Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: chrome_frame/test/ui_test.cc

Issue 10261014: Disabling chrome_frame_tests.exe ContextMenuTest.CFBackForward since it times out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <mshtmcid.h> 5 #include <mshtmcid.h>
6 #include <string> 6 #include <string>
7 7
8 #include "base/test/test_file_util.h" 8 #include "base/test/test_file_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/win/scoped_bstr.h" 10 #include "base/win/scoped_bstr.h"
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 AccWatchForOneValueChange(&acc_observer_, txtfield_matcher), 981 AccWatchForOneValueChange(&acc_observer_, txtfield_matcher),
982 AccLeftClick(AccObjectMatcher(L"Redo*")))); 982 AccLeftClick(AccObjectMatcher(L"Redo*"))));
983 983
984 // Verify that text field value is reset to its changed value 'A' and exit. 984 // Verify that text field value is reset to its changed value 'A' and exit.
985 EXPECT_CALL(acc_observer_, OnAccValueChange(_, _, StrEq(L"A"))) 985 EXPECT_CALL(acc_observer_, OnAccValueChange(_, _, StrEq(L"A")))
986 .WillOnce(CloseBrowserMock(&ie_mock_)); 986 .WillOnce(CloseBrowserMock(&ie_mock_));
987 987
988 LaunchIEAndNavigate(context_menu_page_url); 988 LaunchIEAndNavigate(context_menu_page_url);
989 } 989 }
990 990
991 TEST_F(ContextMenuTest, FLAKY_CFBackForward) { 991 // Disabled because it seems to hang, causing the test process to timeout and
992 // be killed; see http://crbug.com/121097.
993 TEST_F(ContextMenuTest, DISABLED_CFBackForward) {
992 std::wstring page1 = GetLinkPageUrl(); 994 std::wstring page1 = GetLinkPageUrl();
993 std::wstring title1 = GetLinkPageTitle(); 995 std::wstring title1 = GetLinkPageTitle();
994 std::wstring page2 = GetSimplePageUrl(); 996 std::wstring page2 = GetSimplePageUrl();
995 std::wstring title2 = GetSimplePageTitle(); 997 std::wstring title2 = GetSimplePageTitle();
996 std::wstring page3 = GetTestUrl(L"anchor.html"); 998 std::wstring page3 = GetTestUrl(L"anchor.html");
997 std::wstring title3 = GetAnchorPageTitle(); 999 std::wstring title3 = GetAnchorPageTitle();
998 1000
999 server_mock_.ExpectAndServeRequestWithCardinality( 1001 server_mock_.ExpectAndServeRequestWithCardinality(
1000 CFInvocation::MetaTag(), page1, testing::Exactly(2)); 1002 CFInvocation::MetaTag(), page1, testing::Exactly(2));
1001 1003
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 EXPECT_CALL(acc_observer_, OnMenuPopup(_)) 1057 EXPECT_CALL(acc_observer_, OnMenuPopup(_))
1056 .WillOnce(AccLeftClick(AccObjectMatcher(L"Forward"))); 1058 .WillOnce(AccLeftClick(AccObjectMatcher(L"Forward")));
1057 1059
1058 EXPECT_CALL(ie_mock_, OnLoad(IN_CF, StrEq(page3))) 1060 EXPECT_CALL(ie_mock_, OnLoad(IN_CF, StrEq(page3)))
1059 .WillOnce(CloseBrowserMock(&ie_mock_)); 1061 .WillOnce(CloseBrowserMock(&ie_mock_));
1060 1062
1061 LaunchIENavigateAndLoop(page1, kChromeFrameVeryLongNavigationTimeout); 1063 LaunchIENavigateAndLoop(page1, kChromeFrameVeryLongNavigationTimeout);
1062 } 1064 }
1063 1065
1064 } // namespace chrome_frame_test 1066 } // namespace chrome_frame_test
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698