Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: media/base/pipeline_unittest.cc

Issue 11316293: Replace WaitableEvents and ConditionalVariables in VideoRendererBase tests with MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bustage Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/mock_callback.cc ('k') | media/base/test_helpers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « media/base/mock_callback.cc ('k') | media/base/test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698