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

Unified Diff: chrome/browser/cocoa/fullscreen_window_unittest.mm

Issue 402066: Moved a whole pile of unittests over to CocoaTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/cocoa/fullscreen_window_unittest.mm
===================================================================
--- chrome/browser/cocoa/fullscreen_window_unittest.mm (revision 32421)
+++ chrome/browser/cocoa/fullscreen_window_unittest.mm (working copy)
@@ -8,9 +8,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
-class FullscreenWindowTest : public PlatformTest {
- public:
- CocoaTestHelper cocoa_helper_;
+class FullscreenWindowTest : public CocoaTest {
};
TEST_F(FullscreenWindowTest, Basics) {
@@ -21,8 +19,8 @@
EXPECT_TRUE([window_ canBecomeKeyWindow]);
EXPECT_TRUE([window_ canBecomeMainWindow]);
EXPECT_EQ(NSBorderlessWindowMask, [window_ styleMask]);
- EXPECT_FALSE([window_ isReleasedWhenClosed]);
EXPECT_TRUE(NSEqualRects([[NSScreen mainScreen] frame], [window_ frame]));
+ EXPECT_FALSE([window_ isReleasedWhenClosed]);
}
« no previous file with comments | « chrome/browser/cocoa/focus_tracker_unittest.mm ('k') | chrome/browser/cocoa/hyperlink_button_cell_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698