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

Side by Side Diff: ios/web/web_state/crw_pass_kit_downloader_unittest.mm

Issue 2063763002: [ios] Removed deprecated ios/web/test/web_test.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually removed web_test.h Created 4 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
« no previous file with comments | « ios/web/test/web_test.h ('k') | ios/web/web_state/js/common_js_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/web/web_state/crw_pass_kit_downloader.h" 5 #import "ios/web/web_state/crw_pass_kit_downloader.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <UIKit/UIKit.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #import "base/mac/scoped_nsobject.h" 11 #import "base/mac/scoped_nsobject.h"
12 #import "ios/web/test/web_test.h" 12 #include "ios/web/public/test/web_test.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/http/http_response_headers.h" 14 #include "net/http/http_response_headers.h"
15 #include "net/url_request/test_url_fetcher_factory.h" 15 #include "net/url_request/test_url_fetcher_factory.h"
16 #include "net/url_request/url_fetcher_delegate.h" 16 #include "net/url_request/url_fetcher_delegate.h"
17 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
18 #include "testing/gtest_mac.h" 18 #include "testing/gtest_mac.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 using net::HttpResponseHeaders; 21 using net::HttpResponseHeaders;
22 using net::URLRequestStatus; 22 using net::URLRequestStatus;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ASSERT_TRUE(fetcher); 148 ASSERT_TRUE(fetcher);
149 ASSERT_EQ(test_url, fetcher->GetOriginalURL()); 149 ASSERT_EQ(test_url, fetcher->GetOriginalURL());
150 SetUpFetcher(fetcher, URLRequestStatus(), 200, kPassKitMimeType); 150 SetUpFetcher(fetcher, URLRequestStatus(), 200, kPassKitMimeType);
151 fetcher->delegate()->OnURLFetchComplete(fetcher); 151 fetcher->delegate()->OnURLFetchComplete(fetcher);
152 152
153 EXPECT_FALSE([shared_app isNetworkActivityIndicatorVisible]); 153 EXPECT_FALSE([shared_app isNetworkActivityIndicatorVisible]);
154 EXPECT_FALSE(completion_handler_success_); 154 EXPECT_FALSE(completion_handler_success_);
155 } 155 }
156 156
157 } // namespace 157 } // namespace
OLDNEW
« no previous file with comments | « ios/web/test/web_test.h ('k') | ios/web/web_state/js/common_js_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698