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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_lost.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "gpu/command_buffer/common/gles2_cmd_format.h" 9 #include "gpu/command_buffer/common/gles2_cmd_format.h"
10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
(...skipping 10 matching lines...) Expand all
21 using ::testing::_; 21 using ::testing::_;
22 using ::testing::DoAll; 22 using ::testing::DoAll;
23 using ::testing::InSequence; 23 using ::testing::InSequence;
24 using ::testing::Invoke; 24 using ::testing::Invoke;
25 using ::testing::MatcherCast; 25 using ::testing::MatcherCast;
26 using ::testing::Mock; 26 using ::testing::Mock;
27 using ::testing::Pointee; 27 using ::testing::Pointee;
28 using ::testing::Return; 28 using ::testing::Return;
29 using ::testing::SaveArg; 29 using ::testing::SaveArg;
30 using ::testing::SetArrayArgument; 30 using ::testing::SetArrayArgument;
31 using ::testing::SetArgumentPointee; 31 using ::testing::SetArgPointee;
32 using ::testing::SetArgPointee; 32 using ::testing::SetArgPointee;
33 using ::testing::StrEq; 33 using ::testing::StrEq;
34 using ::testing::StrictMock; 34 using ::testing::StrictMock;
35 35
36 namespace gpu { 36 namespace gpu {
37 namespace gles2 { 37 namespace gles2 {
38 38
39 using namespace cmds; 39 using namespace cmds;
40 40
41 class GLES2DecoderDrawOOMTest : public GLES2DecoderManualInitTest { 41 class GLES2DecoderDrawOOMTest : public GLES2DecoderManualInitTest {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // so that we can shut down cleanly. 264 // so that we can shut down cleanly.
265 ClearCurrentDecoderError(); 265 ClearCurrentDecoderError();
266 } 266 }
267 267
268 INSTANTIATE_TEST_CASE_P(Service, 268 INSTANTIATE_TEST_CASE_P(Service,
269 GLES2DecoderLostContextTest, 269 GLES2DecoderLostContextTest,
270 ::testing::Bool()); 270 ::testing::Bool());
271 271
272 } // namespace gles2 272 } // namespace gles2
273 } // namespace gpu 273 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698