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

Unified Diff: chrome/browser/ui/cocoa/hover_image_button_unittest.mm

Issue 7715012: Make unit_tests runnable on Lion without crashing. Now tests just fail. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the autocomplete_text_field change Created 9 years, 4 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 | « chrome/browser/ui/cocoa/browser_window_controller_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/hover_image_button_unittest.mm
diff --git a/chrome/browser/ui/cocoa/hover_image_button_unittest.mm b/chrome/browser/ui/cocoa/hover_image_button_unittest.mm
index 00c18b8100bba5f0477de302f175350a978ce4ed..6b8ab0ed50355c84f06aced1c9cca42abb86b6b2 100644
--- a/chrome/browser/ui/cocoa/hover_image_button_unittest.mm
+++ b/chrome/browser/ui/cocoa/hover_image_button_unittest.mm
@@ -4,6 +4,7 @@
#import <Cocoa/Cocoa.h>
+#include "base/mac/mac_util.h"
#include "base/memory/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#import "chrome/browser/ui/cocoa/hover_image_button.h"
@@ -28,6 +29,11 @@ class HoverImageButtonTest : public CocoaTest {
virtual void SetUp() {
CocoaTest::BootstrapCocoa();
+
+ // This test crashes when run on Lion. Fail early.
+ if (base::mac::IsOSLionOrLater()) {
+ FAIL() << "This test crashes on Lion; http://crbug.com/93926";
+ }
}
HoverImageButton* button_;
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698