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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/cw_window_unittest.mm

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename 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
Index: chrome/browser/ui/cocoa/constrained_window/cw_window_unittest.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/cw_window_unittest.mm b/chrome/browser/ui/cocoa/constrained_window/cw_window_unittest.mm
deleted file mode 100644
index 5cda35d1705973019604634d06270a0ee68a7e71..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/constrained_window/cw_window_unittest.mm
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import "base/memory/scoped_nsobject.h"
-#import "chrome/browser/ui/cocoa/constrained_window/cw_window.h"
-#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
-
-class CWWindowTest : public CocoaTest {
-};
-
-TEST_F(CWWindowTest, Basic) {
- CWWindow* window =
- [[CWWindow alloc] initWithContentRect:NSMakeRect(0, 0, 10, 10)];
- EXPECT_TRUE([window canBecomeKeyWindow]);
- EXPECT_FALSE([window canBecomeMainWindow]);
-
- [window makeKeyAndOrderFront:nil];
- [window display];
- [window close];
-}
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_window/cw_window.mm ('k') | chrome/browser/ui/cocoa/constrained_window_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698