Commit 05ab4c2b authored by ananta@chromium.org's avatar ananta@chromium.org

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
parent 31ccd1c3
...@@ -45,7 +45,7 @@ INSTANTIATE_TEST_CASE_P(HttpHeader, FullTabNavigationTest, testing::Values( ...@@ -45,7 +45,7 @@ INSTANTIATE_TEST_CASE_P(HttpHeader, FullTabNavigationTest, testing::Values(
TEST_P(FullTabNavigationTest, TypeUrl) { TEST_P(FullTabNavigationTest, TypeUrl) {
MockAccEventObserver acc_observer; MockAccEventObserver acc_observer;
EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); 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"); AccObjectMatcher go_matcher(L"Go*", L"push button");
ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl()); ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl());
...@@ -72,7 +72,7 @@ TEST_P(FullTabNavigationTest, TypeUrl) { ...@@ -72,7 +72,7 @@ TEST_P(FullTabNavigationTest, TypeUrl) {
TEST_P(FullTabNavigationTest, TypeAnchorUrl) { TEST_P(FullTabNavigationTest, TypeAnchorUrl) {
MockAccEventObserver acc_observer; MockAccEventObserver acc_observer;
EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); 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"); AccObjectMatcher go_matcher(L"Go*", L"push button");
ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl()); ie_mock_.ExpectNavigation(IN_IE, GetSimplePageUrl());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment