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

Side by Side Diff: chrome/test/base/chrome_unit_test_suite.h

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/test/base/chrome_test_suite.h ('k') | chrome/test/base/chrome_unit_test_suite.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 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 CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
6 #define CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_ 6 #define CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "chrome/test/base/chrome_test_suite.h" 11 #include "chrome/test/base/chrome_test_suite.h"
12 12
13 // Test suite for unit tests. Creates additional stub services that are not 13 // Test suite for unit tests. Creates additional stub services that are not
14 // needed for browser tests (e.g. a TestingBrowserProcess). 14 // needed for browser tests (e.g. a TestingBrowserProcess).
15 class ChromeUnitTestSuite : public ChromeTestSuite { 15 class ChromeUnitTestSuite : public ChromeTestSuite {
16 public: 16 public:
17 ChromeUnitTestSuite(int argc, char** argv); 17 ChromeUnitTestSuite(int argc, char** argv);
18 virtual ~ChromeUnitTestSuite(); 18 virtual ~ChromeUnitTestSuite();
19 19
20 // base::TestSuite overrides: 20 // base::TestSuite overrides:
21 virtual void Initialize() OVERRIDE; 21 virtual void Initialize() override;
22 virtual void Shutdown() OVERRIDE; 22 virtual void Shutdown() override;
23 23
24 // These methods allow unit tests which run in the browser_test binary, and so 24 // These methods allow unit tests which run in the browser_test binary, and so
25 // which don't exercise the initialization in this test suite, to do basic 25 // which don't exercise the initialization in this test suite, to do basic
26 // setup which this class does. 26 // setup which this class does.
27 static void InitializeProviders(); 27 static void InitializeProviders();
28 static void InitializeResourceBundle(); 28 static void InitializeResourceBundle();
29 29
30 private: 30 private:
31 31
32 DISALLOW_COPY_AND_ASSIGN(ChromeUnitTestSuite); 32 DISALLOW_COPY_AND_ASSIGN(ChromeUnitTestSuite);
33 }; 33 };
34 34
35 #endif // CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_ 35 #endif // CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_test_suite.h ('k') | chrome/test/base/chrome_unit_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698