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

Side by Side Diff: webrtc/test/rtp_file_writer_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
« no previous file with comments | « webrtc/test/rtp_file_reader_unittest.cc ('k') | webrtc/test/rtp_rtcp_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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.h> 11 #include <string.h>
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "webrtc/test/gtest.h"
16 #include "webrtc/test/rtp_file_reader.h" 16 #include "webrtc/test/rtp_file_reader.h"
17 #include "webrtc/test/rtp_file_writer.h" 17 #include "webrtc/test/rtp_file_writer.h"
18 #include "webrtc/test/testsupport/fileutils.h" 18 #include "webrtc/test/testsupport/fileutils.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 class RtpFileWriterTest : public ::testing::Test { 22 class RtpFileWriterTest : public ::testing::Test {
23 public: 23 public:
24 void Init(const std::string& filename) { 24 void Init(const std::string& filename) {
25 filename_ = test::OutputPath() + filename; 25 filename_ = test::OutputPath() + filename;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 }; 67 };
68 68
69 TEST_F(RtpFileWriterTest, WriteToRtpDump) { 69 TEST_F(RtpFileWriterTest, WriteToRtpDump) {
70 Init("test_rtp_file_writer.rtp"); 70 Init("test_rtp_file_writer.rtp");
71 WriteRtpPackets(10); 71 WriteRtpPackets(10);
72 CloseOutputFile(); 72 CloseOutputFile();
73 VerifyFileContents(10); 73 VerifyFileContents(10);
74 } 74 }
75 75
76 } // namespace webrtc 76 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/rtp_file_reader_unittest.cc ('k') | webrtc/test/rtp_rtcp_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698