| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 3225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3236 NetworkState sender_state_ GUARDED_BY(test_crit_); | 3236 NetworkState sender_state_ GUARDED_BY(test_crit_); |
| 3237 int sender_rtp_ GUARDED_BY(test_crit_); | 3237 int sender_rtp_ GUARDED_BY(test_crit_); |
| 3238 int sender_rtcp_ GUARDED_BY(test_crit_); | 3238 int sender_rtcp_ GUARDED_BY(test_crit_); |
| 3239 int receiver_rtcp_ GUARDED_BY(test_crit_); | 3239 int receiver_rtcp_ GUARDED_BY(test_crit_); |
| 3240 int down_frames_ GUARDED_BY(test_crit_); | 3240 int down_frames_ GUARDED_BY(test_crit_); |
| 3241 } test; | 3241 } test; |
| 3242 | 3242 |
| 3243 RunBaseTest(&test); | 3243 RunBaseTest(&test); |
| 3244 } | 3244 } |
| 3245 | 3245 |
| 3246 TEST_F(EndToEndTest, CallReportsRttForSender) { | 3246 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=5938 |
| 3247 #ifdef WEBRTC_MAC |
| 3248 #define MAYBE_CallReportsRttForSender DISABLED_CallReportsRttForSender |
| 3249 #else |
| 3250 #define MAYBE_CallReportsRttForSender CallReportsRttForSender |
| 3251 #endif |
| 3252 TEST_F(EndToEndTest, MAYBE_CallReportsRttForSender) { |
| 3247 static const int kSendDelayMs = 30; | 3253 static const int kSendDelayMs = 30; |
| 3248 static const int kReceiveDelayMs = 70; | 3254 static const int kReceiveDelayMs = 70; |
| 3249 | 3255 |
| 3250 CreateCalls(Call::Config(), Call::Config()); | 3256 CreateCalls(Call::Config(), Call::Config()); |
| 3251 | 3257 |
| 3252 FakeNetworkPipe::Config config; | 3258 FakeNetworkPipe::Config config; |
| 3253 config.queue_delay_ms = kSendDelayMs; | 3259 config.queue_delay_ms = kSendDelayMs; |
| 3254 test::DirectTransport sender_transport(config, sender_call_.get()); | 3260 test::DirectTransport sender_transport(config, sender_call_.get()); |
| 3255 config.queue_delay_ms = kReceiveDelayMs; | 3261 config.queue_delay_ms = kReceiveDelayMs; |
| 3256 test::DirectTransport receiver_transport(config, receiver_call_.get()); | 3262 test::DirectTransport receiver_transport(config, receiver_call_.get()); |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3498 private: | 3504 private: |
| 3499 bool video_observed_; | 3505 bool video_observed_; |
| 3500 bool audio_observed_; | 3506 bool audio_observed_; |
| 3501 SequenceNumberUnwrapper unwrapper_; | 3507 SequenceNumberUnwrapper unwrapper_; |
| 3502 std::set<int64_t> received_packet_ids_; | 3508 std::set<int64_t> received_packet_ids_; |
| 3503 } test; | 3509 } test; |
| 3504 | 3510 |
| 3505 RunBaseTest(&test); | 3511 RunBaseTest(&test); |
| 3506 } | 3512 } |
| 3507 } // namespace webrtc | 3513 } // namespace webrtc |
| OLD | NEW |