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

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

Issue 2087233006: [ios] Moved web_test_suite.h to ios/web/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/run_all_unittests.cc ('k') | ios/web/test/web_test_suite.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 #ifndef IOS_WEB_TEST_WEB_TEST_SUITE_H_ 5 #ifndef IOS_WEB_TEST_WEB_TEST_SUITE_H_
6 #define IOS_WEB_TEST_WEB_TEST_SUITE_H_ 6 #define IOS_WEB_TEST_WEB_TEST_SUITE_H_
7 7
8 #include "base/macros.h" 8 #include "ios/web/public/test/web_test_suite.h"
Eugene But (OOO till 7-30) 2016/06/24 03:47:15 I will delete it tomorrow, once downstream code is
9 #include "base/test/test_suite.h"
10 #include "ios/web/public/test/scoped_testing_web_client.h"
11
12 namespace web {
13
14 class WebTestSuite : public base::TestSuite {
15 public:
16 WebTestSuite(int argc, char** argv);
17 ~WebTestSuite() override;
18
19 protected:
20 // base::TestSuite overrides.
21 void Initialize() override;
22 void Shutdown() override;
23
24 private:
25 // Sets web client on construction and restores the original on destruction.
26 ScopedTestingWebClient web_client_;
27
28 DISALLOW_COPY_AND_ASSIGN(WebTestSuite);
29 };
30
31 } // namespace web
32 9
33 #endif // IOS_WEB_TEST_WEB_TEST_SUITE_H_ 10 #endif // IOS_WEB_TEST_WEB_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « ios/web/test/run_all_unittests.cc ('k') | ios/web/test/web_test_suite.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698