OLD | NEW |
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/context_group.h" | 5 #include "gpu/command_buffer/service/context_group.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" |
| 11 #include "ui/gl/gl_mock.h" |
12 | 12 |
13 using ::gfx::MockGLInterface; | 13 using ::gfx::MockGLInterface; |
14 using ::testing::_; | 14 using ::testing::_; |
15 using ::testing::DoAll; | 15 using ::testing::DoAll; |
16 using ::testing::HasSubstr; | 16 using ::testing::HasSubstr; |
17 using ::testing::InSequence; | 17 using ::testing::InSequence; |
18 using ::testing::MatcherCast; | 18 using ::testing::MatcherCast; |
19 using ::testing::Not; | 19 using ::testing::Not; |
20 using ::testing::Pointee; | 20 using ::testing::Pointee; |
21 using ::testing::Return; | 21 using ::testing::Return; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 EXPECT_TRUE(group_->renderbuffer_manager() == NULL); | 128 EXPECT_TRUE(group_->renderbuffer_manager() == NULL); |
129 EXPECT_TRUE(group_->texture_manager() == NULL); | 129 EXPECT_TRUE(group_->texture_manager() == NULL); |
130 EXPECT_TRUE(group_->program_manager() == NULL); | 130 EXPECT_TRUE(group_->program_manager() == NULL); |
131 EXPECT_TRUE(group_->shader_manager() == NULL); | 131 EXPECT_TRUE(group_->shader_manager() == NULL); |
132 } | 132 } |
133 | 133 |
134 } // namespace gles2 | 134 } // namespace gles2 |
135 } // namespace gpu | 135 } // namespace gpu |
136 | 136 |
137 | 137 |
OLD | NEW |