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

Side by Side Diff: ios/chrome/browser/ui/settings/settings_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 #include <map> 8 #include <map>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 22 matching lines...) Expand all
33 #include "ios/chrome/grit/ios_theme_resources.h" 33 #include "ios/chrome/grit/ios_theme_resources.h"
34 #import "ios/chrome/test/app/chrome_test_util.h" 34 #import "ios/chrome/test/app/chrome_test_util.h"
35 #include "ios/chrome/test/app/navigation_test_util.h" 35 #include "ios/chrome/test/app/navigation_test_util.h"
36 #import "ios/chrome/test/app/tab_test_util.h" 36 #import "ios/chrome/test/app/tab_test_util.h"
37 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 37 #include "ios/chrome/test/app/web_view_interaction_test_util.h"
38 #include "ios/chrome/test/earl_grey/accessibility_util.h" 38 #include "ios/chrome/test/earl_grey/accessibility_util.h"
39 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 39 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
40 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 40 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
41 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 41 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
42 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 42 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
43 #import "ios/web/public/test/http_server.h" 43 #import "ios/web/public/test/http_server/http_server.h"
44 #include "ios/web/public/test/http_server_util.h" 44 #include "ios/web/public/test/http_server/http_server_util.h"
45 #import "ios/web/public/test/web_view_interaction_test_util.h" 45 #import "ios/web/public/test/web_view_interaction_test_util.h"
46 #import "ios/web/public/web_state/web_state.h" 46 #import "ios/web/public/web_state/web_state.h"
47 #include "ios/web/public/web_thread.h" 47 #include "ios/web/public/web_thread.h"
48 #include "net/ssl/channel_id_service.h" 48 #include "net/ssl/channel_id_service.h"
49 #include "net/ssl/channel_id_store.h" 49 #include "net/ssl/channel_id_store.h"
50 #include "net/url_request/url_request_context.h" 50 #include "net/url_request/url_request_context.h"
51 #include "net/url_request/url_request_context_getter.h" 51 #include "net/url_request/url_request_context_getter.h"
52 #include "ui/base/l10n/l10n_util.h" 52 #include "ui/base/l10n/l10n_util.h"
53 #include "url/gurl.h" 53 #include "url/gurl.h"
54 54
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 // Verifies the UI elements are accessible on the Send Usage Data page. 986 // Verifies the UI elements are accessible on the Send Usage Data page.
987 - (void)testAccessibilityOnSendUsageData { 987 - (void)testAccessibilityOnSendUsageData {
988 [ChromeEarlGreyUI openSettingsMenu]; 988 [ChromeEarlGreyUI openSettingsMenu];
989 [ChromeEarlGreyUI tapSettingsMenuButton:PrivacyButton()]; 989 [ChromeEarlGreyUI tapSettingsMenuButton:PrivacyButton()];
990 [ChromeEarlGreyUI tapPrivacyMenuButton:SendUsageDataButton()]; 990 [ChromeEarlGreyUI tapPrivacyMenuButton:SendUsageDataButton()];
991 chrome_test_util::VerifyAccessibilityForCurrentScreen(); 991 chrome_test_util::VerifyAccessibilityForCurrentScreen();
992 [self closeSubSettingsMenu]; 992 [self closeSubSettingsMenu];
993 } 993 }
994 994
995 @end 995 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/settings/block_popups_egtest.mm ('k') | ios/chrome/browser/ui/settings/utils/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698