diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/video_decoder_unittest.cc | 36 | ||||
-rw-r--r-- | media/media.gyp | 1 |
2 files changed, 0 insertions, 37 deletions
diff --git a/media/filters/video_decoder_unittest.cc b/media/filters/video_decoder_unittest.cc deleted file mode 100644 index 621371c..0000000 --- a/media/filters/video_decoder_unittest.cc +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include <string> - -#include "media/base/factory.h" -#include "media/base/filter_host.h" -#include "media/base/filters.h" -#include "media/base/media_format.h" -#include "media/base/mock_media_filters.h" -#include "media/base/pipeline_impl.h" -#include "media/filters/test_video_decoder.h" -#include "testing/gtest/include/gtest/gtest.h" - -using media::FilterFactoryCollection; -using media::InstanceFilterFactory; -using media::PipelineImpl; -using media::TestVideoDecoder; -using media::old_mocks::InitializationHelper; -using media::old_mocks::MockFilterConfig; -using media::old_mocks::MockFilterFactory; - -TEST(VideoDecoder, CreateTestDecoder) { - std::string url(""); - PipelineImpl p; - scoped_refptr<TestVideoDecoder> test_decoder = new TestVideoDecoder(); - MockFilterConfig config; - scoped_refptr<FilterFactoryCollection> c = new FilterFactoryCollection(); - c->AddFactory(new InstanceFilterFactory<TestVideoDecoder>(test_decoder)); - c->AddFactory(new MockFilterFactory(&config)); - InitializationHelper h; - h.Start(&p, c, url); - p.SetPlaybackRate(1.0f); - p.Stop(); -} diff --git a/media/media.gyp b/media/media.gyp index 1b20982..669f08e 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -167,7 +167,6 @@ 'filters/ffmpeg_glue_unittest.cc', 'filters/ffmpeg_video_decoder_unittest.cc', 'filters/file_data_source_unittest.cc', - 'filters/video_decoder_unittest.cc', ], 'conditions': [ ['OS=="linux"', { |