From 05ab4c2b5ee11aa985559d8f812c6ae8611587de Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Sun, 16 Jan 2011 20:29:19 +0000 Subject: Fix for ChromeFrame TypeUrl test failures on the IE9 builder. The Address bar accessibility object name had changed a bit in the IE9 update. Updated the text expectations to account for this. BUG=none TEST=Existing ChromeFrame TypeUrl tests. TBR=amit Review URL: http://codereview.chromium.org/6248007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71579 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/test/navigation_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome_frame') diff --git a/chrome_frame/test/navigation_test.cc b/chrome_frame/test/navigation_test.cc index fea6387..0e83867 100644 --- a/chrome_frame/test/navigation_test.cc +++ b/chrome_frame/test/navigation_test.cc @@ -45,7 +45,7 @@ INSTANTIATE_TEST_CASE_P(HttpHeader, FullTabNavigationTest, testing::Values( TEST_P(FullTabNavigationTest, TypeUrl) { MockAccEventObserver acc_observer; EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); - AccObjectMatcher address_matcher(L"Address", L"editable text"); + AccObjectMatcher address_matcher(L"Address*", L"editable text"); AccObjectMatcher go_matcher(L"Go*", L"push button"); ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl()); @@ -72,7 +72,7 @@ TEST_P(FullTabNavigationTest, TypeUrl) { TEST_P(FullTabNavigationTest, TypeAnchorUrl) { MockAccEventObserver acc_observer; EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); - AccObjectMatcher address_matcher(L"Address", L"editable text"); + AccObjectMatcher address_matcher(L"Address*", L"editable text"); AccObjectMatcher go_matcher(L"Go*", L"push button"); ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl()); -- cgit v1.1