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

Side by Side Diff: ios/web/shell/test/page_state_egtest.mm

Issue 2761443005: Add disabled_test_macro import to EarlGrey base test cases. (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « ios/web/shell/test/earl_grey/web_shell_test_case.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <CoreGraphics/CoreGraphics.h> 5 #import <CoreGraphics/CoreGraphics.h>
6 #import <EarlGrey/EarlGrey.h> 6 #import <EarlGrey/EarlGrey.h>
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #import <XCTest/XCTest.h> 8 #import <XCTest/XCTest.h>
9 9
10 #include "base/ios/ios_util.h" 10 #include "base/ios/ios_util.h"
11 #include "ios/testing/earl_grey/disabled_test_macros.h"
12 #import "ios/web/public/test/http_server.h" 11 #import "ios/web/public/test/http_server.h"
13 #include "ios/web/public/test/http_server_util.h" 12 #include "ios/web/public/test/http_server_util.h"
14 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h" 13 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h"
15 #import "ios/web/shell/test/earl_grey/shell_matchers.h" 14 #import "ios/web/shell/test/earl_grey/shell_matchers.h"
16 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h" 15 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h"
17 16
18 #if !defined(__has_feature) || !__has_feature(objc_arc) 17 #if !defined(__has_feature) || !__has_feature(objc_arc)
19 #error "This file requires ARC support." 18 #error "This file requires ARC support."
20 #endif 19 #endif
21 20
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 performAction:grey_tap()]; 93 performAction:grey_tap()];
95 WaitForOffset(kOffset1); 94 WaitForOffset(kOffset1);
96 95
97 // Go forward and verify that the second page offset has been restored. 96 // Go forward and verify that the second page offset has been restored.
98 [[EarlGrey selectElementWithMatcher:web::ForwardButton()] 97 [[EarlGrey selectElementWithMatcher:web::ForwardButton()]
99 performAction:grey_tap()]; 98 performAction:grey_tap()];
100 WaitForOffset(kOffset2); 99 WaitForOffset(kOffset2);
101 } 100 }
102 101
103 @end 102 @end
OLDNEW
« no previous file with comments | « ios/web/shell/test/earl_grey/web_shell_test_case.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698