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

Side by Side Diff: ui/views/run_all_unittests.h

Issue 1978293003: Rename ViewTestSuite to ViewsTestSuite and put it in the proper file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@widgetinteractive
Patch Set: rebase Created 4 years, 7 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 | « ui/views/mus/views_mus_test_suite.cc ('k') | ui/views/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_RUN_ALL_UNITTESTS_H_
6 #define UI_VIEWS_RUN_ALL_UNITTESTS_H_
7
8 #include "base/callback_forward.h"
9 #include "base/test/test_suite.h"
10
11 #if defined(USE_AURA)
12 #include <memory>
13 #endif
14
15 namespace aura {
16 class Env;
17 }
18
19 namespace views {
20
21 // TODO(jamescook): Rename this to ViewsTestSuite and rename the file to match.
22 class ViewTestSuite : public base::TestSuite {
23 public:
24 ViewTestSuite(int argc, char** argv);
25 ~ViewTestSuite() override;
26
27 int RunTests();
28 int RunTestsSerially();
29
30 protected:
31 // base::TestSuite:
32 void Initialize() override;
33 void Shutdown() override;
34
35 private:
36 #if defined(USE_AURA)
37 std::unique_ptr<aura::Env> env_;
38 #endif
39 int argc_;
40 char** argv_;
41
42 DISALLOW_COPY_AND_ASSIGN(ViewTestSuite);
43 };
44
45 } // namespace
46
47 #endif // UI_VIEWS_RUN_ALL_UNITTESTS_H_
OLDNEW
« no previous file with comments | « ui/views/mus/views_mus_test_suite.cc ('k') | ui/views/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698