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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs_unittest.cc

Issue 8373019: Disabled incognito death test on mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 2 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/prefs/incognito_mode_prefs_unittest.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
index 6ae63646fb5f4c791456a1c8e3035b5ca83f7abb..db1a3f4d117aaeca59a80b94cede8bc09dd7831b 100644
--- a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
@@ -55,7 +55,14 @@ TEST_F(IncognitoModePrefsTest, GetAvailability) {
typedef IncognitoModePrefsTest IncognitoModePrefsDeathTest;
-TEST_F(IncognitoModePrefsDeathTest, GetAvailabilityBadValue) {
+// Takes too long to execute on Mac. http://crbug.com/101109
+#if defined(OS_MACOSX)
+#define MAYBE_GetAvailabilityBadValue DISABLED_GetAvailabilityBadValue
+#else
+#define MAYBE_GetAvailabilityBadValue GetAvailabilityBadValue
+#endif
+
+TEST_F(IncognitoModePrefsDeathTest, MAYBE_GetAvailabilityBadValue) {
prefs_.SetUserPref(prefs::kIncognitoModeAvailability,
Value::CreateIntegerValue(-1));
#if defined(NDEBUG) && defined(DCHECK_ALWAYS_ON)
« 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