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

Unified Diff: media/filters/video_renderer_impl_unittest.cc

Issue 403573004: Tweak expectations for VideoRendererImplTest.StartPlayingFrom_LowDelay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AnyNumber() Created 6 years, 5 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/filters/video_renderer_impl_unittest.cc
diff --git a/media/filters/video_renderer_impl_unittest.cc b/media/filters/video_renderer_impl_unittest.cc
index 9d48ee42d0461ac9d299e9b92f56906568879c74..90002eeaeeb6c5ca5098d9d40fbec4e2abf6b2aa 100644
--- a/media/filters/video_renderer_impl_unittest.cc
+++ b/media/filters/video_renderer_impl_unittest.cc
@@ -486,12 +486,12 @@ TEST_F(VideoRendererImplTest, StartPlayingFrom_LowDelay) {
InitializeWithLowDelay(true);
QueueFrames("0");
- // Expect to frequently have enough/nothing due to only requiring one frame.
+ // Expect some amount of have enough/nothing due to only requiring one frame.
EXPECT_CALL(mock_cb_, Display(HasTimestamp(0)));
EXPECT_CALL(mock_cb_, BufferingStateChange(BUFFERING_HAVE_ENOUGH))
- .Times(AtLeast(1));
+ .Times(AnyNumber());
EXPECT_CALL(mock_cb_, BufferingStateChange(BUFFERING_HAVE_NOTHING))
- .Times(AtLeast(1));
+ .Times(AnyNumber());
StartPlayingFrom(0);
QueueFrames("10");
« 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