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

Side by Side Diff: gpu/command_buffer/service/feature_info_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/feature_info.h" 5 #include "gpu/command_buffer/service/feature_info.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 using ::testing::_; 25 using ::testing::_;
26 using ::testing::DoAll; 26 using ::testing::DoAll;
27 using ::testing::HasSubstr; 27 using ::testing::HasSubstr;
28 using ::testing::InSequence; 28 using ::testing::InSequence;
29 using ::testing::MatcherCast; 29 using ::testing::MatcherCast;
30 using ::testing::Not; 30 using ::testing::Not;
31 using ::testing::Pointee; 31 using ::testing::Pointee;
32 using ::testing::Return; 32 using ::testing::Return;
33 using ::testing::SetArrayArgument; 33 using ::testing::SetArrayArgument;
34 using ::testing::SetArgumentPointee; 34 using ::testing::SetArgPointee;
35 using ::testing::StrEq; 35 using ::testing::StrEq;
36 36
37 namespace gpu { 37 namespace gpu {
38 namespace gles2 { 38 namespace gles2 {
39 39
40 namespace { 40 namespace {
41 const char kGLRendererStringANGLE[] = "ANGLE (some renderer)"; 41 const char kGLRendererStringANGLE[] = "ANGLE (some renderer)";
42 } // anonymous namespace 42 } // anonymous namespace
43 43
44 enum MockedGLVersionKind { 44 enum MockedGLVersionKind {
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT)); 1673 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT));
1674 } 1674 }
1675 1675
1676 TEST_P(FeatureInfoTest, InitializeCHROMIUM_ycbcr_422_imageTrue) { 1676 TEST_P(FeatureInfoTest, InitializeCHROMIUM_ycbcr_422_imageTrue) {
1677 SetupInitExpectations("GL_APPLE_ycbcr_422"); 1677 SetupInitExpectations("GL_APPLE_ycbcr_422");
1678 EXPECT_TRUE(info_->feature_flags().chromium_image_ycbcr_422); 1678 EXPECT_TRUE(info_->feature_flags().chromium_image_ycbcr_422);
1679 } 1679 }
1680 1680
1681 } // namespace gles2 1681 } // namespace gles2
1682 } // namespace gpu 1682 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698