summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 02:05:51 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 02:05:51 +0000
commit8e0476c65cc2eb9d84a62d484c0358f9a0e325b0 (patch)
treeb24b3ec35e0c42ced3e2020c5501b280f6f7bd6d /media/media.gyp
parent22b23cd21840b9a148857c60a7f6ca8b0417e190 (diff)
downloadchromium_src-8e0476c65cc2eb9d84a62d484c0358f9a0e325b0.zip
chromium_src-8e0476c65cc2eb9d84a62d484c0358f9a0e325b0.tar.gz
chromium_src-8e0476c65cc2eb9d84a62d484c0358f9a0e325b0.tar.bz2
Fixed up MockFilterHost and MockPipeline to support tasks and callbacks.
I changed the constructor to MockFilterHost to *not* create and initialize filters to allow for testing for conditions where create/initialize would fail. Also multiple MockFilterHosts can now share a common MockPipeline, which simulates how it is supposed to work. Finally, updated the VideoRendererBase tests to be deterministic and completely mocked and fixing failing unittests. BUG=8379 Review URL: http://codereview.chromium.org/39234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index 59832ba..0300d65 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -62,6 +62,8 @@
'filters/file_data_source.h',
'filters/null_audio_renderer.cc',
'filters/null_audio_renderer.h',
+ 'filters/video_renderer_base.cc',
+ 'filters/video_renderer_base.h',
'player/player.cc',
],
'direct_dependent_settings': {
@@ -84,6 +86,7 @@
'base/pipeline_impl_unittest.cc',
'base/run_all_unittests.cc',
'filters/file_data_source_unittest.cc',
+ 'filters/video_renderer_unittest.cc',
],
},
],