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 <XCTest/XCTest.h> | 5 #import <XCTest/XCTest.h> |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
10 #include "components/strings/grit/components_strings.h" | 10 #include "components/strings/grit/components_strings.h" |
11 #include "ios/chrome/browser/ui/ui_util.h" | 11 #include "ios/chrome/browser/ui/ui_util.h" |
12 #import "ios/chrome/test/app/chrome_test_util.h" | 12 #import "ios/chrome/test/app/chrome_test_util.h" |
13 #include "ios/chrome/test/app/navigation_test_util.h" | 13 #include "ios/chrome/test/app/navigation_test_util.h" |
14 #include "ios/chrome/test/app/web_view_interaction_test_util.h" | 14 #include "ios/chrome/test/app/web_view_interaction_test_util.h" |
15 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" | 15 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" |
16 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" | 16 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" |
17 #import "ios/chrome/test/earl_grey/chrome_matchers.h" | 17 #import "ios/chrome/test/earl_grey/chrome_matchers.h" |
18 #import "ios/chrome/test/earl_grey/chrome_test_case.h" | 18 #import "ios/chrome/test/earl_grey/chrome_test_case.h" |
19 #import "ios/testing/wait_util.h" | 19 #import "ios/testing/wait_util.h" |
20 #import "ios/web/public/test/http_server.h" | 20 #include "ios/web/public/test/http_server/data_response_provider.h" |
21 #import "ios/web/public/test/http_server_util.h" | 21 #import "ios/web/public/test/http_server/http_server.h" |
22 #include "ios/web/public/test/response_providers/data_response_provider.h" | 22 #import "ios/web/public/test/http_server/http_server_util.h" |
Eugene But (OOO till 7-30)
2017/05/26 17:22:28
s/import/include
baxley
2017/05/26 18:06:21
Done.
| |
23 #include "ios/web/public/test/url_test_util.h" | 23 #include "ios/web/public/test/url_test_util.h" |
24 | 24 |
25 #if !defined(__has_feature) || !__has_feature(objc_arc) | 25 #if !defined(__has_feature) || !__has_feature(objc_arc) |
26 #error "This file requires ARC support." | 26 #error "This file requires ARC support." |
27 #endif | 27 #endif |
28 | 28 |
29 using chrome_test_util::ButtonWithAccessibilityLabelId; | 29 using chrome_test_util::ButtonWithAccessibilityLabelId; |
30 using chrome_test_util::OmniboxText; | 30 using chrome_test_util::OmniboxText; |
31 using chrome_test_util::WebViewContainingText; | 31 using chrome_test_util::WebViewContainingText; |
32 | 32 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
349 ButtonWithAccessibilityLabelId(IDS_HTTP_POST_WARNING_RESEND); | 349 ButtonWithAccessibilityLabelId(IDS_HTTP_POST_WARNING_RESEND); |
350 [[EarlGrey selectElementWithMatcher:resendWarning] | 350 [[EarlGrey selectElementWithMatcher:resendWarning] |
351 assertWithMatcher:grey_nil()]; | 351 assertWithMatcher:grey_nil()]; |
352 [[EarlGrey selectElementWithMatcher:WebViewContainingText("GET")] | 352 [[EarlGrey selectElementWithMatcher:WebViewContainingText("GET")] |
353 assertWithMatcher:grey_notNil()]; | 353 assertWithMatcher:grey_notNil()]; |
354 [[EarlGrey selectElementWithMatcher:OmniboxText(destinationURL.GetContent())] | 354 [[EarlGrey selectElementWithMatcher:OmniboxText(destinationURL.GetContent())] |
355 assertWithMatcher:grey_notNil()]; | 355 assertWithMatcher:grey_notNil()]; |
356 } | 356 } |
357 | 357 |
358 @end | 358 @end |
OLD | NEW |