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

Side by Side Diff: ios/chrome/browser/web/stop_loading_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 <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "ios/chrome/browser/ui/ui_util.h" 10 #include "ios/chrome/browser/ui/ui_util.h"
11 #include "ios/chrome/test/app/navigation_test_util.h" 11 #include "ios/chrome/test/app/navigation_test_util.h"
12 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 12 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
13 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 13 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
14 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 14 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
15 #import "ios/web/public/test/http_server.h" 15 #include "ios/web/public/test/http_server/html_response_provider.h"
16 #include "ios/web/public/test/http_server_util.h" 16 #import "ios/web/public/test/http_server/http_server.h"
17 #include "ios/web/public/test/response_providers/html_response_provider.h" 17 #include "ios/web/public/test/http_server/http_server_util.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 #if !defined(__has_feature) || !__has_feature(objc_arc) 20 #if !defined(__has_feature) || !__has_feature(objc_arc)
21 #error "This file requires ARC support." 21 #error "This file requires ARC support."
22 #endif 22 #endif
23 23
24 using chrome_test_util::ButtonWithAccessibilityLabelId; 24 using chrome_test_util::ButtonWithAccessibilityLabelId;
25 using chrome_test_util::WebViewContainingText; 25 using chrome_test_util::WebViewContainingText;
26 26
27 namespace { 27 namespace {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 if (!IsIPadIdiom()) { 134 if (!IsIPadIdiom()) {
135 [ChromeEarlGreyUI openToolsMenu]; 135 [ChromeEarlGreyUI openToolsMenu];
136 } 136 }
137 [[EarlGrey selectElementWithMatcher:chrome_test_util::StopButton()] 137 [[EarlGrey selectElementWithMatcher:chrome_test_util::StopButton()]
138 assertWithMatcher:grey_notVisible()]; 138 assertWithMatcher:grey_notVisible()];
139 [[EarlGrey selectElementWithMatcher:chrome_test_util::ReloadButton()] 139 [[EarlGrey selectElementWithMatcher:chrome_test_util::ReloadButton()]
140 assertWithMatcher:grey_sufficientlyVisible()]; 140 assertWithMatcher:grey_sufficientlyVisible()];
141 } 141 }
142 142
143 @end 143 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/push_and_replace_state_navigation_egtest.mm ('k') | ios/chrome/browser/web/visible_url_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698