summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/browser_views_accessibility_browsertest.cc
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 01:57:45 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 01:57:45 +0000
commit859803f3d38baa1b4c0770fa6d1457ec8ac34e46 (patch)
treeb457418a038a8ab1baf9b07df7144193a9675513 /chrome/browser/views/browser_views_accessibility_browsertest.cc
parentbca4a3c220298559b750b7ec32228adace7a6156 (diff)
downloadchromium_src-859803f3d38baa1b4c0770fa6d1457ec8ac34e46.zip
chromium_src-859803f3d38baa1b4c0770fa6d1457ec8ac34e46.tar.gz
chromium_src-859803f3d38baa1b4c0770fa6d1457ec8ac34e46.tar.bz2
Fix browser test TestStarButtonAccObj.
Fixes the disabled test by setting the accessible name after we set the tooltip. BUG=40391 TEST=The following test passes browser_tests.exe --gtest_filter=BrowserViewsAccessibilityTest.TestStarButtonAccObj Review URL: http://codereview.chromium.org/1530020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_views_accessibility_browsertest.cc')
-rw-r--r--chrome/browser/views/browser_views_accessibility_browsertest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/browser_views_accessibility_browsertest.cc b/chrome/browser/views/browser_views_accessibility_browsertest.cc
index cce802e..6a5bcf1 100644
--- a/chrome/browser/views/browser_views_accessibility_browsertest.cc
+++ b/chrome/browser/views/browser_views_accessibility_browsertest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -218,9 +218,8 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest, TestHomeButtonAccObj) {
}
// Retrieve accessibility object for Star button and verify accessibility info.
-// Disabled because of bug http://crbug.com/40391
IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest,
- DISABLED_TestStarButtonAccObj) {
+ TestStarButtonAccObj) {
// Verify Star button MSAA name and role.
TestViewAccessibilityObject(
GetToolbarView()->GetViewByID(VIEW_ID_STAR_BUTTON),