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

Side by Side Diff: gpu/command_buffer/service/renderbuffer_manager_unittest.cc

Issue 8052015: Revert 102978 - Change X11 error handler override to allow easy X11 error checking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 gtest.h out of order because <X11/X.h> #define's Bool & None, which
6 // gtest uses as struct names (inside a namespace). This means that
7 // #include'ing gtest after anything that pulls in X.h fails to compile.
8 // This is http://code.google.com/p/googletest/issues/detail?id=371
9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "gpu/command_buffer/service/renderbuffer_manager.h" 5 #include "gpu/command_buffer/service/renderbuffer_manager.h"
11 6
12 #include "gpu/command_buffer/common/gl_mock.h" 7 #include "gpu/command_buffer/common/gl_mock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
14 9
15 namespace gpu { 10 namespace gpu {
16 namespace gles2 { 11 namespace gles2 {
17 12
18 class RenderbufferManagerTest : public testing::Test { 13 class RenderbufferManagerTest : public testing::Test {
19 public: 14 public:
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 EXPECT_EQ(kSamples, info1->samples()); 110 EXPECT_EQ(kSamples, info1->samples());
116 EXPECT_EQ(kFormat, info1->internal_format()); 111 EXPECT_EQ(kFormat, info1->internal_format());
117 EXPECT_EQ(kWidth, info1->width()); 112 EXPECT_EQ(kWidth, info1->width());
118 EXPECT_EQ(kHeight, info1->height()); 113 EXPECT_EQ(kHeight, info1->height());
119 EXPECT_FALSE(info1->cleared()); 114 EXPECT_FALSE(info1->cleared());
120 EXPECT_FALSE(info1->IsDeleted()); 115 EXPECT_FALSE(info1->IsDeleted());
121 } 116 }
122 117
123 } // namespace gles2 118 } // namespace gles2
124 } // namespace gpu 119 } // namespace gpu
120
121
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/program_manager_unittest.cc ('k') | gpu/command_buffer/service/shader_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698