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 "media/filters/pipeline_integration_test_base.h" | 5 #include "media/filters/pipeline_integration_test_base.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "media/base/decoder_buffer.h" | 11 #include "media/base/decoder_buffer.h" |
12 #include "media/base/media_keys.h" | 12 #include "media/base/media_keys.h" |
13 #include "media/base/test_data_util.h" | 13 #include "media/base/test_data_util.h" |
14 #include "media/crypto/aes_decryptor.h" | 14 #include "media/crypto/aes_decryptor.h" |
15 #include "media/filters/chunk_demuxer.h" | 15 #include "media/filters/chunk_demuxer.h" |
16 | 16 |
17 using testing::AtMost; | 17 using testing::AtMost; |
18 | 18 |
19 namespace media { | 19 namespace media { |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 | 966 |
967 // Verify that VP8 video with inband text track can be played back. | 967 // Verify that VP8 video with inband text track can be played back. |
968 TEST_F(PipelineIntegrationTest, BasicPlayback_VP8_WebVTT_WebM) { | 968 TEST_F(PipelineIntegrationTest, BasicPlayback_VP8_WebVTT_WebM) { |
969 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"), | 969 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"), |
970 PIPELINE_OK)); | 970 PIPELINE_OK)); |
971 Play(); | 971 Play(); |
972 ASSERT_TRUE(WaitUntilOnEnded()); | 972 ASSERT_TRUE(WaitUntilOnEnded()); |
973 } | 973 } |
974 | 974 |
975 } // namespace media | 975 } // namespace media |
OLD | NEW |