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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
index fb85f6ddf21d068f811cfd4c683fc1cf8a2bba8d..1a1cb51df78fe9c35e034616e1afc742c054122a 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -26,16 +26,8 @@ namespace gles2 {
class GLES2DecoderTestBase : public testing::Test {
public:
- GLES2DecoderTestBase()
- : client_buffer_id_(100),
- client_framebuffer_id_(101),
- client_program_id_(102),
- client_renderbuffer_id_(103),
- client_shader_id_(104),
- client_texture_id_(106),
- client_element_buffer_id_(107) {
- memset(immediate_buffer_, 0xEE, sizeof(immediate_buffer_));
- }
+ GLES2DecoderTestBase();
+ virtual ~GLES2DecoderTestBase();
protected:
static const GLint kMaxTextureSize = 2048;

Powered by Google App Engine
This is Rietveld 408576698