Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: cc/resources/raster_worker_pool_unittest.cc

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/output/shader_unittest.cc ('k') | cc/resources/resource_provider_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "cc/resources/raster_worker_pool.h" 5 #include "cc/resources/raster_worker_pool.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/debug/test_web_graphics_context_3d.h"
11 #include "cc/resources/image_raster_worker_pool.h" 10 #include "cc/resources/image_raster_worker_pool.h"
12 #include "cc/resources/picture_pile.h" 11 #include "cc/resources/picture_pile.h"
13 #include "cc/resources/picture_pile_impl.h" 12 #include "cc/resources/picture_pile_impl.h"
14 #include "cc/resources/pixel_buffer_raster_worker_pool.h" 13 #include "cc/resources/pixel_buffer_raster_worker_pool.h"
15 #include "cc/resources/resource_provider.h" 14 #include "cc/resources/resource_provider.h"
16 #include "cc/resources/scoped_resource.h" 15 #include "cc/resources/scoped_resource.h"
17 #include "cc/test/fake_output_surface.h" 16 #include "cc/test/fake_output_surface.h"
18 #include "cc/test/fake_output_surface_client.h" 17 #include "cc/test/fake_output_surface_client.h"
18 #include "cc/test/test_web_graphics_context_3d.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 namespace cc { 21 namespace cc {
22 22
23 class TestRasterWorkerPoolTaskImpl : public internal::RasterWorkerPoolTask { 23 class TestRasterWorkerPoolTaskImpl : public internal::RasterWorkerPoolTask {
24 public: 24 public:
25 typedef base::Callback<void(const PicturePileImpl::Analysis& analysis, 25 typedef base::Callback<void(const PicturePileImpl::Analysis& analysis,
26 bool was_canceled, 26 bool was_canceled,
27 bool did_raster)> Reply; 27 bool did_raster)> Reply;
28 28
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 ASSERT_EQ(1u, tasks_.size()); 283 ASSERT_EQ(1u, tasks_.size());
284 tasks_.clear(); 284 tasks_.clear();
285 } 285 }
286 }; 286 };
287 287
288 PIXEL_BUFFER_AND_IMAGE_TEST_F(RasterWorkerPoolTestFailedMapResource); 288 PIXEL_BUFFER_AND_IMAGE_TEST_F(RasterWorkerPoolTestFailedMapResource);
289 289
290 } // namespace 290 } // namespace
291 291
292 } // namespace cc 292 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/shader_unittest.cc ('k') | cc/resources/resource_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698