Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
Artem Titov | d57628f | 2019-03-22 12:34:25 +0100 | [diff] [blame^] | 10 | #ifndef API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_ |
| 11 | #define API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_ |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 12 | |
| 13 | #include <memory> |
Artem Titov | d57628f | 2019-03-22 12:34:25 +0100 | [diff] [blame^] | 14 | #include <string> |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 15 | |
Artem Titov | d57628f | 2019-03-22 12:34:25 +0100 | [diff] [blame^] | 16 | #include "api/test/audio_quality_analyzer_interface.h" |
| 17 | #include "api/test/peerconnection_quality_test_fixture.h" |
| 18 | #include "api/test/video_quality_analyzer_interface.h" |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 19 | |
| 20 | namespace webrtc { |
Artem Titov | 0b44314 | 2019-03-20 11:11:08 +0100 | [diff] [blame] | 21 | namespace webrtc_pc_e2e { |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 22 | |
| 23 | // API is in development. Can be changed/removed without notice. |
| 24 | // Create test fixture to establish test call between Alice and Bob. |
| 25 | // During the test Alice will be caller and Bob will answer the call. |
Artem Titov | 5983585 | 2019-02-27 17:44:13 +0100 | [diff] [blame] | 26 | // |test_case_name| is a name of test case, that will be used for all metrics |
| 27 | // reporting. |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 28 | std::unique_ptr<PeerConnectionE2EQualityTestFixture> |
| 29 | CreatePeerConnectionE2EQualityTestFixture( |
Artem Titov | 5983585 | 2019-02-27 17:44:13 +0100 | [diff] [blame] | 30 | std::string test_case_name, |
Mirko Bonadei | f5d8808 | 2019-02-20 16:16:54 +0100 | [diff] [blame] | 31 | std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer, |
| 32 | std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer); |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 33 | |
Artem Titov | 0b44314 | 2019-03-20 11:11:08 +0100 | [diff] [blame] | 34 | } // namespace webrtc_pc_e2e |
Artem Titov | a6a273d | 2019-02-07 16:43:51 +0100 | [diff] [blame] | 35 | } // namespace webrtc |
| 36 | |
Artem Titov | d57628f | 2019-03-22 12:34:25 +0100 | [diff] [blame^] | 37 | #endif // API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_ |