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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 24 matching lines...) Expand all
35 using ::testing::_; 35 using ::testing::_;
36 using ::testing::DoAll; 36 using ::testing::DoAll;
37 using ::testing::InSequence; 37 using ::testing::InSequence;
38 using ::testing::Invoke; 38 using ::testing::Invoke;
39 using ::testing::MatcherCast; 39 using ::testing::MatcherCast;
40 using ::testing::Mock; 40 using ::testing::Mock;
41 using ::testing::Pointee; 41 using ::testing::Pointee;
42 using ::testing::Return; 42 using ::testing::Return;
43 using ::testing::SaveArg; 43 using ::testing::SaveArg;
44 using ::testing::SetArrayArgument; 44 using ::testing::SetArrayArgument;
45 using ::testing::SetArgumentPointee; 45 using ::testing::SetArgPointee;
46 using ::testing::SetArgPointee; 46 using ::testing::SetArgPointee;
47 using ::testing::StrEq; 47 using ::testing::StrEq;
48 using ::testing::StrictMock; 48 using ::testing::StrictMock;
49 49
50 namespace gpu { 50 namespace gpu {
51 namespace gles2 { 51 namespace gles2 {
52 52
53 namespace { 53 namespace {
54 54
55 void SetupUpdateES3UnpackParametersExpectations(::gl::MockGLInterface* gl, 55 void SetupUpdateES3UnpackParametersExpectations(::gl::MockGLInterface* gl,
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 // TODO(vmiura): Tests for ContextState::RestoreProgramBindings(). 599 // TODO(vmiura): Tests for ContextState::RestoreProgramBindings().
600 600
601 // TODO(vmiura): Tests for ContextState::RestoreRenderbufferBindings(). 601 // TODO(vmiura): Tests for ContextState::RestoreRenderbufferBindings().
602 602
603 // TODO(vmiura): Tests for ContextState::RestoreProgramBindings(). 603 // TODO(vmiura): Tests for ContextState::RestoreProgramBindings().
604 604
605 // TODO(vmiura): Tests for ContextState::RestoreGlobalState(). 605 // TODO(vmiura): Tests for ContextState::RestoreGlobalState().
606 606
607 } // namespace gles2 607 } // namespace gles2
608 } // namespace gpu 608 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698