OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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/logging/rtc_event_log/rtc_event_log_unittest_helper.h" | 11 #include "webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h" |
12 | 12 |
13 #include <string.h> | 13 #include <string.h> |
14 | 14 |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/checks.h" | |
19 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ
k_adaptor.h" | 18 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ
k_adaptor.h" |
20 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" |
| 20 #include "webrtc/rtc_base/checks.h" |
21 #include "webrtc/test/gtest.h" | 21 #include "webrtc/test/gtest.h" |
22 #include "webrtc/test/testsupport/fileutils.h" | 22 #include "webrtc/test/testsupport/fileutils.h" |
23 | 23 |
24 // Files generated at build-time by the protobuf compiler. | 24 // Files generated at build-time by the protobuf compiler. |
25 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 25 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
26 #include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" | 26 #include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
27 #else | 27 #else |
28 #include "webrtc/logging/rtc_event_log/rtc_event_log.pb.h" | 28 #include "webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
29 #endif | 29 #endif |
30 | 30 |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 ASSERT_TRUE(bwe_event.has_id()); | 564 ASSERT_TRUE(bwe_event.has_id()); |
565 EXPECT_EQ(id, bwe_event.id()); | 565 EXPECT_EQ(id, bwe_event.id()); |
566 ASSERT_TRUE(bwe_event.has_result()); | 566 ASSERT_TRUE(bwe_event.has_result()); |
567 EXPECT_EQ(GetProbeResultType(failure_reason), bwe_event.result()); | 567 EXPECT_EQ(GetProbeResultType(failure_reason), bwe_event.result()); |
568 ASSERT_FALSE(bwe_event.has_bitrate_bps()); | 568 ASSERT_FALSE(bwe_event.has_bitrate_bps()); |
569 | 569 |
570 // TODO(philipel): Verify the parser when parsing has been implemented. | 570 // TODO(philipel): Verify the parser when parsing has been implemented. |
571 } | 571 } |
572 | 572 |
573 } // namespace webrtc | 573 } // namespace webrtc |
OLD | NEW |