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

Side by Side Diff: ios/chrome/browser/context_menu/context_menu_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/chrome/browser/context_menu/BUILD.gn ('k') | ios/chrome/browser/crash_report/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 #import <UIKit/UIKit.h> 6 #import <UIKit/UIKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "ios/chrome/browser/ui/ui_util.h" 10 #include "ios/chrome/browser/ui/ui_util.h"
11 #include "ios/chrome/grit/ios_strings.h" 11 #include "ios/chrome/grit/ios_strings.h"
12 #import "ios/chrome/test/app/chrome_test_util.h" 12 #import "ios/chrome/test/app/chrome_test_util.h"
13 #import "ios/chrome/test/app/settings_test_util.h" 13 #import "ios/chrome/test/app/settings_test_util.h"
14 #import "ios/chrome/test/app/tab_test_util.h" 14 #import "ios/chrome/test/app/tab_test_util.h"
15 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 15 #include "ios/chrome/test/app/web_view_interaction_test_util.h"
16 #import "ios/chrome/test/earl_grey/chrome_actions.h" 16 #import "ios/chrome/test/earl_grey/chrome_actions.h"
17 #import "ios/chrome/test/earl_grey/chrome_assertions.h" 17 #import "ios/chrome/test/earl_grey/chrome_assertions.h"
18 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 18 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
19 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 19 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
20 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 20 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
21 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 21 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
22 #import "ios/testing/wait_util.h" 22 #import "ios/testing/wait_util.h"
23 #import "ios/web/public/test/earl_grey/web_view_matchers.h" 23 #import "ios/web/public/test/earl_grey/web_view_matchers.h"
24 #import "ios/web/public/test/http_server.h" 24 #import "ios/web/public/test/http_server/http_server.h"
25 #import "ios/web/public/test/http_server_util.h" 25 #import "ios/web/public/test/http_server/http_server_util.h"
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 27
28 #if !defined(__has_feature) || !__has_feature(objc_arc) 28 #if !defined(__has_feature) || !__has_feature(objc_arc)
29 #error "This file requires ARC support." 29 #error "This file requires ARC support."
30 #endif 30 #endif
31 31
32 using chrome_test_util::ButtonWithAccessibilityLabelId; 32 using chrome_test_util::ButtonWithAccessibilityLabelId;
33 using chrome_test_util::OpenLinkInNewTabButton; 33 using chrome_test_util::OpenLinkInNewTabButton;
34 34
35 namespace { 35 namespace {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 SelectTabAtIndexInCurrentMode(1U); 257 SelectTabAtIndexInCurrentMode(1U);
258 258
259 // Verify url and tab count. 259 // Verify url and tab count.
260 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText( 260 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText(
261 destinationURL.GetContent())] 261 destinationURL.GetContent())]
262 assertWithMatcher:grey_notNil()]; 262 assertWithMatcher:grey_notNil()];
263 chrome_test_util::AssertMainTabCount(2U); 263 chrome_test_util::AssertMainTabCount(2U);
264 } 264 }
265 265
266 @end 266 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/context_menu/BUILD.gn ('k') | ios/chrome/browser/crash_report/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698