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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" 11 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h"
12 12
13 #include <numeric> 13 #include <numeric>
14 14
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "webrtc/test/gtest.h"
16 #include "webrtc/base/constructormagic.h" 16 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" 17 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h"
18 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" 18 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h"
19 #include "webrtc/test/testsupport/fileutils.h" 19 #include "webrtc/test/testsupport/fileutils.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace testing { 22 namespace testing {
23 namespace bwe { 23 namespace bwe {
24 24
25 static bool IsSequenceNumberSorted(const Packets& packets) { 25 static bool IsSequenceNumberSorted(const Packets& packets) {
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 RembFeedback* feedback = new RembFeedback(0, 0, 0, 512000, RTCPReportBlock()); 966 RembFeedback* feedback = new RembFeedback(0, 0, 0, 512000, RTCPReportBlock());
967 Packets packets; 967 Packets packets;
968 packets.push_back(feedback); 968 packets.push_back(feedback);
969 sender.RunFor(0, &packets); 969 sender.RunFor(0, &packets);
970 EXPECT_EQ(820000u, source.bits_per_second()); 970 EXPECT_EQ(820000u, source.bits_per_second());
971 TestVideoSender(&sender, 10000, 1000, 500, 1025000); 971 TestVideoSender(&sender, 10000, 1000, 500, 1025000);
972 } 972 }
973 } // namespace bwe 973 } // namespace bwe
974 } // namespace testing 974 } // namespace testing
975 } // namespace webrtc 975 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/bwe_test.h ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698