blob: 330d86de02aaf35d089acea3812b2eb1c6bd18f4 [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 Titova6a273d2019-02-07 16:43:51 +010028std::unique_ptr<PeerConnectionE2EQualityTestFixture>
29CreatePeerConnectionE2EQualityTestFixture(
Artem Titov59835852019-02-27 17:44:13 +010030 std::string test_case_name,
Mirko Bonadeif5d88082019-02-20 16:16:54 +010031 std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer,
32 std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer);
Artem Titova6a273d2019-02-07 16:43:51 +010033
Artem Titov0b443142019-03-20 11:11:08 +010034} // namespace webrtc_pc_e2e
Artem Titova6a273d2019-02-07 16:43:51 +010035} // namespace webrtc
36
Artem Titovd57628f2019-03-22 12:34:25 +010037#endif // API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_