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

Side by Side Diff: ios/web/shell/test/redirect_egtest.mm

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 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 unified diff | Download patch
« no previous file with comments | « ios/web/shell/test/plugin_placeholder_egtest.mm ('k') | ios/web/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 6
7 #import "ios/web/public/test/http_server.h" 7 #import "ios/web/public/test/http_server/html_response_provider.h"
8 #include "ios/web/public/test/http_server_util.h" 8 #import "ios/web/public/test/http_server/html_response_provider_impl.h"
9 #import "ios/web/public/test/response_providers/html_response_provider.h" 9 #import "ios/web/public/test/http_server/http_server.h"
10 #import "ios/web/public/test/response_providers/html_response_provider_impl.h" 10 #include "ios/web/public/test/http_server/http_server_util.h"
11 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h" 11 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h"
12 #import "ios/web/shell/test/earl_grey/shell_matchers.h" 12 #import "ios/web/shell/test/earl_grey/shell_matchers.h"
13 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h" 13 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h"
14 #include "net/http/http_status_code.h" 14 #include "net/http/http_status_code.h"
15 15
16 #if !defined(__has_feature) || !__has_feature(objc_arc) 16 #if !defined(__has_feature) || !__has_feature(objc_arc)
17 #error "This file requires ARC support." 17 #error "This file requires ARC support."
18 #endif 18 #endif
19 19
20 using web::AddressFieldText; 20 using web::AddressFieldText;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Load first URL and expect destination URL to load. 100 // Load first URL and expect destination URL to load.
101 [ShellEarlGrey loadURL:firstRedirectURL]; 101 [ShellEarlGrey loadURL:firstRedirectURL];
102 [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())] 102 [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
103 assertWithMatcher:grey_notNil()]; 103 assertWithMatcher:grey_notNil()];
104 [[EarlGrey selectElementWithMatcher:WebViewContainingText(kFinalPageContent)] 104 [[EarlGrey selectElementWithMatcher:WebViewContainingText(kFinalPageContent)]
105 assertWithMatcher:grey_notNil()]; 105 assertWithMatcher:grey_notNil()];
106 } 106 }
107 107
108 @end 108 @end
OLDNEW
« no previous file with comments | « ios/web/shell/test/plugin_placeholder_egtest.mm ('k') | ios/web/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698