Merge html-office-public repo into src
[chromium-blink-merge.git] / chrome / test / base / chrome_unit_test_suite.h
bloba8bb20886f92fc5e973d0bb318d90cc48ef1b61f
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
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
6 #define CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h"
11 #include "chrome/test/base/chrome_test_suite.h"
13 // Test suite for unit tests. Creates additional stub services that are not
14 // needed for browser tests (e.g. a TestingBrowserProcess).
15 class ChromeUnitTestSuite : public ChromeTestSuite {
16 public:
17 ChromeUnitTestSuite(int argc, char** argv);
18 ~ChromeUnitTestSuite() override;
20 // base::TestSuite overrides:
21 void Initialize() override;
22 void Shutdown() override;
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
26 // setup which this class does.
27 static void InitializeProviders();
28 static void InitializeResourceBundle();
30 private:
32 DISALLOW_COPY_AND_ASSIGN(ChromeUnitTestSuite);
35 #endif // CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_