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 "CCLayerTreeHost.h" | 8 #include "cc/layer_tree_host.h" |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "cc/layer_tree_host_impl.h" | 10 #include "cc/layer_tree_host_impl.h" |
11 #include "cc/scoped_thread_proxy.h" | 11 #include "cc/scoped_thread_proxy.h" |
12 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 12 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include <public/WebAnimationDelegate.h> | 14 #include <public/WebAnimationDelegate.h> |
15 #include <public/WebThread.h> | 15 #include <public/WebThread.h> |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 class CCLayerImpl; | 18 class CCLayerImpl; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \ | 198 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \ |
199 { \ | 199 { \ |
200 runTest(false); \ | 200 runTest(false); \ |
201 } \ | 201 } \ |
202 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \ | 202 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \ |
203 { \ | 203 { \ |
204 runTest(true); \ | 204 runTest(true); \ |
205 } | 205 } |
206 | 206 |
207 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_ | 207 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_ |
OLD | NEW |