blob: 1e027bf31ad5fb0ebd22c1a19753ab7f2fa4359f [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 */
10
Artem Titovd57628f2019-03-22 12:34:25 +010011#include "api/test/create_peerconnection_quality_test_fixture.h"
Artem Titova6a273d2019-02-07 16:43:51 +010012
Mirko Bonadei317a1f02019-09-17 17:06:18 +020013#include <memory>
Artem Titova6a273d2019-02-07 16:43:51 +010014#include <utility>
15
Artem Titova6a273d2019-02-07 16:43:51 +010016#include "test/pc/e2e/peer_connection_quality_test.h"
17
18namespace webrtc {
Artem Titov0b443142019-03-20 11:11:08 +010019namespace webrtc_pc_e2e {
Artem Titova6a273d2019-02-07 16:43:51 +010020
21std::unique_ptr<PeerConnectionE2EQualityTestFixture>
22CreatePeerConnectionE2EQualityTestFixture(
Artem Titov59835852019-02-27 17:44:13 +010023 std::string test_case_name,
Mirko Bonadeif5d88082019-02-20 16:16:54 +010024 std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer,
25 std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer) {
Mirko Bonadei317a1f02019-09-17 17:06:18 +020026 return std::make_unique<PeerConnectionE2EQualityTest>(
Artem Titov59835852019-02-27 17:44:13 +010027 std::move(test_case_name), std::move(audio_quality_analyzer),
28 std::move(video_quality_analyzer));
Artem Titova6a273d2019-02-07 16:43:51 +010029}
30
Artem Titov0b443142019-03-20 11:11:08 +010031} // namespace webrtc_pc_e2e
Artem Titova6a273d2019-02-07 16:43:51 +010032} // namespace webrtc