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

Issue 126170: Make the generated stubs weak. Enable the unittests that had conflicting symbols. (Closed)

Created:
11 years, 6 months ago by awong
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make the generated stubs weak. Enable the unittests that had conflicting symbols. Also move some of the old mocks into their own namespace. They were causing linker confusion due to inlining or something which generated bad test executables that segfaulted.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix comments. #

Total comments: 1

Patch Set 3 : Fix indent.w #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -71 lines) Patch
M media/base/mock_media_filters.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M media/base/pipeline_impl_unittest.cc View 1 4 chunks +6 lines, -5 lines 0 comments Download
M media/base/video_frame_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 5 chunks +7 lines, -7 lines 0 comments Download
M media/filters/ffmpeg_glue_unittest.cc View 1 6 chunks +21 lines, -21 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M media/filters/file_data_source_unittest.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M media/filters/test_video_decoder.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M media/filters/video_decoder_unittest.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M media/filters/video_renderer_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M media/media.gyp View 1 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/ffmpeg/generate_stubs.py View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
awong
11 years, 6 months ago (2009-06-15 22:55:20 UTC) #1
awong
On 2009/06/15 22:55:20, awong wrote: > running through try servers now. ajwong: weak_ffmpeg-c0216
11 years, 6 months ago (2009-06-15 22:59:43 UTC) #2
scherkus (not reviewing)
http://codereview.chromium.org/126170/diff/1/2 File media/base/mock_media_filters.h (right): http://codereview.chromium.org/126170/diff/1/2#newcode23 Line 23: namespace old_mocks { add a todo here or ...
11 years, 6 months ago (2009-06-15 23:03:17 UTC) #3
awong
doh! Need to proofread my changes before sending! This should be better. http://codereview.chromium.org/126170/diff/1/2 File media/base/mock_media_filters.h ...
11 years, 6 months ago (2009-06-15 23:27:54 UTC) #4
scherkus (not reviewing)
11 years, 6 months ago (2009-06-15 23:38:18 UTC) #5
LGTM -- one nit that was actually my fault

http://codereview.chromium.org/126170/diff/30/1011
File media/filters/ffmpeg_video_decoder_unittest.cc (right):

http://codereview.chromium.org/126170/diff/30/1011#newcode175
Line 175: .WillOnce(ReturnNull());
indent by 2 -- my bad :)

Powered by Google App Engine
This is Rietveld 408576698