4 instantiations of TestProcessStartInfo
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\62\TestPlatformJsonContext.TestProcessStartInfo.g.cs (1)
31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo(),
Microsoft.TestPlatform.CrossPlatEngine (1)
Adapter\FrameworkHandle.cs (1)
88var processInfo = new TestProcessStartInfo
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DefaultTestHostManager.cs (1)
244return new TestProcessStartInfo
Hosting\DotnetTestHostManager.cs (1)
240var startInfo = new TestProcessStartInfo();
108 references to TestProcessStartInfo
Microsoft.TestPlatform.CommunicationUtilities (64)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (2)
82if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)) 270if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo))
_generated\15\TestPlatformJsonContext.PayloadedMessageTestProcessStartInfo.g.cs (20)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>>? _PayloadedMessageTestProcessStartInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>> PayloadedMessageTestProcessStartInfo 22get => _PayloadedMessageTestProcessStartInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>> Create_PayloadedMessageTestProcessStartInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>> 31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>(), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>).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.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo> 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)obj).Payload, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)obj).Payload = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>).GetProperty("Payload", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>(options, info0); 78private void PayloadedMessageTestProcessStartInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>? value) 89TestProcessStartInfoSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)value).Payload);
_generated\62\TestPlatformJsonContext.TestProcessStartInfo.g.cs (36)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>? _TestProcessStartInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo> TestProcessStartInfo 22get => _TestProcessStartInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo> Create_TestProcessStartInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).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.TestProcessStartInfo>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).FileName, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).FileName = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("FileName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), 80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).Arguments, 81Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).Arguments = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), 100Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).WorkingDirectory, 101Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).WorkingDirectory = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), 120Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).EnvironmentVariables, 121Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).EnvironmentVariables = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo), 140Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).CustomProperties, 141Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)obj).CustomProperties = value!, 148AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("CustomProperties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 158private void TestProcessStartInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo? value) 168writer.WriteString(PropName_FileName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)value).FileName); 169writer.WriteString(PropName_Arguments, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)value).Arguments); 170writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)value).WorkingDirectory); 172IDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)value).EnvironmentVariables); 174IDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo)value).CustomProperties);
EventHandlers\TestRunEventsHandler.cs (1)
95public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo? testProcessStartInfo)
Interfaces\ITestRequestHandler.cs (1)
89int LaunchProcessWithDebuggerAttached(TestProcessStartInfo? testProcessStartInfo);
TestPlatformJsonContext.cs (2)
72[JsonSerializable(typeof(TestProcessStartInfo))] 123[JsonSerializable(typeof(JsonDataSerializer.PayloadedMessage<TestProcessStartInfo>))]
TestRequestSender.cs (2)
567var testProcessStartInfo = _dataSerializer.DeserializePayload<TestProcessStartInfo>(message);
Microsoft.TestPlatform.CrossPlatEngine (19)
Adapter\FrameworkHandle.cs (1)
88var processInfo = new TestProcessStartInfo
Client\Parallel\ParallelRunEventsHandler.cs (1)
190public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo)
Client\ProxyDiscoveryManager.cs (2)
346public virtual TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo)
Client\ProxyExecutionManager.cs (3)
398public virtual int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo) 457public virtual TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo)
Client\ProxyExecutionManagerWithDataCollection.cs (3)
159public override int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo) 182public override TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo)
Client\ProxyOperationManager.cs (5)
230var testHostStartInfo = UpdateTestProcessStartInfo( 373/// <see cref="TestProcessStartInfo"/>. For example, data collectors need additional 380/// The <see cref="TestProcessStartInfo"/>. 382public virtual TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo)
Client\ProxyOperationManagerWithDataCollection.cs (2)
86public override TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo)
DataCollection\DataCollectionTestRunEventsHandler.cs (1)
180public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo)
EventHandlers\TestRequestHandler.cs (1)
268public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo? testProcessStartInfo)
Microsoft.TestPlatform.TestHostRuntimeProvider (10)
Hosting\DefaultTestHostManager.cs (3)
167public Task<bool> LaunchTestHostAsync(TestProcessStartInfo testHostStartInfo, CancellationToken cancellationToken) 176public virtual TestProcessStartInfo GetTestHostProcessStartInfo( 526private bool LaunchHost(TestProcessStartInfo testHostStartInfo, CancellationToken cancellationToken)
Hosting\DotnetTestHostManager.cs (7)
223public Task<bool> LaunchTestHostAsync(TestProcessStartInfo testHostStartInfo, CancellationToken cancellationToken) 232public virtual TestProcessStartInfo GetTestHostProcessStartInfo( 240var startInfo = new TestProcessStartInfo(); 781/// <paramref name="startInfo"/>'s <see cref="TestProcessStartInfo.EnvironmentVariables"/>, typically coming from 787private static bool TryGetTestHostEnvironmentVariable(TestProcessStartInfo startInfo, string name, out string? value) 844private void SetDotnetRootForArchitecture(TestProcessStartInfo startInfo, string dotnetRootPath, string dotnetRootArchitecture) 953private bool LaunchHost(TestProcessStartInfo testHostStartInfo, CancellationToken cancellationToken)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleRequestSender.cs (2)
1429var testProcessStartInfo = _dataSerializer.DeserializePayload<TestProcessStartInfo>(message);
Microsoft.VisualStudio.TestPlatform.Client (5)
DesignMode\DesignModeClient.cs (1)
318public int LaunchCustomHost(TestProcessStartInfo testProcessStartInfo, CancellationToken cancellationToken)
DesignMode\DesignModeTestHostLauncher.cs (2)
51public int LaunchTestHost(TestProcessStartInfo defaultTestHostStartInfo) 57public int LaunchTestHost(TestProcessStartInfo defaultTestHostStartInfo, CancellationToken cancellationToken)
DesignMode\IDesignModeClient.cs (1)
32int LaunchCustomHost(TestProcessStartInfo defaultTestHostStartInfo, CancellationToken cancellationToken);
Execution\TestRunRequest.cs (1)
643public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo)
Microsoft.VisualStudio.TestPlatform.ObjectModel (8)
Client\Interfaces\IBaseProxy.cs (2)
18TestProcessStartInfo UpdateTestProcessStartInfo(TestProcessStartInfo testProcessStartInfo);
Client\Interfaces\IInternalTestRunEventsHandler.cs (1)
37int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo);
Client\Interfaces\ITestHostLauncher.cs (2)
23int LaunchTestHost(TestProcessStartInfo defaultTestHostStartInfo); 31int LaunchTestHost(TestProcessStartInfo defaultTestHostStartInfo, CancellationToken cancellationToken);
Client\Interfaces\ITestRunEventsHandler.cs (1)
36int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo);
Host\ITestRunTimeProvider.cs (2)
74Task<bool> LaunchTestHostAsync(TestProcessStartInfo testHostStartInfo, CancellationToken cancellationToken); 83TestProcessStartInfo GetTestHostProcessStartInfo(IEnumerable<string> sources, IDictionary<string, string?>? environmentVariables, TestRunnerConnectionInfo connectionInfo);