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

Side by Side Diff: ios/chrome/browser/web/navigation_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
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 <XCTest/XCTest.h> 5 #import <XCTest/XCTest.h>
6 6
7 #include "base/ios/ios_util.h" 7 #include "base/ios/ios_util.h"
8 #include "components/strings/grit/components_strings.h" 8 #include "components/strings/grit/components_strings.h"
9 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 9 #include "ios/chrome/test/app/web_view_interaction_test_util.h"
10 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 10 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
11 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 11 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
12 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 12 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
13 #import "ios/web/public/test/http_server.h" 13 #include "ios/web/public/test/http_server/data_response_provider.h"
14 #include "ios/web/public/test/http_server_util.h" 14 #import "ios/web/public/test/http_server/http_server.h"
15 #include "ios/web/public/test/response_providers/data_response_provider.h" 15 #include "ios/web/public/test/http_server/http_server_util.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 17
18 #if !defined(__has_feature) || !__has_feature(objc_arc) 18 #if !defined(__has_feature) || !__has_feature(objc_arc)
19 #error "This file requires ARC support." 19 #error "This file requires ARC support."
20 #endif 20 #endif
21 21
22 using chrome_test_util::BackButton; 22 using chrome_test_util::BackButton;
23 using chrome_test_util::ForwardButton; 23 using chrome_test_util::ForwardButton;
24 using chrome_test_util::TapWebViewElementWithId; 24 using chrome_test_util::TapWebViewElementWithId;
25 using chrome_test_util::WebViewContainingText; 25 using chrome_test_util::WebViewContainingText;
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // Navigate forward and assert the the resulting page is the proper 679 // Navigate forward and assert the the resulting page is the proper
680 // destination. 680 // destination.
681 [[EarlGrey selectElementWithMatcher:ForwardButton()] 681 [[EarlGrey selectElementWithMatcher:ForwardButton()]
682 performAction:grey_tap()]; 682 performAction:grey_tap()];
683 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText( 683 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText(
684 destinationURL.GetContent())] 684 destinationURL.GetContent())]
685 assertWithMatcher:grey_notNil()]; 685 assertWithMatcher:grey_notNil()];
686 } 686 }
687 687
688 @end 688 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/js_print_egtest.mm ('k') | ios/chrome/browser/web/progress_indicator_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698