| 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 BASE_TEST_TEST_SUITE_H_ | 5 #ifndef BASE_TEST_TEST_SUITE_H_ |
| 6 #define BASE_TEST_TEST_SUITE_H_ | 6 #define BASE_TEST_TEST_SUITE_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 // Defines a basic test suite framework for running gtest based tests. You can | 8 // Defines a basic test suite framework for running gtest based tests. You can |
| 10 // instantiate this class in your main function and call its Run method to run | 9 // instantiate this class in your main function and call its Run method to run |
| 11 // any gtest based tests that are linked into your executable. | 10 // any gtest based tests that are linked into your executable. |
| 12 | 11 |
| 13 #include <string> | 12 #include <string> |
| 14 | 13 |
| 15 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
| 16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 17 | 16 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 DISALLOW_COPY_AND_ASSIGN(TestSuite); | 93 DISALLOW_COPY_AND_ASSIGN(TestSuite); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace base | 96 } // namespace base |
| 98 | 97 |
| 99 // TODO(brettw) remove this. This is a temporary hack to allow WebKit to compile | 98 // TODO(brettw) remove this. This is a temporary hack to allow WebKit to compile |
| 100 // until we can update it to use "base::" (preventing a two-sided patch). | 99 // until we can update it to use "base::" (preventing a two-sided patch). |
| 101 using base::TestSuite; | 100 using base::TestSuite; |
| 102 | 101 |
| 103 #endif // BASE_TEST_TEST_SUITE_H_ | 102 #endif // BASE_TEST_TEST_SUITE_H_ |
| OLD | NEW |