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

Side by Side Diff: media/filters/ffmpeg_glue_unittest.cc

Issue 555087: Refactor some code that depends on FFmpeg (Closed)
Patch Set: 2010 Created 10 years, 11 months 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
« no previous file with comments | « media/filters/ffmpeg_glue.cc ('k') | media/filters/ffmpeg_video_decode_engine.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/base/mock_ffmpeg.h" 5 #include "media/base/mock_ffmpeg.h"
6 #include "media/base/mock_filters.h" 6 #include "media/base/mock_filters.h"
7 #include "media/filters/ffmpeg_common.h" 7 #include "media/ffmpeg/ffmpeg_common.h"
8 #include "media/filters/ffmpeg_glue.h" 8 #include "media/filters/ffmpeg_glue.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 using ::testing::_; 11 using ::testing::_;
12 using ::testing::DoAll; 12 using ::testing::DoAll;
13 using ::testing::InSequence; 13 using ::testing::InSequence;
14 using ::testing::Return; 14 using ::testing::Return;
15 using ::testing::SetArgumentPointee; 15 using ::testing::SetArgumentPointee;
16 using ::testing::StrictMock; 16 using ::testing::StrictMock;
17 17
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 // Remove our own reference, we shouldn't be destroyed yet. 317 // Remove our own reference, we shouldn't be destroyed yet.
318 mock_ffmpeg_.CheckPoint(0); 318 mock_ffmpeg_.CheckPoint(0);
319 protocol.reset(); 319 protocol.reset();
320 320
321 // ~FFmpegGlue() will be called when this unit test finishes execution. By 321 // ~FFmpegGlue() will be called when this unit test finishes execution. By
322 // leaving something inside FFmpegGlue's map we get to test our cleanup code. 322 // leaving something inside FFmpegGlue's map we get to test our cleanup code.
323 } 323 }
324 324
325 } // namespace media 325 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_glue.cc ('k') | media/filters/ffmpeg_video_decode_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698