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

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

Issue 7031014: Support for better integration between OCMock and gtest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/chrome_event_processing_window_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/chrome_event_processing_window_unittest.mm (revision 85510)
+++ chrome/browser/ui/cocoa/chrome_event_processing_window_unittest.mm (working copy)
@@ -11,6 +11,7 @@
#import "chrome/browser/ui/cocoa/browser_window_controller.h"
#import "chrome/browser/ui/cocoa/browser_frame_view.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
+#include "third_party/ocmock/gtest_support.h"
#import "third_party/ocmock/OCMock/OCMock.h"
namespace {
@@ -83,7 +84,7 @@
// Don't wish to mock all the way down...
[window_ setDelegate:nil];
- [delegate verify];
+ EXPECT_OCMOCK_VERIFY(delegate);
}
// Verify that an unhandled shortcut does not get forwarded via
@@ -100,7 +101,7 @@
// Don't wish to mock all the way down...
[window_ setDelegate:nil];
- [delegate verify];
+ EXPECT_OCMOCK_VERIFY(delegate);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698