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

Side by Side Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 <algorithm> 11 #include <algorithm>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "webrtc/test/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "webrtc/test/gtest.h"
17 #include "webrtc/base/rate_limiter.h" 17 #include "webrtc/base/rate_limiter.h"
18 #include "webrtc/common_types.h" 18 #include "webrtc/common_types.h"
19 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" 19 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h"
23 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" 23 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 namespace { 26 namespace {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 EXPECT_EQ(test_ssrc, report_blocks[0].sourceSSRC); 268 EXPECT_EQ(test_ssrc, report_blocks[0].sourceSSRC);
269 269
270 EXPECT_EQ(0u, report_blocks[0].cumulativeLost); 270 EXPECT_EQ(0u, report_blocks[0].cumulativeLost);
271 EXPECT_LT(0u, report_blocks[0].delaySinceLastSR); 271 EXPECT_LT(0u, report_blocks[0].delaySinceLastSR);
272 EXPECT_EQ(test_sequence_number, report_blocks[0].extendedHighSeqNum); 272 EXPECT_EQ(test_sequence_number, report_blocks[0].extendedHighSeqNum);
273 EXPECT_EQ(0u, report_blocks[0].fractionLost); 273 EXPECT_EQ(0u, report_blocks[0].fractionLost);
274 } 274 }
275 275
276 } // namespace 276 } // namespace
277 } // namespace webrtc 277 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc ('k') | webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698