Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2059)

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 12224095: Disable PolicyTest.TranslateEnabled on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 5d44020fa372e57d43eb5299a840dc9cfbfd1689..0147cf8e33efcd50538bf73f05e879f6183dfda3 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -1376,7 +1376,13 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, SavingBrowserHistoryDisabled) {
EXPECT_EQ(url, enumerator2.urls()[0]);
}
-IN_PROC_BROWSER_TEST_F(PolicyTest, TranslateEnabled) {
+// Flaky on win7: crbug.com/175439.
+#if defined(OS_WIN)
+#define MAYBE_TranslateEnabled DISABLED_TranslateEnabled
+#else
+#define MAYBE_TranslateEnabled TranslateEnabled
+#endif
+IN_PROC_BROWSER_TEST_F(PolicyTest, MAYBE_TranslateEnabled) {
// Verifies that translate can be forced enabled or disabled by policy.
// Get the InfoBarService, and verify that there are no infobars on startup.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698