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

Unified Diff: media/base/pipeline_unittest.cc

Issue 290003004: Remove FakeTextTrackStream::OnRead() spam when running Pipeline tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_unittest.cc
diff --git a/media/base/pipeline_unittest.cc b/media/base/pipeline_unittest.cc
index 7ce25fa63b03c42953a0580c03f2fde2de772b25..881cfbebcffe6cb7a30c7540132d3061936f3841 100644
--- a/media/base/pipeline_unittest.cc
+++ b/media/base/pipeline_unittest.cc
@@ -23,6 +23,7 @@
#include "ui/gfx/size.h"
using ::testing::_;
+using ::testing::AnyNumber;
using ::testing::DeleteArg;
using ::testing::DoAll;
// TODO(scherkus): Remove InSequence after refactoring Pipeline.
@@ -240,7 +241,8 @@ class PipelineTest : public ::testing::Test {
}
void CreateTextStream() {
- scoped_ptr<FakeTextTrackStream> text_stream(new FakeTextTrackStream);
+ scoped_ptr<FakeTextTrackStream> text_stream(new FakeTextTrackStream());
+ EXPECT_CALL(*text_stream, OnRead()).Times(AnyNumber());
text_stream_ = text_stream.Pass();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698