OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/threading/simple_thread.h" | 10 #include "base/threading/simple_thread.h" |
11 #include "media/base/clock.h" | 11 #include "media/base/clock.h" |
12 #include "media/base/gmock_callback_support.h" | 12 #include "media/base/gmock_callback_support.h" |
13 #include "media/base/media_log.h" | 13 #include "media/base/media_log.h" |
14 #include "media/base/mock_callback.h" | |
15 #include "media/base/mock_filters.h" | 14 #include "media/base/mock_filters.h" |
16 #include "media/base/pipeline.h" | 15 #include "media/base/pipeline.h" |
| 16 #include "media/base/test_helpers.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/size.h" |
19 | 19 |
20 using ::testing::_; | 20 using ::testing::_; |
21 using ::testing::DeleteArg; | 21 using ::testing::DeleteArg; |
22 using ::testing::DoAll; | 22 using ::testing::DoAll; |
23 // TODO(scherkus): Remove InSequence after refactoring Pipeline. | 23 // TODO(scherkus): Remove InSequence after refactoring Pipeline. |
24 using ::testing::InSequence; | 24 using ::testing::InSequence; |
25 using ::testing::Invoke; | 25 using ::testing::Invoke; |
26 using ::testing::InvokeWithoutArgs; | 26 using ::testing::InvokeWithoutArgs; |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 INSTANTIATE_TEARDOWN_TEST(Error, InitAudioRenderer); | 1202 INSTANTIATE_TEARDOWN_TEST(Error, InitAudioRenderer); |
1203 INSTANTIATE_TEARDOWN_TEST(Error, InitVideoRenderer); | 1203 INSTANTIATE_TEARDOWN_TEST(Error, InitVideoRenderer); |
1204 INSTANTIATE_TEARDOWN_TEST(Error, Pausing); | 1204 INSTANTIATE_TEARDOWN_TEST(Error, Pausing); |
1205 INSTANTIATE_TEARDOWN_TEST(Error, Flushing); | 1205 INSTANTIATE_TEARDOWN_TEST(Error, Flushing); |
1206 INSTANTIATE_TEARDOWN_TEST(Error, Seeking); | 1206 INSTANTIATE_TEARDOWN_TEST(Error, Seeking); |
1207 INSTANTIATE_TEARDOWN_TEST(Error, Prerolling); | 1207 INSTANTIATE_TEARDOWN_TEST(Error, Prerolling); |
1208 INSTANTIATE_TEARDOWN_TEST(Error, Starting); | 1208 INSTANTIATE_TEARDOWN_TEST(Error, Starting); |
1209 INSTANTIATE_TEARDOWN_TEST(Error, Playing); | 1209 INSTANTIATE_TEARDOWN_TEST(Error, Playing); |
1210 | 1210 |
1211 } // namespace media | 1211 } // namespace media |
OLD | NEW |