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

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

Issue 1302233003: Replace gmock's deprecated SetArgumentPointee with SetArgPointee. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2017 Created 3 years, 7 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
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/context_group.h" 5 #include "gpu/command_buffer/service/context_group.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h" 11 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
12 #include "gpu/command_buffer/service/gpu_service_test.h" 12 #include "gpu/command_buffer/service/gpu_service_test.h"
13 #include "gpu/command_buffer/service/mailbox_manager.h" 13 #include "gpu/command_buffer/service/mailbox_manager.h"
14 #include "gpu/command_buffer/service/test_helper.h" 14 #include "gpu/command_buffer/service/test_helper.h"
15 #include "gpu/command_buffer/service/texture_manager.h" 15 #include "gpu/command_buffer/service/texture_manager.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/gl/gl_mock.h" 17 #include "ui/gl/gl_mock.h"
18 18
19 using ::testing::_; 19 using ::testing::_;
20 using ::testing::DoAll; 20 using ::testing::DoAll;
21 using ::testing::HasSubstr; 21 using ::testing::HasSubstr;
22 using ::testing::InSequence; 22 using ::testing::InSequence;
23 using ::testing::MatcherCast; 23 using ::testing::MatcherCast;
24 using ::testing::Not; 24 using ::testing::Not;
25 using ::testing::Pointee; 25 using ::testing::Pointee;
26 using ::testing::Return; 26 using ::testing::Return;
27 using ::testing::SetArrayArgument; 27 using ::testing::SetArrayArgument;
28 using ::testing::SetArgumentPointee; 28 using ::testing::SetArgPointee;
29 using ::testing::StrEq; 29 using ::testing::StrEq;
30 30
31 namespace gpu { 31 namespace gpu {
32 namespace gles2 { 32 namespace gles2 {
33 33
34 class ContextGroupTest : public GpuServiceTest { 34 class ContextGroupTest : public GpuServiceTest {
35 public: 35 public:
36 static const bool kBindGeneratesResource = false; 36 static const bool kBindGeneratesResource = false;
37 37
38 ContextGroupTest() {} 38 ContextGroupTest() {}
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 EXPECT_TRUE(group_->renderbuffer_manager() == NULL); 144 EXPECT_TRUE(group_->renderbuffer_manager() == NULL);
145 EXPECT_TRUE(group_->texture_manager() == NULL); 145 EXPECT_TRUE(group_->texture_manager() == NULL);
146 EXPECT_TRUE(group_->program_manager() == NULL); 146 EXPECT_TRUE(group_->program_manager() == NULL);
147 EXPECT_TRUE(group_->shader_manager() == NULL); 147 EXPECT_TRUE(group_->shader_manager() == NULL);
148 } 148 }
149 149
150 } // namespace gles2 150 } // namespace gles2
151 } // namespace gpu 151 } // namespace gpu
152 152
153 153
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/command_executor_unittest.cc ('k') | gpu/command_buffer/service/feature_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698