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

Side by Side Diff: ios/chrome/browser/ui/history/tab_history_popup_controller_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 <XCTest/XCTest.h> 5 #import <XCTest/XCTest.h>
6 6
7 #include "base/strings/sys_string_conversions.h" 7 #include "base/strings/sys_string_conversions.h"
8 #include "components/strings/grit/components_strings.h" 8 #include "components/strings/grit/components_strings.h"
9 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 9 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
10 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 10 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
11 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 11 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
12 #import "ios/web/public/test/http_server.h" 12 #import "ios/web/public/test/http_server/http_server.h"
13 #import "ios/web/public/test/http_server_util.h" 13 #import "ios/web/public/test/http_server/http_server_util.h"
14 #include "ios/web/public/test/url_test_util.h" 14 #include "ios/web/public/test/url_test_util.h"
15 15
16 #if !defined(__has_feature) || !__has_feature(objc_arc) 16 #if !defined(__has_feature) || !__has_feature(objc_arc)
17 #error "This file requires ARC support." 17 #error "This file requires ARC support."
18 #endif 18 #endif
19 19
20 // Tests for tab history popup. 20 // Tests for tab history popup.
21 @interface TabHistoryPopupControllerTestCase : ChromeTestCase 21 @interface TabHistoryPopupControllerTestCase : ChromeTestCase
22 @end 22 @end
23 23
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 assertWithMatcher:grey_notNil()]; 89 assertWithMatcher:grey_notNil()];
90 // Tap entry to go forward 2 pages, and verify that entry 3 is loaded. 90 // Tap entry to go forward 2 pages, and verify that entry 3 is loaded.
91 [[EarlGrey selectElementWithMatcher:grey_text(entry3)] 91 [[EarlGrey selectElementWithMatcher:grey_text(entry3)]
92 performAction:grey_tap()]; 92 performAction:grey_tap()];
93 [[EarlGrey 93 [[EarlGrey
94 selectElementWithMatcher:chrome_test_util::OmniboxText(URL3.GetContent())] 94 selectElementWithMatcher:chrome_test_util::OmniboxText(URL3.GetContent())]
95 assertWithMatcher:grey_notNil()]; 95 assertWithMatcher:grey_notNil()];
96 } 96 }
97 97
98 @end 98 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/history/history_ui_egtest.mm ('k') | ios/chrome/browser/ui/infobars/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698