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/js/crw_js_injection_manager_unittest.mm

Issue 2063763002: [ios] Removed deprecated ios/web/test/web_test.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually removed web_test.h Created 4 years, 6 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: ios/web/web_state/js/crw_js_injection_manager_unittest.mm
diff --git a/ios/web/web_state/js/crw_js_injection_manager_unittest.mm b/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
index 7f363f8ee8880f65104bd1dabc1713648c415bd5..7478d9a2fe1766aea3b56c26c203c94b4b4bdc13 100644
--- a/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
+++ b/ios/web/web_state/js/crw_js_injection_manager_unittest.mm
@@ -7,9 +7,9 @@
#include <stddef.h>
#import <Foundation/Foundation.h>
+#import "ios/web/public/test/web_test_with_web_state.h"
#import "ios/web/public/web_state/js/crw_js_injection_receiver.h"
#import "ios/web/public/web_state/web_state.h"
-#import "ios/web/test/web_test.h"
#include "testing/gtest_mac.h"
// Testing class of JsInjectioManager that has no dependencies.
@@ -158,10 +158,10 @@
namespace web {
// Test fixture to test web controller injection.
-class JsInjectionManagerTest : public web::WebTestWithWebController {
+class JsInjectionManagerTest : public web::WebTestWithWebState {
protected:
void SetUp() override {
- web::WebTestWithWebController::SetUp();
+ web::WebTestWithWebState::SetUp();
// Loads a dummy page to prepare JavaScript evaluation.
NSString* const kPageContent = @"<html><body><div></div></body></html>";
LoadHtml(kPageContent);
« no previous file with comments | « ios/web/web_state/js/core_js_unittest.mm ('k') | ios/web/web_state/js/crw_js_post_request_loader_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698