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

Unified Diff: gpu/command_buffer/common/command_buffer_mock.h

Issue 6056008: Move lots of GMock stuff out of line. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright junk Created 9 years, 12 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/common/command_buffer_mock.h
diff --git a/gpu/command_buffer/common/command_buffer_mock.h b/gpu/command_buffer/common/command_buffer_mock.h
index eb78b8372ad0cab86b3dabcddc1f45a3b6d8cefb..97cd3cf8bf8f540bd59620b5babd8d709bfcd7bb 100644
--- a/gpu/command_buffer/common/command_buffer_mock.h
+++ b/gpu/command_buffer/common/command_buffer_mock.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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.
@@ -14,12 +14,8 @@ namespace gpu {
// API to manage the put and get pointers.
class MockCommandBuffer : public CommandBuffer {
public:
- MockCommandBuffer() {
- ON_CALL(*this, GetRingBuffer())
- .WillByDefault(testing::Return(Buffer()));
- ON_CALL(*this, GetTransferBuffer(testing::_))
- .WillByDefault(testing::Return(Buffer()));
- }
+ MockCommandBuffer();
+ virtual ~MockCommandBuffer();
MOCK_METHOD1(Initialize, bool(int32 size));
MOCK_METHOD0(GetRingBuffer, Buffer());

Powered by Google App Engine
This is Rietveld 408576698