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

Side by Side Diff: cc/CCTextureUpdateControllerTest.cpp

Issue 11035010: cc: Change gtest includes to the style used in chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testSuite -> test_suite Created 8 years, 2 months 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/CCSolidColorLayerImplTest.cpp ('k') | cc/CCThreadTaskTest.cpp » ('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 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 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCTextureUpdateController.h" 7 #include "CCTextureUpdateController.h"
8 8
9 #include "CCSchedulerTestCommon.h" 9 #include "CCSchedulerTestCommon.h"
10 #include "CCSingleThreadProxy.h" // For DebugScopedSetImplThread 10 #include "CCSingleThreadProxy.h" // For DebugScopedSetImplThread
11 #include "CCTiledLayerTestCommon.h" 11 #include "CCTiledLayerTestCommon.h"
12 #include "FakeWebCompositorOutputSurface.h" 12 #include "FakeWebCompositorOutputSurface.h"
13 #include "FakeWebGraphicsContext3D.h" 13 #include "FakeWebGraphicsContext3D.h"
14 #include "WebCompositorInitializer.h" 14 #include "WebCompositorInitializer.h"
15 #include <gtest/gtest.h> 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include <public/WebThread.h> 16 #include <public/WebThread.h>
17 #include <wtf/RefPtr.h> 17 #include <wtf/RefPtr.h>
18 18
19 using namespace cc; 19 using namespace cc;
20 using namespace WebKit; 20 using namespace WebKit;
21 using namespace WebKitTests; 21 using namespace WebKitTests;
22 using testing::Test; 22 using testing::Test;
23 23
24 24
25 namespace { 25 namespace {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 EXPECT_EQ(0u, m_queue->fullUploadSize()); 563 EXPECT_EQ(0u, m_queue->fullUploadSize());
564 EXPECT_EQ(1u, m_queue->partialUploadSize()); 564 EXPECT_EQ(1u, m_queue->partialUploadSize());
565 565
566 m_textures[1].evictBackingResource(); 566 m_textures[1].evictBackingResource();
567 m_queue->clearUploadsToEvictedResources(); 567 m_queue->clearUploadsToEvictedResources();
568 EXPECT_EQ(0u, m_queue->fullUploadSize()); 568 EXPECT_EQ(0u, m_queue->fullUploadSize());
569 EXPECT_EQ(0u, m_queue->partialUploadSize()); 569 EXPECT_EQ(0u, m_queue->partialUploadSize());
570 } 570 }
571 571
572 } // namespace 572 } // namespace
OLDNEW
« no previous file with comments | « cc/CCSolidColorLayerImplTest.cpp ('k') | cc/CCThreadTaskTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698