blob: 9d9d0ef5e4aa97a758e9a65f0785f893e63df7c4 [file] [log] [blame]
Artem Titova6a273d2019-02-07 16:43:51 +01001/*
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 Titovd57628f2019-03-22 12:34:25 +010010#ifndef API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
11#define API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
Artem Titova6a273d2019-02-07 16:43:51 +010012
13#include <memory>
Artem Titovd57628f2019-03-22 12:34:25 +010014#include <string>
Artem Titova6a273d2019-02-07 16:43:51 +010015
Artem Titovd57628f2019-03-22 12:34:25 +010016#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 Titova6a273d2019-02-07 16:43:51 +010019
20namespace webrtc {
Artem Titov0b443142019-03-20 11:11:08 +010021namespace webrtc_pc_e2e {
Artem Titova6a273d2019-02-07 16:43:51 +010022
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 Titov59835852019-02-27 17:44:13 +010026// |test_case_name| is a name of test case, that will be used for all metrics
27// reporting.
Artem Titov65dd2912020-05-27 13:55:33 +020028// Returns a non-null PeerConnectionE2EQualityTestFixture instance.
Artem Titova6a273d2019-02-07 16:43:51 +010029std::unique_ptr<PeerConnectionE2EQualityTestFixture>
30CreatePeerConnectionE2EQualityTestFixture(
Artem Titov59835852019-02-27 17:44:13 +010031 std::string test_case_name,
Mirko Bonadeif5d88082019-02-20 16:16:54 +010032 std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer,
33 std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer);
Artem Titova6a273d2019-02-07 16:43:51 +010034
Artem Titov0b443142019-03-20 11:11:08 +010035} // namespace webrtc_pc_e2e
Artem Titova6a273d2019-02-07 16:43:51 +010036} // namespace webrtc
37
Artem Titovd57628f2019-03-22 12:34:25 +010038#endif // API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_