blob: 2d9d0821fcfc20e426b0e9f8327fe46579a45e8f [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 Titov1ff3c582020-07-01 15:20:37 +020016#include "api/test/time_controller.h"
Artem Titova6a273d2019-02-07 16:43:51 +010017#include "test/pc/e2e/peer_connection_quality_test.h"
18
19namespace webrtc {
Artem Titov0b443142019-03-20 11:11:08 +010020namespace webrtc_pc_e2e {
Artem Titova6a273d2019-02-07 16:43:51 +010021
22std::unique_ptr<PeerConnectionE2EQualityTestFixture>
23CreatePeerConnectionE2EQualityTestFixture(
Artem Titov59835852019-02-27 17:44:13 +010024 std::string test_case_name,
Artem Titov0ef4a242020-07-06 10:57:28 +020025 TimeController& time_controller,
Artem Titov1ff3c582020-07-01 15:20:37 +020026 std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer,
27 std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer) {
28 return std::make_unique<PeerConnectionE2EQualityTest>(
Artem Titov0ef4a242020-07-06 10:57:28 +020029 std::move(test_case_name), time_controller,
30 std::move(audio_quality_analyzer), std::move(video_quality_analyzer));
Artem Titov1ff3c582020-07-01 15:20:37 +020031}
32
Artem Titov0b443142019-03-20 11:11:08 +010033} // namespace webrtc_pc_e2e
Artem Titova6a273d2019-02-07 16:43:51 +010034} // namespace webrtc