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

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

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "gpu/command_buffer/service/feature_info.h" 5 #include "gpu/command_buffer/service/feature_info.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "gpu/command_buffer/common/gl_mock.h"
9 #include "gpu/command_buffer/service/test_helper.h" 8 #include "gpu/command_buffer/service/test_helper.h"
10 #include "gpu/command_buffer/service/texture_manager.h" 9 #include "gpu/command_buffer/service/texture_manager.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gl/gl_implementation.h" 11 #include "ui/gl/gl_implementation.h"
12 #include "ui/gl/gl_mock.h"
13 13
14 using ::gfx::MockGLInterface; 14 using ::gfx::MockGLInterface;
15 using ::testing::_; 15 using ::testing::_;
16 using ::testing::DoAll; 16 using ::testing::DoAll;
17 using ::testing::HasSubstr; 17 using ::testing::HasSubstr;
18 using ::testing::InSequence; 18 using ::testing::InSequence;
19 using ::testing::MatcherCast; 19 using ::testing::MatcherCast;
20 using ::testing::Not; 20 using ::testing::Not;
21 using ::testing::Pointee; 21 using ::testing::Pointee;
22 using ::testing::Return; 22 using ::testing::Return;
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 TEST_F(FeatureInfoTest, InitializeOES_element_index_uint) { 804 TEST_F(FeatureInfoTest, InitializeOES_element_index_uint) {
805 SetupInitExpectations("GL_OES_element_index_uint"); 805 SetupInitExpectations("GL_OES_element_index_uint");
806 info_->Initialize(NULL); 806 info_->Initialize(NULL);
807 EXPECT_THAT(info_->extensions(), 807 EXPECT_THAT(info_->extensions(),
808 HasSubstr("GL_OES_element_index_uint")); 808 HasSubstr("GL_OES_element_index_uint"));
809 EXPECT_TRUE(info_->validators()->index_type.IsValid(GL_UNSIGNED_INT)); 809 EXPECT_TRUE(info_->validators()->index_type.IsValid(GL_UNSIGNED_INT));
810 } 810 }
811 811
812 } // namespace gles2 812 } // namespace gles2
813 } // namespace gpu 813 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group_unittest.cc ('k') | gpu/command_buffer/service/framebuffer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698