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

Side by Side Diff: media/filters/ffmpeg_demuxer_unittest.cc

Issue 555087: Refactor some code that depends on FFmpeg (Closed)
Patch Set: 2010 Created 10 years, 11 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 unified diff | Download patch
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/filters/ffmpeg_glue.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <deque> 5 #include <deque>
6 6
7 #include "base/thread.h" 7 #include "base/thread.h"
8 #include "media/base/filters.h" 8 #include "media/base/filters.h"
9 #include "media/base/mock_ffmpeg.h" 9 #include "media/base/mock_ffmpeg.h"
10 #include "media/base/mock_filter_host.h" 10 #include "media/base/mock_filter_host.h"
11 #include "media/base/mock_filters.h" 11 #include "media/base/mock_filters.h"
12 #include "media/base/mock_reader.h" 12 #include "media/base/mock_reader.h"
13 #include "media/filters/ffmpeg_common.h" 13 #include "media/ffmpeg/ffmpeg_common.h"
14 #include "media/filters/ffmpeg_demuxer.h" 14 #include "media/filters/ffmpeg_demuxer.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using ::testing::AnyNumber; 17 using ::testing::AnyNumber;
18 using ::testing::DoAll; 18 using ::testing::DoAll;
19 using ::testing::InSequence; 19 using ::testing::InSequence;
20 using ::testing::Invoke; 20 using ::testing::Invoke;
21 using ::testing::NotNull; 21 using ::testing::NotNull;
22 using ::testing::Return; 22 using ::testing::Return;
23 using ::testing::SetArgumentPointee; 23 using ::testing::SetArgumentPointee;
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 { 788 {
789 SCOPED_TRACE(""); 789 SCOPED_TRACE("");
790 InitializeDemuxer(); 790 InitializeDemuxer();
791 } 791 }
792 EXPECT_CALL(*data_source_, IsStreaming()) 792 EXPECT_CALL(*data_source_, IsStreaming())
793 .WillOnce(Return(false)); 793 .WillOnce(Return(false));
794 EXPECT_FALSE(demuxer_->IsStreaming()); 794 EXPECT_FALSE(demuxer_->IsStreaming());
795 } 795 }
796 796
797 } // namespace media 797 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/filters/ffmpeg_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698