OLD | NEW |
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 #import "ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.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" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 assertWithMatcher:grey_sufficientlyVisible()]; | 289 assertWithMatcher:grey_sufficientlyVisible()]; |
290 [[EarlGrey | 290 [[EarlGrey |
291 selectElementWithMatcher:grey_accessibilityLabel(l10n_util::GetNSString( | 291 selectElementWithMatcher:grey_accessibilityLabel(l10n_util::GetNSString( |
292 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON))] | 292 IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON))] |
293 assertWithMatcher:grey_sufficientlyVisible()]; | 293 assertWithMatcher:grey_sufficientlyVisible()]; |
294 | 294 |
295 CloseSettings(); | 295 CloseSettings(); |
296 } | 296 } |
297 | 297 |
298 @end | 298 @end |
OLD | NEW |