| 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 #ifndef WEBRTC_TEST_COMMON_CALL_TEST_H_ | 10 #ifndef WEBRTC_TEST_COMMON_CALL_TEST_H_ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 static const int kAbsSendTimeExtensionId; | 46 static const int kAbsSendTimeExtensionId; |
| 47 | 47 |
| 48 protected: | 48 protected: |
| 49 void RunBaseTest(BaseTest* test); | 49 void RunBaseTest(BaseTest* test); |
| 50 | 50 |
| 51 void CreateCalls(const Call::Config& sender_config, | 51 void CreateCalls(const Call::Config& sender_config, |
| 52 const Call::Config& receiver_config); | 52 const Call::Config& receiver_config); |
| 53 void CreateSenderCall(const Call::Config& config); | 53 void CreateSenderCall(const Call::Config& config); |
| 54 void CreateReceiverCall(const Call::Config& config); | 54 void CreateReceiverCall(const Call::Config& config); |
| 55 | 55 |
| 56 void CreateSendConfig(size_t num_streams); | 56 void CreateSendConfig(size_t num_streams, newapi::Transport* send_transport); |
| 57 void CreateMatchingReceiveConfigs(); | 57 void CreateMatchingReceiveConfigs(newapi::Transport* rtcp_send_transport); |
| 58 | 58 |
| 59 void CreateFrameGeneratorCapturer(); | 59 void CreateFrameGeneratorCapturer(); |
| 60 | 60 |
| 61 void CreateStreams(); | 61 void CreateStreams(); |
| 62 void Start(); | 62 void Start(); |
| 63 void Stop(); | 63 void Stop(); |
| 64 void DestroyStreams(); | 64 void DestroyStreams(); |
| 65 | 65 |
| 66 Clock* const clock_; | 66 Clock* const clock_; |
| 67 | 67 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 explicit EndToEndTest(unsigned int timeout_ms); | 119 explicit EndToEndTest(unsigned int timeout_ms); |
| 120 EndToEndTest(unsigned int timeout_ms, const FakeNetworkPipe::Config& config); | 120 EndToEndTest(unsigned int timeout_ms, const FakeNetworkPipe::Config& config); |
| 121 | 121 |
| 122 bool ShouldCreateReceivers() const override; | 122 bool ShouldCreateReceivers() const override; |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace test | 125 } // namespace test |
| 126 } // namespace webrtc | 126 } // namespace webrtc |
| 127 | 127 |
| 128 #endif // WEBRTC_TEST_COMMON_CALL_TEST_H_ | 128 #endif // WEBRTC_TEST_COMMON_CALL_TEST_H_ |
| OLD | NEW |