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

Unified Diff: chrome/browser/cocoa/blocked_popup_container_controller_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/blocked_popup_container_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm (revision 32421)
+++ chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm (working copy)
@@ -28,6 +28,7 @@
// separately and inject the bridge with a test-only Create() call.
// Unfortunate, but no way around it.
RenderViewHostTestHarness::SetUp();
+ CocoaTest::BootstrapCocoa();
cocoa_controller_ = [[BlockedPopupContainerController alloc]
initWithContainer:nil];
EXPECT_TRUE([cocoa_controller_ bridge]);
@@ -62,7 +63,6 @@
}
base::ScopedNSAutoreleasePool pool;
- CocoaTestHelper cocoa_helper_;
BlockedPopupContainer* container_;
BlockedPopupContainerController* cocoa_controller_;
};
« no previous file with comments | « chrome/browser/cocoa/base_view_unittest.mm ('k') | chrome/browser/cocoa/bookmark_bar_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698