Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1522)

Side by Side Diff: webrtc/test/call_test.cc

Issue 2760623002: Probing EndToEndTests. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 const uint32_t CallTest::kSendRtxSsrcs[kNumSsrcs] = {0xBADCAFD, 0xBADCAFE, 412 const uint32_t CallTest::kSendRtxSsrcs[kNumSsrcs] = {0xBADCAFD, 0xBADCAFE,
413 0xBADCAFF}; 413 0xBADCAFF};
414 const uint32_t CallTest::kVideoSendSsrcs[kNumSsrcs] = {0xC0FFED, 0xC0FFEE, 414 const uint32_t CallTest::kVideoSendSsrcs[kNumSsrcs] = {0xC0FFED, 0xC0FFEE,
415 0xC0FFEF}; 415 0xC0FFEF};
416 const uint32_t CallTest::kAudioSendSsrc = 0xDEADBEEF; 416 const uint32_t CallTest::kAudioSendSsrc = 0xDEADBEEF;
417 const uint32_t CallTest::kFlexfecSendSsrc = 0xBADBEEF; 417 const uint32_t CallTest::kFlexfecSendSsrc = 0xBADBEEF;
418 const uint32_t CallTest::kReceiverLocalVideoSsrc = 0x123456; 418 const uint32_t CallTest::kReceiverLocalVideoSsrc = 0x123456;
419 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567; 419 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567;
420 const int CallTest::kNackRtpHistoryMs = 1000; 420 const int CallTest::kNackRtpHistoryMs = 1000;
421 421
422 BaseTest::BaseTest() {}
423
422 BaseTest::BaseTest(unsigned int timeout_ms) : RtpRtcpObserver(timeout_ms) { 424 BaseTest::BaseTest(unsigned int timeout_ms) : RtpRtcpObserver(timeout_ms) {
423 } 425 }
424 426
425 BaseTest::~BaseTest() { 427 BaseTest::~BaseTest() {
426 } 428 }
427 429
428 Call::Config BaseTest::GetSenderCallConfig() { 430 Call::Config BaseTest::GetSenderCallConfig() {
429 return Call::Config(&event_log_); 431 return Call::Config(&event_log_);
430 } 432 }
431 433
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 FrameGeneratorCapturer* frame_generator_capturer) { 491 FrameGeneratorCapturer* frame_generator_capturer) {
490 } 492 }
491 493
492 SendTest::SendTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { 494 SendTest::SendTest(unsigned int timeout_ms) : BaseTest(timeout_ms) {
493 } 495 }
494 496
495 bool SendTest::ShouldCreateReceivers() const { 497 bool SendTest::ShouldCreateReceivers() const {
496 return false; 498 return false;
497 } 499 }
498 500
501 EndToEndTest::EndToEndTest() {}
502
499 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { 503 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) {
500 } 504 }
501 505
502 bool EndToEndTest::ShouldCreateReceivers() const { 506 bool EndToEndTest::ShouldCreateReceivers() const {
503 return true; 507 return true;
504 } 508 }
505 509
506 } // namespace test 510 } // namespace test
507 } // namespace webrtc 511 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698