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

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

Issue 6250198: More out-of-lining of test code, along with a bunch of GMOCK objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix the gyp files this time Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
6
7 namespace gpu {
8 namespace gles2 {
9
10 MockGLES2Decoder::MockGLES2Decoder()
11 : GLES2Decoder() {
12 ON_CALL(*this, GetCommandName(testing::_))
13 .WillByDefault(testing::Return(""));
14 ON_CALL(*this, MakeCurrent())
15 .WillByDefault(testing::Return(true));
16 }
17
18 MockGLES2Decoder::~MockGLES2Decoder() {}
19
20 } // namespace gles2
21 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698