| 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 CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
| 6 #define CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 6 #define CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 public: | 25 public: |
| 26 // Takes ownership of |test_suite|. | 26 // Takes ownership of |test_suite|. |
| 27 explicit UnitTestTestSuite(base::TestSuite* test_suite); | 27 explicit UnitTestTestSuite(base::TestSuite* test_suite); |
| 28 ~UnitTestTestSuite(); | 28 ~UnitTestTestSuite(); |
| 29 | 29 |
| 30 int Run(); | 30 int Run(); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 scoped_ptr<base::TestSuite> test_suite_; | 33 scoped_ptr<base::TestSuite> test_suite_; |
| 34 | 34 |
| 35 #if !defined(OS_IOS) | |
| 36 scoped_ptr<TestBlinkWebUnitTestSupport> blink_test_support_; | 35 scoped_ptr<TestBlinkWebUnitTestSupport> blink_test_support_; |
| 37 #endif | |
| 38 | 36 |
| 39 DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite); | 37 DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite); |
| 40 }; | 38 }; |
| 41 | 39 |
| 42 } // namespace content | 40 } // namespace content |
| 43 | 41 |
| 44 #endif // CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 42 #endif // CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
| OLD | NEW |