13 instantiations of TestRunRequestPayload
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\42\TestPlatformJsonContext.TestRunRequestPayload.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
(),
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (8)
VsTestConsoleRequestSender.cs (8)
214
new
TestRunRequestPayload
()
239
new
TestRunRequestPayload
()
264
new
TestRunRequestPayload
()
289
new
TestRunRequestPayload
()
315
new
TestRunRequestPayload
()
342
new
TestRunRequestPayload
()
369
new
TestRunRequestPayload
396
new
TestRunRequestPayload
()
vstest.console (2)
Processors\RunSpecificTestsArgumentProcessor.cs (1)
253
var runRequestPayload = new
TestRunRequestPayload
() { TestCases = _selectedTestCases.ToList(), RunSettings = _effectiveRunSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
Processors\RunTestsArgumentProcessor.cs (1)
185
var runRequestPayload = new
TestRunRequestPayload
() { Sources = _commandLineOptions.Sources.ToList(), RunSettings = runSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
vstest.console.arm64 (2)
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (1)
253
var runRequestPayload = new
TestRunRequestPayload
() { TestCases = _selectedTestCases.ToList(), RunSettings = _effectiveRunSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
src\vstest\src\vstest.console\Processors\RunTestsArgumentProcessor.cs (1)
185
var runRequestPayload = new
TestRunRequestPayload
() { Sources = _commandLineOptions.Sources.ToList(), RunSettings = runSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
64 references to TestRunRequestPayload
Microsoft.TestPlatform.CommunicationUtilities (48)
_generated\104\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
190
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
))
_generated\42\TestPlatformJsonContext.TestRunRequestPayload.g.cs (46)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
>? _TestRunRequestPayload;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
> TestRunRequestPayload
22
get => _TestRunRequestPayload ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
> Create_TestRunRequestPayload(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).Sources,
61
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).Sources = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("Sources", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<string>), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
80
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestCases,
81
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestCases = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("TestCases", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase>), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
100
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).RunSettings,
101
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).RunSettings = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("RunSettings", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
120
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).KeepAlive,
121
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).KeepAlive = value!,
128
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("KeepAlive", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
138
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
140
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).DebuggingEnabled,
141
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).DebuggingEnabled = value!,
148
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("DebuggingEnabled", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
158
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
160
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestPlatformOptions,
161
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestPlatformOptions = value!,
168
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("TestPlatformOptions", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestPlatformOptions), global::System.Array.Empty<global::System.Type>(), null),
178
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
),
180
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestSessionInfo,
181
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)obj).TestSessionInfo = value!,
188
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null),
198
private void TestRunRequestPayloadSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
? value)
209
ListStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).Sources);
211
ListTestCaseSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).TestCases);
212
writer.WriteString(PropName_RunSettings, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).RunSettings);
213
writer.WriteBoolean(PropName_KeepAlive, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).KeepAlive);
214
writer.WriteBoolean(PropName_DebuggingEnabled, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).DebuggingEnabled);
216
TestPlatformOptionsSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).TestPlatformOptions);
218
TestSessionInfoSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunRequestPayload
)value).TestSessionInfo);
TestPlatformJsonContext.cs (1)
104
[JsonSerializable(typeof(
TestRunRequestPayload
))]
Microsoft.VisualStudio.TestPlatform.Client (6)
DesignMode\DesignModeClient.cs (5)
201
var
testRunPayload = _communicationManager.DeserializePayload<
TestRunRequestPayload
>(message);
209
var
testRunPayload = _communicationManager.DeserializePayload<
TestRunRequestPayload
>(message);
453
private void StartTestRun(
TestRunRequestPayload
? testRunPayload, ITestRequestManager testRequestManager, bool shouldLaunchTesthost)
RequestHelper\ITestRequestManager.cs (1)
55
TestRunRequestPayload
testRunRequestPayLoad,
vstest.console (5)
Processors\RunSpecificTestsArgumentProcessor.cs (1)
253
var
runRequestPayload = new TestRunRequestPayload() { TestCases = _selectedTestCases.ToList(), RunSettings = _effectiveRunSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
Processors\RunTestsArgumentProcessor.cs (1)
185
var
runRequestPayload = new TestRunRequestPayload() { Sources = _commandLineOptions.Sources.ToList(), RunSettings = runSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
TestPlatformHelpers\LazyTestRequestManager.cs (1)
41
public void RunTests(
TestRunRequestPayload
testRunRequestPayLoad, ITestHostLauncher3? customTestHostLauncher, ITestRunEventsRegistrar testRunEventsRegistrar, ProtocolConfig protocolConfig)
TestPlatformHelpers\TestRequestManager.cs (2)
312
TestRunRequestPayload
testRunRequestPayload,
1428
private static List<string> GetSources(
TestRunRequestPayload
testRunRequestPayload)
vstest.console.arm64 (5)
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (1)
253
var
runRequestPayload = new TestRunRequestPayload() { TestCases = _selectedTestCases.ToList(), RunSettings = _effectiveRunSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
src\vstest\src\vstest.console\Processors\RunTestsArgumentProcessor.cs (1)
185
var
runRequestPayload = new TestRunRequestPayload() { Sources = _commandLineOptions.Sources.ToList(), RunSettings = runSettings, KeepAlive = keepAlive, TestPlatformOptions = new TestPlatformOptions() { TestCaseFilter = _commandLineOptions.TestCaseFilterValue } };
src\vstest\src\vstest.console\TestPlatformHelpers\LazyTestRequestManager.cs (1)
41
public void RunTests(
TestRunRequestPayload
testRunRequestPayLoad, ITestHostLauncher3? customTestHostLauncher, ITestRunEventsRegistrar testRunEventsRegistrar, ProtocolConfig protocolConfig)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (2)
312
TestRunRequestPayload
testRunRequestPayload,
1428
private static List<string> GetSources(
TestRunRequestPayload
testRunRequestPayload)