OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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 <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" | 14 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
15 #include "webrtc/api/audio_codecs/builtin_audio_encoder_factory.h" | 15 #include "webrtc/api/audio_codecs/builtin_audio_encoder_factory.h" |
16 #include "webrtc/api/datachannelinterface.h" | 16 #include "webrtc/api/datachannelinterface.h" |
17 #include "webrtc/api/peerconnectioninterface.h" | 17 #include "webrtc/api/peerconnectioninterface.h" |
18 #include "webrtc/api/stats/rtcstats_objects.h" | 18 #include "webrtc/api/stats/rtcstats_objects.h" |
19 #include "webrtc/api/stats/rtcstatsreport.h" | 19 #include "webrtc/api/stats/rtcstatsreport.h" |
20 #include "webrtc/base/checks.h" | |
21 #include "webrtc/base/gunit.h" | |
22 #include "webrtc/base/refcountedobject.h" | |
23 #include "webrtc/base/scoped_ref_ptr.h" | |
24 #include "webrtc/base/virtualsocketserver.h" | |
25 #include "webrtc/pc/test/peerconnectiontestwrapper.h" | 20 #include "webrtc/pc/test/peerconnectiontestwrapper.h" |
26 #include "webrtc/pc/test/rtcstatsobtainer.h" | 21 #include "webrtc/pc/test/rtcstatsobtainer.h" |
| 22 #include "webrtc/rtc_base/checks.h" |
| 23 #include "webrtc/rtc_base/gunit.h" |
| 24 #include "webrtc/rtc_base/refcountedobject.h" |
| 25 #include "webrtc/rtc_base/scoped_ref_ptr.h" |
| 26 #include "webrtc/rtc_base/virtualsocketserver.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 const int64_t kGetStatsTimeoutMs = 10000; | 32 const int64_t kGetStatsTimeoutMs = 10000; |
33 | 33 |
34 class RTCStatsIntegrationTest : public testing::Test { | 34 class RTCStatsIntegrationTest : public testing::Test { |
35 public: | 35 public: |
36 RTCStatsIntegrationTest() | 36 RTCStatsIntegrationTest() |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 caller_ = nullptr; | 643 caller_ = nullptr; |
644 // Any pending stats requests should have completed in the act of destroying | 644 // Any pending stats requests should have completed in the act of destroying |
645 // the peer connection. | 645 // the peer connection. |
646 EXPECT_TRUE(stats_obtainer->report()); | 646 EXPECT_TRUE(stats_obtainer->report()); |
647 } | 647 } |
648 #endif // HAVE_SCTP | 648 #endif // HAVE_SCTP |
649 | 649 |
650 } // namespace | 650 } // namespace |
651 | 651 |
652 } // namespace webrtc | 652 } // namespace webrtc |
OLD | NEW |