3 instantiations of TestExecutionContext
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestExecutionContextConverter.cs (1)
26
var context = new
TestExecutionContext
();
Microsoft.TestPlatform.CrossPlatEngine (2)
Client\InProcessProxyexecutionManager.cs (1)
65
var executionContext = new
TestExecutionContext
(
Client\ProxyExecutionManager.cs (1)
249
var executionContext = new
TestExecutionContext
(
28 references to TestExecutionContext
Microsoft.TestPlatform.CommunicationUtilities (9)
ObjectModel\TestRunCriteriaWithSources.cs (2)
31
public TestRunCriteriaWithSources(Dictionary<string, IEnumerable<string>> adapterSourceMap, string? package, string? runSettings,
TestExecutionContext
testExecutionContext)
52
public
TestExecutionContext
TestExecutionContext { get; set; }
ObjectModel\TestRunCriteriaWithTests.cs (2)
33
public TestRunCriteriaWithTests(IEnumerable<TestCase> tests, string? package, string? runSettings,
TestExecutionContext
testExecutionContext)
54
public
TestExecutionContext
TestExecutionContext { get; set; }
Serialization\TestExecutionContextConverter.cs (5)
16
/// JSON converter for <see cref="
TestExecutionContext
"/> that serializes only the [DataMember] properties,
19
internal class TestExecutionContextConverter : JsonConverter<
TestExecutionContext
>
21
public override
TestExecutionContext
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
26
var
context = new TestExecutionContext();
48
public override void Write(Utf8JsonWriter writer,
TestExecutionContext
value, JsonSerializerOptions options)
Microsoft.TestPlatform.CrossPlatEngine (15)
Adapter\FrameworkHandle.cs (2)
29
private readonly
TestExecutionContext
_testExecutionContext;
49
TestExecutionContext
testExecutionContext, IInternalTestRunEventsHandler testRunEventsHandler)
Client\InProcessProxyexecutionManager.cs (1)
65
var
executionContext = new TestExecutionContext(
Client\ProxyExecutionManager.cs (1)
249
var
executionContext = new TestExecutionContext(
Client\TestRunCriteriaExtensions.cs (2)
17
public static TestRunCriteriaWithSources CreateTestRunCriteriaForSources(this TestRunCriteria testRunCriteria, ITestRuntimeProvider? testRuntimeProvider, string? runSettings,
TestExecutionContext
executionContext, IEnumerable<string>? inputPackages)
33
string? runSettings,
TestExecutionContext
executionContext, IEnumerable<string>? inputPackages)
Execution\BaseRunTests.cs (3)
89
TestExecutionContext
testExecutionContext,
125
TestExecutionContext
testExecutionContext,
177
protected
TestExecutionContext
TestExecutionContext { get; }
Execution\ExecutionManager.cs (2)
104
TestExecutionContext
testExecutionContext,
139
TestExecutionContext
testExecutionContext,
Execution\RunTestsWithSources.cs (2)
35
public RunTestsWithSources(IRequestData requestData, Dictionary<string, IEnumerable<string>> adapterSourceMap, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEventsHandler, IInternalTestRunEventsHandler testRunEventsHandler)
51
internal RunTestsWithSources(IRequestData requestData, Dictionary<string, IEnumerable<string>> adapterSourceMap, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEventsHandler, IInternalTestRunEventsHandler testRunEventsHandler, Dictionary<Tuple<Uri, string>, IEnumerable<string>>? executorUriVsSourceList)
Execution\RunTestsWithTests.cs (2)
27
public RunTestsWithTests(IRequestData requestData, IEnumerable<TestCase> testCases, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEventsHandler, IInternalTestRunEventsHandler testRunEventsHandler)
43
internal RunTestsWithTests(IRequestData requestData, IEnumerable<TestCase> testCases, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEventsHandler, IInternalTestRunEventsHandler testRunEventsHandler, Dictionary<Tuple<Uri, string>, List<TestCase>>? executorUriVsTestList)
Microsoft.VisualStudio.TestPlatform.Common (4)
Interfaces\Engine\ClientProtocol\TestExecutionContext.cs (2)
18
/// Initializes a new instance of the <see cref="
TestExecutionContext
"/> class.
27
/// Initializes a new instance of the <see cref="
TestExecutionContext
"/> class.
Interfaces\Engine\TesthostProtocol\IExecutionManager.cs (2)
34
void StartTestRun(Dictionary<string, IEnumerable<string>> adapterSourceMap, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEvents, IInternalTestRunEventsHandler eventHandler);
47
void StartTestRun(IEnumerable<TestCase> tests, string? package, string? runSettings,
TestExecutionContext
testExecutionContext, ITestCaseEventsHandler? testCaseEvents, IInternalTestRunEventsHandler eventHandler);