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

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

Issue 10832391: Disable TabposeWindowTest.TestShow on MacOSX 10.7 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: skip correctly Created 8 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 | « 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/ui/cocoa/tabpose_window_unittest.mm
diff --git a/chrome/browser/ui/cocoa/tabpose_window_unittest.mm b/chrome/browser/ui/cocoa/tabpose_window_unittest.mm
index 73eab29cee33ce99fb313f05e7d31a17bd9a81c7..9e1f147d947df8d869a498e672347961571a1b74 100644
--- a/chrome/browser/ui/cocoa/tabpose_window_unittest.mm
+++ b/chrome/browser/ui/cocoa/tabpose_window_unittest.mm
@@ -4,6 +4,7 @@
#import "chrome/browser/ui/cocoa/tabpose_window.h"
+#include "base/mac/mac_util.h"
#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
@@ -34,8 +35,13 @@ class TabposeWindowTest : public CocoaProfileTest {
scoped_refptr<SiteInstance> site_instance_;
};
-// Check that this doesn't leak.
TEST_F(TabposeWindowTest, TestShow) {
+ // Skip this test on 10.7
+ // http://code.google.com/p/chromium/issues/detail?id=127845
+ if (IsOSLionOrLater()) {
+ return;
+ }
+
NSWindow* parent = browser()->window()->GetNativeWindow();
[parent orderFront:nil];
« 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