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

Unified Diff: ios/web/web_state/web_state_delegate_bridge_unittest.mm

Issue 2650913008: Renamed CRWWebStateDelegateStub to CRWMockWebStateDelegate. (Closed)
Patch Set: Created 3 years, 11 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 | « ios/web/public/test/crw_mock_web_state_delegate.mm ('k') | ios/web/web_state/web_state_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_delegate_bridge_unittest.mm
diff --git a/ios/web/web_state/web_state_delegate_bridge_unittest.mm b/ios/web/web_state/web_state_delegate_bridge_unittest.mm
index 1429a63bee58a60c7709e6026aa92a2b9e2f4fa7..fb7d42921486a5bfa804a32853fb5a21a7354d50 100644
--- a/ios/web/web_state/web_state_delegate_bridge_unittest.mm
+++ b/ios/web/web_state/web_state_delegate_bridge_unittest.mm
@@ -11,9 +11,9 @@
#include "base/mac/bind_objc_block.h"
#import "base/mac/scoped_nsobject.h"
#include "base/strings/utf_string_conversions.h"
+#import "ios/web/public/test/crw_mock_web_state_delegate.h"
#import "ios/web/public/test/fakes/test_web_state.h"
#import "ios/web/public/web_state/context_menu_params.h"
-#import "ios/web/web_state/web_state_delegate_stub.h"
#include "testing/platform_test.h"
#import "third_party/ocmock/gtest_support.h"
#include "ui/base/page_transition_types.h"
@@ -35,7 +35,7 @@ class WebStateDelegateBridgeTest : public PlatformTest {
id originalMockDelegate =
[OCMockObject niceMockForProtocol:@protocol(CRWWebStateDelegate)];
- delegate_.reset([[CRWWebStateDelegateStub alloc]
+ delegate_.reset([[CRWMockWebStateDelegate alloc]
initWithRepresentedObject:originalMockDelegate]);
empty_delegate_.reset([[TestEmptyWebStateDelegate alloc] init]);
« no previous file with comments | « ios/web/public/test/crw_mock_web_state_delegate.mm ('k') | ios/web/web_state/web_state_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698