Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / gpu / command_buffer / service / gles2_cmd_decoder_mock.cc
bloba8e027d727610ba0ffabac866474262d138ad155
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.
5 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
7 namespace gpu {
8 namespace gles2 {
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));
18 MockGLES2Decoder::~MockGLES2Decoder() {}
20 } // namespace gles2
21 } // namespace gpu