Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_TEST_TEST_SUITE_H_ | 5 #ifndef ASH_TEST_TEST_SUITE_H_ |
| 6 #define ASH_TEST_TEST_SUITE_H_ | 6 #define ASH_TEST_TEST_SUITE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/test/test_suite.h" | 9 #include "base/test/test_suite.h" |
| 10 | 10 |
| 11 #if defined(OS_WIN) | |
| 12 #include "base/win/scoped_com_initializer.h" | |
| 13 #endif | |
| 14 | |
| 11 namespace ash { | 15 namespace ash { |
| 12 namespace test { | 16 namespace test { |
| 13 | 17 |
| 14 class AuraShellTestSuite : public base::TestSuite { | 18 class AuraShellTestSuite : public base::TestSuite { |
| 15 public: | 19 public: |
| 16 AuraShellTestSuite(int argc, char** argv); | 20 AuraShellTestSuite(int argc, char** argv); |
| 17 | 21 |
| 18 protected: | 22 protected: |
| 19 // base::TestSuite: | 23 // base::TestSuite: |
| 20 virtual void Initialize() OVERRIDE; | 24 virtual void Initialize() OVERRIDE; |
| 21 virtual void Shutdown() OVERRIDE; | 25 virtual void Shutdown() OVERRIDE; |
| 26 | |
| 27 private: | |
| 28 #if defined(OS_WIN) | |
| 29 base::win::ScopedCOMInitializer com_initializer; | |
|
grt (UTC plus 2)
2013/05/27 18:46:04
I think it's best to follow the pattern in base/th
gab
2013/05/27 20:22:10
Done.
| |
| 30 #endif | |
| 22 }; | 31 }; |
| 23 | 32 |
| 24 } // namespace test | 33 } // namespace test |
| 25 } // namespace ash | 34 } // namespace ash |
| 26 | 35 |
| 27 #endif // ASH_TEST_TEST_SUITE_H_ | 36 #endif // ASH_TEST_TEST_SUITE_H_ |
| OLD | NEW |