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

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

Issue 1982963002: Reland: mus: Add views_mus_interactive_ui_tests target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix size_t to int warning on Windows 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
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 #ifndef UI_VIEWS_RUN_ALL_UNITTESTS_H_ 5 #ifndef UI_VIEWS_RUN_ALL_UNITTESTS_H_
6 #define UI_VIEWS_RUN_ALL_UNITTESTS_H_ 6 #define UI_VIEWS_RUN_ALL_UNITTESTS_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
10 10
11 #if defined(USE_AURA) 11 #if defined(USE_AURA)
12 #include <memory> 12 #include <memory>
13 #endif 13 #endif
14 14
15 namespace aura { 15 namespace aura {
16 class Env; 16 class Env;
17 } 17 }
18 18
19 namespace views { 19 namespace views {
20 20
21 // TODO(jamescook): Rename this to ViewsTestSuite and rename the file to match.
21 class ViewTestSuite : public base::TestSuite { 22 class ViewTestSuite : public base::TestSuite {
22 public: 23 public:
23 ViewTestSuite(int argc, char** argv); 24 ViewTestSuite(int argc, char** argv);
24 ~ViewTestSuite() override; 25 ~ViewTestSuite() override;
25 26
26 int RunTests(); 27 int RunTests();
28 int RunTestsSerially();
27 29
28 protected: 30 protected:
29 // base::TestSuite: 31 // base::TestSuite:
30 void Initialize() override; 32 void Initialize() override;
31 void Shutdown() override; 33 void Shutdown() override;
32 34
33 private: 35 private:
34 #if defined(USE_AURA) 36 #if defined(USE_AURA)
35 std::unique_ptr<aura::Env> env_; 37 std::unique_ptr<aura::Env> env_;
36 #endif 38 #endif
37 int argc_; 39 int argc_;
38 char** argv_; 40 char** argv_;
39 41
40 DISALLOW_COPY_AND_ASSIGN(ViewTestSuite); 42 DISALLOW_COPY_AND_ASSIGN(ViewTestSuite);
41 }; 43 };
42 44
43 } // namespace 45 } // namespace
44 46
45 #endif // UI_VIEWS_RUN_ALL_UNITTESTS_H_ 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