diff options
Diffstat (limited to 'media/filters')
-rw-r--r-- | media/filters/video_renderer_impl_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/media/filters/video_renderer_impl_unittest.cc b/media/filters/video_renderer_impl_unittest.cc index 84ccc9e..4b43e3b 100644 --- a/media/filters/video_renderer_impl_unittest.cc +++ b/media/filters/video_renderer_impl_unittest.cc @@ -26,6 +26,7 @@ using ::testing::_; using ::testing::AnyNumber; +using ::testing::AtLeast; using ::testing::InSequence; using ::testing::Invoke; using ::testing::NiceMock; @@ -504,7 +505,7 @@ TEST_F(VideoRendererImplTest, Rebuffer) { // TODO(scherkus): We shouldn't display the next ready frame in a rebuffer // situation, see http://crbug.com/365516 - EXPECT_CALL(mock_display_cb_, Display(_)); + EXPECT_CALL(mock_display_cb_, Display(_)).Times(AtLeast(1)); event.RunAndWaitForStatus(PIPELINE_OK); @@ -529,7 +530,7 @@ TEST_F(VideoRendererImplTest, Rebuffer_AlreadyHaveEnoughFrames) { // TODO(scherkus): We shouldn't display the next ready frame in a rebuffer // situation, see http://crbug.com/365516 - EXPECT_CALL(mock_display_cb_, Display(_)); + EXPECT_CALL(mock_display_cb_, Display(_)).Times(AtLeast(1)); WaitableMessageLoopEvent event; renderer_->Preroll(kNoTimestamp(), |