diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 16:19:57 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 16:19:57 +0000 |
commit | d685a68049c3bacf00e108afe1da6a0807b2ab3c (patch) | |
tree | 93a622490926084dd45916d9ebc55593fc8c7a41 /gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc | |
parent | ac99f574ce31ea615eeb80252b0d0f9a8ed16a36 (diff) | |
download | chromium_src-d685a68049c3bacf00e108afe1da6a0807b2ab3c.zip chromium_src-d685a68049c3bacf00e108afe1da6a0807b2ab3c.tar.gz chromium_src-d685a68049c3bacf00e108afe1da6a0807b2ab3c.tar.bz2 |
Fix Issue that glProgramInfoLog was not called if program did not link.
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/6904077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc new file mode 100644 index 0000000..04ae5c3 --- /dev/null +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc @@ -0,0 +1,39 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "gpu/command_buffer/service/gles2_cmd_decoder.h" + +#include "gpu/command_buffer/common/gl_mock.h" +#include "gpu/command_buffer/common/gles2_cmd_format.h" +#include "gpu/command_buffer/common/gles2_cmd_utils.h" +#include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" +#include "gpu/command_buffer/service/cmd_buffer_engine.h" +#include "gpu/command_buffer/service/context_group.h" +#include "gpu/command_buffer/service/program_manager.h" +#include "testing/gtest/include/gtest/gtest.h" + +using ::gfx::MockGLInterface; +using ::testing::_; +using ::testing::DoAll; +using ::testing::InSequence; +using ::testing::MatcherCast; +using ::testing::Pointee; +using ::testing::Return; +using ::testing::SetArrayArgument; +using ::testing::SetArgumentPointee; +using ::testing::StrEq; + +namespace gpu { +namespace gles2 { + +class GLES2DecoderTest3 : public GLES2DecoderTestBase { + public: + GLES2DecoderTest3() { } +}; + +#include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h" + +} // namespace gles2 +} // namespace gpu + |