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

Side by Side Diff: ios/web/test/web_test_suite.mm

Issue 2614443004: [ios] Moved all web mocks to ios/web/public/test/fakes. (Closed)
Patch Set: Moved test_redirect_observer back Created 3 years, 11 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/public/test/web_test.mm ('k') | ios/web/test/wk_web_view_crash_utils.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ios/web/public/test/web_test_suite.h" 5 #include "ios/web/public/test/web_test_suite.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/metrics/statistics_recorder.h" 8 #include "base/metrics/statistics_recorder.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #import "ios/web/public/test/test_web_client.h" 10 #import "ios/web/public/test/fakes/test_web_client.h"
11 #include "ios/web/public/url_schemes.h" 11 #include "ios/web/public/url_schemes.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
14 14
15 namespace web { 15 namespace web {
16 16
17 WebTestSuite::WebTestSuite(int argc, char** argv) 17 WebTestSuite::WebTestSuite(int argc, char** argv)
18 : base::TestSuite(argc, argv), 18 : base::TestSuite(argc, argv),
19 web_client_(base::WrapUnique(new TestWebClient)) {} 19 web_client_(base::WrapUnique(new TestWebClient)) {}
20 20
(...skipping 20 matching lines...) Expand all
41 ResourceBundle::GetSharedInstance().AddDataPackFromPath( 41 ResourceBundle::GetSharedInstance().AddDataPackFromPath(
42 resources_pack_path, ui::SCALE_FACTOR_NONE); 42 resources_pack_path, ui::SCALE_FACTOR_NONE);
43 } 43 }
44 44
45 void WebTestSuite::Shutdown() { 45 void WebTestSuite::Shutdown() {
46 ResourceBundle::CleanupSharedInstance(); 46 ResourceBundle::CleanupSharedInstance();
47 base::TestSuite::Shutdown(); 47 base::TestSuite::Shutdown();
48 } 48 }
49 49
50 } // namespace web 50 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/test/web_test.mm ('k') | ios/web/test/wk_web_view_crash_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698