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

Side by Side Diff: ios/chrome/browser/ui/settings/block_popups_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 #import <UIKit/UIKit.h> 6 #import <UIKit/UIKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #include "base/ios/ios_util.h" 9 #include "base/ios/ios_util.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 #include "components/content_settings/core/browser/host_content_settings_map.h" 11 #include "components/content_settings/core/browser/host_content_settings_map.h"
12 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 12 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
13 #include "ios/chrome/browser/content_settings/host_content_settings_map_factory. h" 13 #include "ios/chrome/browser/content_settings/host_content_settings_map_factory. h"
14 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h" 14 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h"
15 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" 15 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h"
16 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h" 16 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h"
17 #include "ios/chrome/grit/ios_strings.h" 17 #include "ios/chrome/grit/ios_strings.h"
18 #import "ios/chrome/test/app/chrome_test_util.h" 18 #import "ios/chrome/test/app/chrome_test_util.h"
19 #include "ios/chrome/test/app/navigation_test_util.h" 19 #include "ios/chrome/test/app/navigation_test_util.h"
20 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 20 #include "ios/chrome/test/app/web_view_interaction_test_util.h"
21 #include "ios/chrome/test/earl_grey/accessibility_util.h" 21 #include "ios/chrome/test/earl_grey/accessibility_util.h"
22 #import "ios/chrome/test/earl_grey/chrome_actions.h" 22 #import "ios/chrome/test/earl_grey/chrome_actions.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/web/public/test/http_server.h" 28 #import "ios/web/public/test/http_server/http_server.h"
29 #include "ios/web/public/test/http_server_util.h" 29 #include "ios/web/public/test/http_server/http_server_util.h"
30 #import "ios/web/public/test/web_view_interaction_test_util.h" 30 #import "ios/web/public/test/web_view_interaction_test_util.h"
31 #include "ui/base/l10n/l10n_util_mac.h" 31 #include "ui/base/l10n/l10n_util_mac.h"
32 #include "url/gurl.h" 32 #include "url/gurl.h"
33 33
34 #if !defined(__has_feature) || !__has_feature(objc_arc) 34 #if !defined(__has_feature) || !__has_feature(objc_arc)
35 #error "This file requires ARC support." 35 #error "This file requires ARC support."
36 #endif 36 #endif
37 37
38 using chrome_test_util::NavigationBarDoneButton; 38 using chrome_test_util::NavigationBarDoneButton;
39 39
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 assertWithMatcher:grey_sufficientlyVisible()]; 291 assertWithMatcher:grey_sufficientlyVisible()];
292 [[EarlGrey 292 [[EarlGrey
293 selectElementWithMatcher:grey_accessibilityLabel(l10n_util::GetNSString( 293 selectElementWithMatcher:grey_accessibilityLabel(l10n_util::GetNSString(
294 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON))] 294 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON))]
295 assertWithMatcher:grey_sufficientlyVisible()]; 295 assertWithMatcher:grey_sufficientlyVisible()];
296 296
297 CloseSettings(); 297 CloseSettings();
298 } 298 }
299 299
300 @end 300 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/settings/autofill_settings_egtest.mm ('k') | ios/chrome/browser/ui/settings/settings_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698