Chromium Code Reviews| Index: webrtc/api/rtcstatscollector_unittest.cc |
| diff --git a/webrtc/api/rtcstatscollector_unittest.cc b/webrtc/api/rtcstatscollector_unittest.cc |
| index 89161363a258668fd6fec90332f16b7b8a92579b..b619ef9b5a337419db5363d5ae416edc86520e27 100644 |
| --- a/webrtc/api/rtcstatscollector_unittest.cc |
| +++ b/webrtc/api/rtcstatscollector_unittest.cc |
| @@ -1078,6 +1078,8 @@ TEST_F(RTCStatsCollectorTest, CollectRTCIceCandidatePairStats) { |
| connection_info.sent_ping_requests_before_first_response = 2000; |
| connection_info.recv_ping_responses = 4321; |
| connection_info.sent_ping_responses = 1000; |
| + connection_info.state = cricket::IceCandidatePairState::IN_PROGRESS; |
| + connection_info.priority = 5555; |
| cricket::TransportChannelStats transport_channel_stats; |
| transport_channel_stats.component = cricket::ICE_CANDIDATE_COMPONENT_RTP; |
| @@ -1104,6 +1106,8 @@ TEST_F(RTCStatsCollectorTest, CollectRTCIceCandidatePairStats) { |
| expected_pair.local_candidate_id = "RTCIceCandidate_" + local_candidate->id(); |
| expected_pair.remote_candidate_id = |
| "RTCIceCandidate_" + remote_candidate->id(); |
| + expected_pair.state = "in-progress"; |
|
hbos
2016/12/23 13:45:34
nit: RTCStatsIceCandidatePairState::kInProgress in
hbos
2016/12/27 10:24:34
Done.
|
| + expected_pair.priority = 5555; |
| expected_pair.writable = true; |
| expected_pair.bytes_sent = 42; |
| expected_pair.bytes_received = 1234; |