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

Side by Side Diff: cc/ThrottledTextureUploaderTest.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/TextureLayerChromiumTest.cpp ('k') | cc/TiledLayerChromiumTest.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 "ThrottledTextureUploader.h" 7 #include "ThrottledTextureUploader.h"
8 8
9 #include "Extensions3DChromium.h" 9 #include "Extensions3DChromium.h"
10 #include "FakeWebGraphicsContext3D.h" 10 #include "FakeWebGraphicsContext3D.h"
11 #include "GraphicsContext3D.h" 11 #include "GraphicsContext3D.h"
12 12
13 #include <gmock/gmock.h> 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include <gtest/gtest.h> 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include <wtf/RefPtr.h> 15 #include <wtf/RefPtr.h>
16 16
17 using namespace cc; 17 using namespace cc;
18 using namespace WebKit; 18 using namespace WebKit;
19 19
20 namespace { 20 namespace {
21 21
22 class FakeWebGraphicsContext3DWithQueryTesting : public FakeWebGraphicsContext3D { 22 class FakeWebGraphicsContext3DWithQueryTesting : public FakeWebGraphicsContext3D {
23 public: 23 public:
24 FakeWebGraphicsContext3DWithQueryTesting() : m_resultAvailable(0) 24 FakeWebGraphicsContext3DWithQueryTesting() : m_resultAvailable(0)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 uploader->endUploads(); 80 uploader->endUploads();
81 EXPECT_EQ(0, uploader->numPendingUploads()); 81 EXPECT_EQ(0, uploader->numPendingUploads());
82 uploader->beginUploads(); 82 uploader->beginUploads();
83 uploader->uploadTexture(NULL, upload); 83 uploader->uploadTexture(NULL, upload);
84 uploader->uploadTexture(NULL, upload); 84 uploader->uploadTexture(NULL, upload);
85 uploader->endUploads(); 85 uploader->endUploads();
86 EXPECT_EQ(0, uploader->numPendingUploads()); 86 EXPECT_EQ(0, uploader->numPendingUploads());
87 } 87 }
88 88
89 } // namespace 89 } // namespace
OLDNEW
« no previous file with comments | « cc/TextureLayerChromiumTest.cpp ('k') | cc/TiledLayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698