| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |