From 7a2851790d629f59326575ab8bbe8ddc26e7ced3 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Tue, 17 Nov 2009 03:38:53 +0000 Subject: Disable failing test. BUG=27927 Review URL: http://codereview.chromium.org/400007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32149 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_view_unittest.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/renderer') diff --git a/chrome/renderer/render_view_unittest.cc b/chrome/renderer/render_view_unittest.cc index 8afdbf6..51f2a3c 100644 --- a/chrome/renderer/render_view_unittest.cc +++ b/chrome/renderer/render_view_unittest.cc @@ -22,6 +22,7 @@ using WebKit::WebString; using WebKit::WebTextDirection; using WebKit::WebURLError; +#if !defined(OS_LINUX) static WebCompositionCommand ToCompositionCommand(int string_type) { switch (string_type) { default: @@ -34,6 +35,7 @@ static WebCompositionCommand ToCompositionCommand(int string_type) { return WebKit::WebCompositionCommandConfirm; } } +#endif TEST_F(RenderViewTest, OnLoadAlternateHTMLText) { // Test a new navigation. @@ -141,6 +143,8 @@ TEST_F(RenderViewTest, OnImeStateChanged) { // cases, this test should not only call IME-related functions in the // RenderWidget class, but also call some RenderWidget members, e.g. // ExecuteJavaScript(), RenderWidget::OnSetFocus(), etc. +// Disabled on Linux: http://crbug.com/27927 +#if !defined(OS_LINUX) TEST_F(RenderViewTest, ImeComposition) { enum ImeCommand { IME_INITIALIZE, @@ -258,6 +262,7 @@ TEST_F(RenderViewTest, ImeComposition) { } } } +#endif // Test that the RenderView::OnSetTextDirection() function can change the text // direction of the selected input element. -- cgit v1.1