From 859803f3d38baa1b4c0770fa6d1457ec8ac34e46 Mon Sep 17 00:00:00 2001 From: "mhm@chromium.org" Date: Mon, 5 Apr 2010 01:57:45 +0000 Subject: 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 --- chrome/browser/views/browser_views_accessibility_browsertest.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/browser_views_accessibility_browsertest.cc') 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), -- cgit v1.1