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

Side by Side Diff: ios/chrome/browser/web/browsing_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 #include <map> 6 #include <map>
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/ios/ios_util.h" 10 #include "base/ios/ios_util.h"
(...skipping 10 matching lines...) Expand all
21 #include "ios/chrome/test/app/navigation_test_util.h" 21 #include "ios/chrome/test/app/navigation_test_util.h"
22 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 22 #include "ios/chrome/test/app/web_view_interaction_test_util.h"
23 #import "ios/chrome/test/earl_grey/chrome_assertions.h" 23 #import "ios/chrome/test/earl_grey/chrome_assertions.h"
24 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 24 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
25 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 25 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
26 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 26 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
27 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 27 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
28 #import "ios/testing/wait_util.h" 28 #import "ios/testing/wait_util.h"
29 #import "ios/web/public/test/earl_grey/web_view_actions.h" 29 #import "ios/web/public/test/earl_grey/web_view_actions.h"
30 #import "ios/web/public/test/earl_grey/web_view_matchers.h" 30 #import "ios/web/public/test/earl_grey/web_view_matchers.h"
31 #import "ios/web/public/test/http_server.h" 31 #include "ios/web/public/test/http_server/data_response_provider.h"
32 #include "ios/web/public/test/http_server_util.h" 32 #import "ios/web/public/test/http_server/http_server.h"
33 #include "ios/web/public/test/response_providers/data_response_provider.h" 33 #include "ios/web/public/test/http_server/http_server_util.h"
34 #include "net/http/http_response_headers.h" 34 #include "net/http/http_response_headers.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 #include "url/gurl.h" 36 #include "url/gurl.h"
37 37
38 #if !defined(__has_feature) || !__has_feature(objc_arc) 38 #if !defined(__has_feature) || !__has_feature(objc_arc)
39 #error "This file requires ARC support." 39 #error "This file requires ARC support."
40 #endif 40 #endif
41 41
42 using chrome_test_util::OmniboxText; 42 using chrome_test_util::OmniboxText;
43 using chrome_test_util::WebViewContainingText; 43 using chrome_test_util::WebViewContainingText;
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 652
653 // Go back and verify that the browser navigates to the original URL. 653 // Go back and verify that the browser navigates to the original URL.
654 [self goBack]; 654 [self goBack];
655 [[EarlGrey selectElementWithMatcher:WebViewContainingText("hello!")] 655 [[EarlGrey selectElementWithMatcher:WebViewContainingText("hello!")]
656 assertWithMatcher:grey_notNil()]; 656 assertWithMatcher:grey_notNil()];
657 [[EarlGrey selectElementWithMatcher:OmniboxText(URL.GetContent())] 657 [[EarlGrey selectElementWithMatcher:OmniboxText(URL.GetContent())]
658 assertWithMatcher:grey_notNil()]; 658 assertWithMatcher:grey_notNil()];
659 } 659 }
660 660
661 @end 661 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/BUILD.gn ('k') | ios/chrome/browser/web/browsing_prevent_default_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698