From d0a7e000193d0ac74c79671f953dcc704852be8e Mon Sep 17 00:00:00 2001 From: "asargent@chromium.org" Date: Fri, 8 Jan 2010 23:00:27 +0000 Subject: Re-enable ExtensionBrowserTest.AutoUpdate on non-linux platforms. BUG=31737 TEST=(this is re-enabling a test on win/mac) Review URL: http://codereview.chromium.org/537001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35836 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_browsertests_misc.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/browser/extensions/extension_browsertests_misc.cc b/chrome/browser/extensions/extension_browsertests_misc.cc index 6b9822b..39fca8261 100644 --- a/chrome/browser/extensions/extension_browsertests_misc.cc +++ b/chrome/browser/extensions/extension_browsertests_misc.cc @@ -828,8 +828,11 @@ IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, MAYBE_PluginLoadUnload) { EXPECT_FALSE(result); } +// TODO(asargent): This test seems to crash on linux buildbots. +// (http://crbug.com/31737) +#if !defined(OS_LINUX) // Tests extension autoupdate. -IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, DISABLED_AutoUpdate) { +IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, AutoUpdate) { FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); // Note: This interceptor gets requests on the IO thread. scoped_refptr interceptor(new AutoUpdateInterceptor()); @@ -877,6 +880,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, DISABLED_AutoUpdate) { ASSERT_EQ("ogjcoiohnmldgjemafoockdghcjciccf", extensions->at(0)->id()); ASSERT_EQ("2.0", extensions->at(0)->VersionString()); } +#endif // !defined(OS_LINUX) // Used to simulate a click on the first button named 'Options'. static const wchar_t* jscript_click_option_button = -- cgit v1.1