OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 CC_TEST_LAYER_TREE_TEST_COMMON_H_ | 5 #ifndef CC_TEST_LAYER_TREE_TEST_COMMON_H_ |
6 #define CC_TEST_LAYER_TREE_TEST_COMMON_H_ | 6 #define CC_TEST_LAYER_TREE_TEST_COMMON_H_ |
7 | 7 |
8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ | 200 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ |
201 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \ | 201 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \ |
202 { \ | 202 { \ |
203 runTest(false); \ | 203 runTest(false); \ |
204 } \ | 204 } \ |
205 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \ | 205 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \ |
206 { \ | 206 { \ |
207 runTest(true); \ | 207 runTest(true); \ |
208 } | 208 } |
209 | 209 |
210 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_ | 210 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_ |
OLD | NEW |