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

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

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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/shell_web_client.mm ('k') | ios/web/shell/test/earl_grey/shell_matchers.mm » ('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 <WebKit/WebKit.h> 7 #import <WebKit/WebKit.h>
8 #import <XCTest/XCTest.h> 8 #import <XCTest/XCTest.h>
9 9
10 #include "base/ios/block_types.h" 10 #import "base/ios/block_types.h"
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #import "ios/testing/earl_grey/matchers.h" 12 #import "ios/testing/earl_grey/matchers.h"
13 #import "ios/web/public/test/http_server.h" 13 #import "ios/web/public/test/http_server.h"
14 #include "ios/web/public/test/http_server_util.h" 14 #include "ios/web/public/test/http_server_util.h"
15 #import "ios/web/public/test/web_view_interaction_test_util.h" 15 #import "ios/web/public/test/web_view_interaction_test_util.h"
16 #import "ios/web/shell/test/app/web_shell_test_util.h" 16 #import "ios/web/shell/test/app/web_shell_test_util.h"
17 #include "ios/web/shell/test/app/web_view_interaction_test_util.h" 17 #include "ios/web/shell/test/app/web_view_interaction_test_util.h"
18 #import "ios/web/shell/test/earl_grey/shell_base_test_case.h" 18 #import "ios/web/shell/test/earl_grey/shell_base_test_case.h"
19 #import "ios/web/shell/test/earl_grey/shell_actions.h" 19 #import "ios/web/shell/test/earl_grey/shell_actions.h"
20 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h" 20 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 // Dismiss the context menu. 194 // Dismiss the context menu.
195 [[EarlGrey selectElementWithMatcher:elementToDismissContextMenu(@"Cancel")] 195 [[EarlGrey selectElementWithMatcher:elementToDismissContextMenu(@"Cancel")]
196 performAction:grey_tap()]; 196 performAction:grey_tap()];
197 197
198 // Context menu should go away after the tap. 198 // Context menu should go away after the tap.
199 [[EarlGrey selectElementWithMatcher:copyItem] assertWithMatcher:grey_nil()]; 199 [[EarlGrey selectElementWithMatcher:copyItem] assertWithMatcher:grey_nil()];
200 } 200 }
201 201
202 @end 202 @end
OLDNEW
« no previous file with comments | « ios/web/shell/shell_web_client.mm ('k') | ios/web/shell/test/earl_grey/shell_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698