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

Unified Diff: media/video/video_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: media/video/video_mock_objects.h
diff --git a/media/video/mock_objects.h b/media/video/video_mock_objects.h
similarity index 92%
rename from media/video/mock_objects.h
rename to media/video/video_mock_objects.h
index c0f3dd928596172f34200764c1943c81669a01a9..1a9592c3a673810591af59c681f7c634a08aaabb 100644
--- a/media/video/mock_objects.h
+++ b/media/video/video_mock_objects.h
@@ -13,8 +13,8 @@ namespace media {
class MockVideoDecodeEngine : public VideoDecodeEngine {
public:
- MockVideoDecodeEngine() {}
- virtual ~MockVideoDecodeEngine() {}
+ MockVideoDecodeEngine();
+ virtual ~MockVideoDecodeEngine();
MOCK_METHOD4(Initialize, void(MessageLoop* message_loop,
EventHandler* event_handler,
@@ -32,8 +32,8 @@ class MockVideoDecodeEngine : public VideoDecodeEngine {
class MockVideoDecodeContext : public VideoDecodeContext {
public:
- MockVideoDecodeContext() {}
- virtual ~MockVideoDecodeContext() {}
+ MockVideoDecodeContext();
+ virtual ~MockVideoDecodeContext();
MOCK_METHOD0(GetDevice, void*());
MOCK_METHOD6(AllocateVideoFrames, void(

Powered by Google App Engine
This is Rietveld 408576698