diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 00:18:24 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 00:18:24 +0000 |
commit | 0a071a315daf2a8af0f7b85c84127cda268db2f5 (patch) | |
tree | 6927656c616bb451c2b31605a964b9cf7529632b /remoting/protocol/protocol_mock_objects.cc | |
parent | cfbf0a1af6efcfdfdb540a59d8c167a9736a405c (diff) | |
download | chromium_src-0a071a315daf2a8af0f7b85c84127cda268db2f5.zip chromium_src-0a071a315daf2a8af0f7b85c84127cda268db2f5.tar.gz chromium_src-0a071a315daf2a8af0f7b85c84127cda268db2f5.tar.bz2 |
More out-of-lining of test code, along with a bunch of GMOCK objects.
Most notably, rename various mock_objects.h files in remoting/ because after deinlining, there were compile failures. This fixes Windows compiling because you can't have two implementation files with the same name in a project, even if they are in different directories. (The output from one compile will clobber the others!)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6250198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/protocol_mock_objects.cc')
-rw-r--r-- | remoting/protocol/protocol_mock_objects.cc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/remoting/protocol/protocol_mock_objects.cc b/remoting/protocol/protocol_mock_objects.cc new file mode 100644 index 0000000..8b38954 --- /dev/null +++ b/remoting/protocol/protocol_mock_objects.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 "remoting/protocol/protocol_mock_objects.h" + +namespace remoting { +namespace protocol { + +MockConnectionToClient::MockConnectionToClient() {} + +MockConnectionToClient::~MockConnectionToClient() {} + +MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} + +MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} + +MockInputStub::MockInputStub() {} + +MockInputStub::~MockInputStub() {} + +MockHostStub::MockHostStub() {} + +MockHostStub::~MockHostStub() {} + +MockClientStub::MockClientStub() {} + +MockClientStub::~MockClientStub() {} + +MockVideoStub::MockVideoStub() {} + +MockVideoStub::~MockVideoStub() {} + +MockSession::MockSession() {} + +MockSession::~MockSession() {} + +} // namespace protocol +} // namespace remoting |