-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathTestFrameworkBuilderData.cs
More file actions
42 lines (29 loc) · 1.98 KB
/
TestFrameworkBuilderData.cs
File metadata and controls
42 lines (29 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Testing.Internal.Framework;
using Microsoft.Testing.Platform.Extensions;
using Microsoft.Testing.Platform.Messages;
using Microsoft.Testing.Platform.OutputDevice;
using Microsoft.Testing.Platform.Requests;
using Microsoft.Testing.Platform.Services;
using Microsoft.Testing.Platform.TestHost;
namespace Microsoft.Testing.Platform.Hosts;
internal sealed class TestFrameworkBuilderData(ServiceProvider serviceProvider, ITestExecutionRequestFactory testExecutionRequestFactory,
ITestFrameworkInvoker testExecutionRequestInvoker, ITestExecutionFilterFactory testExecutionFilterFactory,
IPlatformOutputDevice? platformOutputDisplayService, IEnumerable<IDataConsumer> serverPerCallConsumers,
TestFrameworkManager testFrameworkManager, TestHostManager testSessionManager, MessageBusProxy messageBusProxy,
bool isForDiscoveryRequest,
bool isJsonRpcProtocol)
{
public ServiceProvider ServiceProvider { get; } = serviceProvider;
public ITestExecutionRequestFactory TestExecutionRequestFactory { get; } = testExecutionRequestFactory;
public ITestFrameworkInvoker TestExecutionRequestInvoker { get; } = testExecutionRequestInvoker;
public ITestExecutionFilterFactory TestExecutionFilterFactory { get; } = testExecutionFilterFactory;
public IPlatformOutputDevice? PlatformOutputDisplayService { get; } = platformOutputDisplayService;
public IEnumerable<IDataConsumer> ServerPerCallConsumers { get; } = serverPerCallConsumers;
public TestFrameworkManager TestFrameworkManager { get; } = testFrameworkManager;
public TestHostManager TestSessionManager { get; } = testSessionManager;
public MessageBusProxy MessageBusProxy { get; } = messageBusProxy;
public bool IsForDiscoveryRequest { get; } = isForDiscoveryRequest;
public bool IsJsonRpcProtocol { get; } = isJsonRpcProtocol;
}