OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 "webrtc/base/checks.h" | 10 #include "webrtc/base/checks.h" |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567; | 375 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567; |
376 const int CallTest::kNackRtpHistoryMs = 1000; | 376 const int CallTest::kNackRtpHistoryMs = 1000; |
377 | 377 |
378 BaseTest::BaseTest(unsigned int timeout_ms) : RtpRtcpObserver(timeout_ms) { | 378 BaseTest::BaseTest(unsigned int timeout_ms) : RtpRtcpObserver(timeout_ms) { |
379 } | 379 } |
380 | 380 |
381 BaseTest::~BaseTest() { | 381 BaseTest::~BaseTest() { |
382 } | 382 } |
383 | 383 |
384 Call::Config BaseTest::GetSenderCallConfig() { | 384 Call::Config BaseTest::GetSenderCallConfig() { |
385 return Call::Config(); | 385 return Call::Config(&event_log_); |
386 } | 386 } |
387 | 387 |
388 Call::Config BaseTest::GetReceiverCallConfig() { | 388 Call::Config BaseTest::GetReceiverCallConfig() { |
389 return Call::Config(); | 389 return Call::Config(&event_log_); |
390 } | 390 } |
391 | 391 |
392 void BaseTest::OnCallsCreated(Call* sender_call, Call* receiver_call) { | 392 void BaseTest::OnCallsCreated(Call* sender_call, Call* receiver_call) { |
393 } | 393 } |
394 | 394 |
395 test::PacketTransport* BaseTest::CreateSendTransport(Call* sender_call) { | 395 test::PacketTransport* BaseTest::CreateSendTransport(Call* sender_call) { |
396 return new PacketTransport(sender_call, this, test::PacketTransport::kSender, | 396 return new PacketTransport(sender_call, this, test::PacketTransport::kSender, |
397 FakeNetworkPipe::Config()); | 397 FakeNetworkPipe::Config()); |
398 } | 398 } |
399 | 399 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 444 |
445 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { | 445 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { |
446 } | 446 } |
447 | 447 |
448 bool EndToEndTest::ShouldCreateReceivers() const { | 448 bool EndToEndTest::ShouldCreateReceivers() const { |
449 return true; | 449 return true; |
450 } | 450 } |
451 | 451 |
452 } // namespace test | 452 } // namespace test |
453 } // namespace webrtc | 453 } // namespace webrtc |
OLD | NEW |