| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // This is a unittest set for type_profiler. It is independent from other | 5 // This is a unittest set for type_profiler. It is independent from other |
| 6 // tests and executed manually like allocator_unittests since type_profiler_map | 6 // tests and executed manually like allocator_unittests since type_profiler_map |
| 7 // used in type_profiler is a singleton (like TCMalloc's heap-profiler), and | 7 // used in type_profiler is a singleton (like TCMalloc's heap-profiler), and |
| 8 // it requires RTTI and different compiling/linking options from others | 8 // it requires RTTI and different compiling/linking options from others |
| 9 // | 9 // |
| 10 // It tests that the profiler doesn't fail in suspicous cases. For example, | 10 // It tests that the profiler doesn't fail in suspicous cases. For example, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 180 |
| 181 } // namespace type_profiler | 181 } // namespace type_profiler |
| 182 } // namespace base | 182 } // namespace base |
| 183 | 183 |
| 184 #endif // defined(TYPE_PROFILING) | 184 #endif // defined(TYPE_PROFILING) |
| 185 | 185 |
| 186 int main(int argc, char** argv) { | 186 int main(int argc, char** argv) { |
| 187 testing::InitGoogleTest(&argc, argv); | 187 testing::InitGoogleTest(&argc, argv); |
| 188 return RUN_ALL_TESTS(); | 188 return RUN_ALL_TESTS(); |
| 189 } | 189 } |
| OLD | NEW |