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

Side by Side Diff: webrtc/modules/video_coding/jitter_buffer_unittest.cc

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <string> 11 #include <string>
12 12
13 #include <list> 13 #include <list>
14 #include <memory> 14 #include <memory>
15 15
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "webrtc/test/gtest.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "webrtc/test/gmock.h"
18 #include "webrtc/modules/video_coding/frame_buffer.h" 18 #include "webrtc/modules/video_coding/frame_buffer.h"
19 #include "webrtc/modules/video_coding/jitter_buffer.h" 19 #include "webrtc/modules/video_coding/jitter_buffer.h"
20 #include "webrtc/modules/video_coding/media_opt_util.h" 20 #include "webrtc/modules/video_coding/media_opt_util.h"
21 #include "webrtc/modules/video_coding/packet.h" 21 #include "webrtc/modules/video_coding/packet.h"
22 #include "webrtc/modules/video_coding/test/stream_generator.h" 22 #include "webrtc/modules/video_coding/test/stream_generator.h"
23 #include "webrtc/modules/video_coding/test/test_util.h" 23 #include "webrtc/modules/video_coding/test/test_util.h"
24 #include "webrtc/system_wrappers/include/clock.h" 24 #include "webrtc/system_wrappers/include/clock.h"
25 #include "webrtc/system_wrappers/include/field_trial.h" 25 #include "webrtc/system_wrappers/include/field_trial.h"
26 #include "webrtc/system_wrappers/include/metrics.h" 26 #include "webrtc/system_wrappers/include/metrics.h"
27 #include "webrtc/system_wrappers/include/metrics_default.h" 27 #include "webrtc/system_wrappers/include/metrics_default.h"
(...skipping 2600 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 2628
2629 // Stream should be decodable from this point. 2629 // Stream should be decodable from this point.
2630 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); 2630 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs);
2631 InsertFrame(kVideoFrameDelta); 2631 InsertFrame(kVideoFrameDelta);
2632 EXPECT_TRUE(DecodeCompleteFrame()); 2632 EXPECT_TRUE(DecodeCompleteFrame());
2633 nack_list = jitter_buffer_->GetNackList(&extended); 2633 nack_list = jitter_buffer_->GetNackList(&extended);
2634 EXPECT_EQ(0u, nack_list.size()); 2634 EXPECT_EQ(0u, nack_list.size());
2635 } 2635 }
2636 2636
2637 } // namespace webrtc 2637 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698