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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmarks_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 #include <vector> 5 #include <vector>
6 6
7 #import <EarlGrey/EarlGrey.h> 7 #import <EarlGrey/EarlGrey.h>
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 #import <XCTest/XCTest.h> 9 #import <XCTest/XCTest.h>
10 10
(...skipping 18 matching lines...) Expand all
29 #include "ios/chrome/test/app/navigation_test_util.h" 29 #include "ios/chrome/test/app/navigation_test_util.h"
30 #import "ios/chrome/test/app/tab_test_util.h" 30 #import "ios/chrome/test/app/tab_test_util.h"
31 #import "ios/chrome/test/earl_grey/accessibility_util.h" 31 #import "ios/chrome/test/earl_grey/accessibility_util.h"
32 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 32 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
33 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 33 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
34 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 34 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
35 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 35 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
36 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h" 36 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h"
37 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h" 37 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h"
38 #import "ios/testing/wait_util.h" 38 #import "ios/testing/wait_util.h"
39 #import "ios/web/public/test/http_server.h" 39 #import "ios/web/public/test/http_server/http_server.h"
40 #include "ios/web/public/test/http_server_util.h" 40 #include "ios/web/public/test/http_server/http_server_util.h"
41 #include "ui/base/l10n/l10n_util.h" 41 #include "ui/base/l10n/l10n_util.h"
42 #include "ui/base/models/tree_node_iterator.h" 42 #include "ui/base/models/tree_node_iterator.h"
43 #include "url/gurl.h" 43 #include "url/gurl.h"
44 44
45 #if !defined(__has_feature) || !__has_feature(objc_arc) 45 #if !defined(__has_feature) || !__has_feature(objc_arc)
46 #error "This file requires ARC support." 46 #error "This file requires ARC support."
47 #endif 47 #endif
48 48
49 using chrome_test_util::ButtonWithAccessibilityLabel; 49 using chrome_test_util::ButtonWithAccessibilityLabel;
50 using chrome_test_util::ButtonWithAccessibilityLabelId; 50 using chrome_test_util::ButtonWithAccessibilityLabelId;
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 if (!IsCompact()) { 1689 if (!IsCompact()) {
1690 [[EarlGrey selectElementWithMatcher:StarButton()] performAction:grey_tap()]; 1690 [[EarlGrey selectElementWithMatcher:StarButton()] performAction:grey_tap()];
1691 } else { 1691 } else {
1692 [ChromeEarlGreyUI openToolsMenu]; 1692 [ChromeEarlGreyUI openToolsMenu];
1693 [[EarlGrey selectElementWithMatcher:AddBookmarkButton()] 1693 [[EarlGrey selectElementWithMatcher:AddBookmarkButton()]
1694 performAction:grey_tap()]; 1694 performAction:grey_tap()];
1695 } 1695 }
1696 } 1696 }
1697 1697
1698 @end 1698 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/BUILD.gn ('k') | ios/chrome/browser/ui/browser_view_controller_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698