| 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/datachannelinterface.h" | 14 #include "webrtc/api/datachannelinterface.h" |
| 15 #include "webrtc/api/peerconnectioninterface.h" | 15 #include "webrtc/api/peerconnectioninterface.h" |
| 16 #include "webrtc/api/stats/rtcstats_objects.h" | 16 #include "webrtc/api/stats/rtcstats_objects.h" |
| 17 #include "webrtc/api/stats/rtcstatsreport.h" | 17 #include "webrtc/api/stats/rtcstatsreport.h" |
| 18 #include "webrtc/api/test/peerconnectiontestwrapper.h" | |
| 19 #include "webrtc/api/test/rtcstatsobtainer.h" | |
| 20 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 21 #include "webrtc/base/gunit.h" | 19 #include "webrtc/base/gunit.h" |
| 22 #include "webrtc/base/physicalsocketserver.h" | 20 #include "webrtc/base/physicalsocketserver.h" |
| 23 #include "webrtc/base/refcountedobject.h" | 21 #include "webrtc/base/refcountedobject.h" |
| 24 #include "webrtc/base/scoped_ref_ptr.h" | 22 #include "webrtc/base/scoped_ref_ptr.h" |
| 25 #include "webrtc/base/virtualsocketserver.h" | 23 #include "webrtc/base/virtualsocketserver.h" |
| 24 #include "webrtc/pc/test/peerconnectiontestwrapper.h" |
| 25 #include "webrtc/pc/test/rtcstatsobtainer.h" |
| 26 | 26 |
| 27 namespace webrtc { | 27 namespace webrtc { |
| 28 | 28 |
| 29 namespace { | 29 namespace { |
| 30 | 30 |
| 31 const int64_t kGetStatsTimeoutMs = 10000; | 31 const int64_t kGetStatsTimeoutMs = 10000; |
| 32 | 32 |
| 33 class RTCStatsIntegrationTest : public testing::Test { | 33 class RTCStatsIntegrationTest : public testing::Test { |
| 34 public: | 34 public: |
| 35 RTCStatsIntegrationTest() | 35 RTCStatsIntegrationTest() |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) { | 533 TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) { |
| 534 StartCall(); | 534 StartCall(); |
| 535 | 535 |
| 536 rtc::scoped_refptr<const RTCStatsReport> report = GetStatsFromCallee(); | 536 rtc::scoped_refptr<const RTCStatsReport> report = GetStatsFromCallee(); |
| 537 RTCStatsReportVerifier(report.get()).VerifyReport(); | 537 RTCStatsReportVerifier(report.get()).VerifyReport(); |
| 538 } | 538 } |
| 539 | 539 |
| 540 } // namespace | 540 } // namespace |
| 541 | 541 |
| 542 } // namespace webrtc | 542 } // namespace webrtc |
| OLD | NEW |