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