summaryrefslogtreecommitdiffstats
path: root/chrome/browser/accessibility
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 15:52:52 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 15:52:52 +0000
commit0656dcdfb8e4a2fbb1366a663ebea212a784c154 (patch)
tree582d7d556a6d2df7e2e8e3070af568176f90eb9f /chrome/browser/accessibility
parent6bbc09533e28e0912ac2b1683e3d03cb26ce9fa0 (diff)
downloadchromium_src-0656dcdfb8e4a2fbb1366a663ebea212a784c154.zip
chromium_src-0656dcdfb8e4a2fbb1366a663ebea212a784c154.tar.gz
chromium_src-0656dcdfb8e4a2fbb1366a663ebea212a784c154.tar.bz2
Add more traces to the failing test.
The traces I added don't seem to be output'ed, which makes me wonder if the crash is happening earlier... Also mark it as failing, while I investigate. BUG=None TEST=None Review URL: http://codereview.chromium.org/8372067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/accessibility')
-rw-r--r--chrome/browser/accessibility/browser_views_accessibility_browsertest.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/accessibility/browser_views_accessibility_browsertest.cc b/chrome/browser/accessibility/browser_views_accessibility_browsertest.cc
index db4d6fc..70125d9 100644
--- a/chrome/browser/accessibility/browser_views_accessibility_browsertest.cc
+++ b/chrome/browser/accessibility/browser_views_accessibility_browsertest.cc
@@ -242,7 +242,9 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest,
}
IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest,
- TestAboutChromeViewAccObj) {
+ FAILS_TestAboutChromeViewAccObj) {
+ LOG(ERROR) << "Starting TestAboutChromeViewAccObj test\n";
+
// Firstly, test that the WindowDelegate got updated.
views::Widget* about_chrome_window =
GetBrowserView()->DoShowAboutChromeDialog();
@@ -252,6 +254,8 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest,
EXPECT_EQ(about_chrome_window->widget_delegate()->GetAccessibleWindowRole(),
ui::AccessibilityTypes::ROLE_DIALOG);
+ LOG(ERROR) << "Test object directly\n";
+
// Also test the accessibility object directly.
IAccessible* acc_obj = NULL;
HRESULT hr =
@@ -262,10 +266,14 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest,
ASSERT_EQ(S_OK, hr);
ASSERT_TRUE(NULL != acc_obj);
+ LOG(ERROR) << "TestAccessibilityInfo\n";
+
TestAccessibilityInfo(
acc_obj,
UTF16ToWide(l10n_util::GetStringUTF16(IDS_ABOUT_CHROME_TITLE)),
ROLE_SYSTEM_DIALOG);
acc_obj->Release();
+
+ LOG(ERROR) << "Done\n";
}