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

Side by Side Diff: ui/base/test/run_all_unittests.cc

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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/base/resource/resource_data_dll_win.h ('k') | ui/base/win/hwnd_subclass_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/test/launcher/unit_test_launcher.h" 8 #include "base/test/launcher/unit_test_launcher.h"
9 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 15 matching lines...) Expand all
26 #endif 26 #endif
27 27
28 namespace { 28 namespace {
29 29
30 class UIBaseTestSuite : public base::TestSuite { 30 class UIBaseTestSuite : public base::TestSuite {
31 public: 31 public:
32 UIBaseTestSuite(int argc, char** argv); 32 UIBaseTestSuite(int argc, char** argv);
33 33
34 protected: 34 protected:
35 // base::TestSuite: 35 // base::TestSuite:
36 virtual void Initialize() OVERRIDE; 36 virtual void Initialize() override;
37 virtual void Shutdown() OVERRIDE; 37 virtual void Shutdown() override;
38 38
39 private: 39 private:
40 DISALLOW_COPY_AND_ASSIGN(UIBaseTestSuite); 40 DISALLOW_COPY_AND_ASSIGN(UIBaseTestSuite);
41 }; 41 };
42 42
43 UIBaseTestSuite::UIBaseTestSuite(int argc, char** argv) 43 UIBaseTestSuite::UIBaseTestSuite(int argc, char** argv)
44 : base::TestSuite(argc, argv) {} 44 : base::TestSuite(argc, argv) {}
45 45
46 void UIBaseTestSuite::Initialize() { 46 void UIBaseTestSuite::Initialize() {
47 base::TestSuite::Initialize(); 47 base::TestSuite::Initialize();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } // namespace 100 } // namespace
101 101
102 int main(int argc, char** argv) { 102 int main(int argc, char** argv) {
103 UIBaseTestSuite test_suite(argc, argv); 103 UIBaseTestSuite test_suite(argc, argv);
104 104
105 return base::LaunchUnitTests(argc, 105 return base::LaunchUnitTests(argc,
106 argv, 106 argv,
107 base::Bind(&UIBaseTestSuite::Run, 107 base::Bind(&UIBaseTestSuite::Run,
108 base::Unretained(&test_suite))); 108 base::Unretained(&test_suite)));
109 } 109 }
OLDNEW
« no previous file with comments | « ui/base/resource/resource_data_dll_win.h ('k') | ui/base/win/hwnd_subclass_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698