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

Side by Side Diff: webrtc/call/rtc_event_log_unittest.cc

Issue 2344383002: Reenabled the RtcEventLog unittests (Closed)
Patch Set: Added whitespace at the end of file Created 4 years, 3 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/call/BUILD.gn ('k') | webrtc/call/rtc_event_log_unittest_helper.cc » ('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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 #ifdef ENABLE_RTC_EVENT_LOG
12
13 #include <map> 11 #include <map>
14 #include <memory> 12 #include <memory>
15 #include <string> 13 #include <string>
16 #include <utility> 14 #include <utility>
17 #include <vector> 15 #include <vector>
18 16
19 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
20 #include "webrtc/base/buffer.h" 18 #include "webrtc/base/buffer.h"
21 #include "webrtc/base/checks.h" 19 #include "webrtc/base/checks.h"
22 #include "webrtc/base/random.h" 20 #include "webrtc/base/random.h"
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 450
453 RtcEventLogTestHelper::VerifyRtcpEvent(parsed_log, 2, kOutgoingPacket, 451 RtcEventLogTestHelper::VerifyRtcpEvent(parsed_log, 2, kOutgoingPacket,
454 MediaType::VIDEO, rtcp_packet.data(), 452 MediaType::VIDEO, rtcp_packet.data(),
455 rtcp_packet.size()); 453 rtcp_packet.size());
456 454
457 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); 455 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3);
458 456
459 // Clean up temporary file - can be pretty slow. 457 // Clean up temporary file - can be pretty slow.
460 remove(temp_filename.c_str()); 458 remove(temp_filename.c_str());
461 } 459 }
460
462 } // namespace webrtc 461 } // namespace webrtc
463
464 #endif // ENABLE_RTC_EVENT_LOG
OLDNEW
« no previous file with comments | « webrtc/call/BUILD.gn ('k') | webrtc/call/rtc_event_log_unittest_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698