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

Unified Diff: remoting/base/base_mock_objects.h

Issue 6413036: Another big out-of-lining of test code. Hits a lot of gmock objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: remoting/base/base_mock_objects.h
diff --git a/remoting/base/mock_objects.h b/remoting/base/base_mock_objects.h
similarity index 78%
rename from remoting/base/mock_objects.h
rename to remoting/base/base_mock_objects.h
index 12143ada401dc40aee269f51db28e409241eb50a..92f17bf98d413f23d3e6d1f968421a7abe959a27 100644
--- a/remoting/base/mock_objects.h
+++ b/remoting/base/base_mock_objects.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_BASE_MOCK_OBJECTS_H_
-#define REMOTING_BASE_MOCK_OBJECTS_H_
+#ifndef REMOTING_BASE_BASE_MOCK_OBJECTS_H_
+#define REMOTING_BASE_BASE_MOCK_OBJECTS_H_
#include "remoting/base/capture_data.h"
#include "remoting/base/decoder.h"
@@ -14,7 +14,8 @@ namespace remoting {
class MockEncoder : public Encoder {
public:
- MockEncoder() {}
+ MockEncoder();
+ virtual ~MockEncoder();
MOCK_METHOD3(Encode, void(
scoped_refptr<CaptureData> capture_data,
@@ -27,4 +28,4 @@ class MockEncoder : public Encoder {
} // namespace remoting
-#endif // REMOTING_BASE_MOCK_OBJECTS_H_
+#endif // REMOTING_BASE_BASE_MOCK_OBJECTS_H_

Powered by Google App Engine
This is Rietveld 408576698