4 instantiations of TestRunChangedEventArgs
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\47\TestPlatformJsonContext.TestRunChangedEventArgs.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestRunStatistics)args[0], (global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult>)args[1], (global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase>)args[2]),
Serialization\TestRunChangedEventArgsConverter.cs (1)
37return new TestRunChangedEventArgs(stats, newTestResults, activeTests);
Microsoft.TestPlatform.CrossPlatEngine (2)
Execution\BaseRunTests.cs (2)
616var testRunChangedEventArgs = new TestRunChangedEventArgs(runStats, lastChunkTestResults, []); 659var testRunChangedEventArgs = new TestRunChangedEventArgs(testRunStats, results, inProgressTestCases);
103 references to TestRunChangedEventArgs
Microsoft.TestPlatform.CommunicationUtilities (65)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (2)
70if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)) 210if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs))
_generated\12\TestPlatformJsonContext.PayloadedMessageTestRunChangedEventArgs.g.cs (20)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>>? _PayloadedMessageTestRunChangedEventArgs; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>> PayloadedMessageTestRunChangedEventArgs 22get => _PayloadedMessageTestRunChangedEventArgs ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>> Create_PayloadedMessageTestRunChangedEventArgs(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>> 31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>).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.Client.TestRunChangedEventArgs>>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)obj).Payload, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)obj).Payload = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>).GetProperty("Payload", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(options, info0); 78private void PayloadedMessageTestRunChangedEventArgsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>? value) 89TestRunChangedEventArgsSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)value).Payload);
_generated\27\TestPlatformJsonContext.TestRunCompletePayload.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.TestRunCompletePayload).GetProperty("LastRunTests", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(options, info1);
_generated\28\TestPlatformJsonContext.TestRunStatsPayload.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.TestRunStatsPayload).GetProperty("TestRunChangedArgs", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(options, info0);
_generated\47\TestPlatformJsonContext.TestRunChangedEventArgs.g.cs (23)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>? _TestRunChangedEventArgs; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> TestRunChangedEventArgs 22get => _TestRunChangedEventArgs ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> Create_TestRunChangedEventArgs(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestRunStatistics), typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult>), typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase>)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)obj).NewTestResults, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs).GetProperty("NewTestResults", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult>), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), 80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)obj).TestRunStatistics, 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs).GetProperty("TestRunStatistics", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestRunStatistics), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs), 100Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)obj).ActiveTests, 108AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs).GetProperty("ActiveTests", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase>), global::System.Array.Empty<global::System.Type>(), null), 118private void TestRunChangedEventArgsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs? value) 129IEnumerableTestResultSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)value).NewTestResults); 131ITestRunStatisticsSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)value).TestRunStatistics); 133IEnumerableTestCaseSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunChangedEventArgs)value).ActiveTests);
EventHandlers\TestRunEventsHandler.cs (2)
35public void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs) 48public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris)
Interfaces\ITestRequestHandler.cs (2)
58void SendTestRunStatistics(TestRunChangedEventArgs? testRunChangedArgs); 74void SendExecutionComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris);
Messages\TestRunCompletePayload.cs (1)
24public TestRunChangedEventArgs? LastRunTests { get; set; }
Messages\TestRunStatsPayload.cs (1)
19public TestRunChangedEventArgs? TestRunChangedArgs { get; set; }
Serialization\TestRunChangedEventArgsConverter.cs (4)
17/// JSON converter for <see cref="TestRunChangedEventArgs"/> that handles the constructor 20internal class TestRunChangedEventArgsConverter : JsonConverter<TestRunChangedEventArgs> 23public override TestRunChangedEventArgs? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 41public override void Write(Utf8JsonWriter writer, TestRunChangedEventArgs value, JsonSerializerOptions options)
TestPlatformJsonContext.cs (2)
68[JsonSerializable(typeof(TestRunChangedEventArgs))] 120[JsonSerializable(typeof(JsonDataSerializer.PayloadedMessage<TestRunChangedEventArgs>))]
TestRequestSender.cs (2)
546var testRunChangedArgs = _dataSerializer.DeserializePayload<TestRunChangedEventArgs>(message);
Microsoft.TestPlatform.CrossPlatEngine (21)
Client\Parallel\ParallelProxyExecutionManager.cs (1)
146TestRunChangedEventArgs? lastChunkArgs,
Client\Parallel\ParallelRunEventsHandler.cs (3)
65TestRunChangedEventArgs? lastChunkArgs, 108TestRunChangedEventArgs? lastChunkArgs, 180public void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs)
Client\ProxyExecutionManager.cs (2)
420public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris) 426public void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs)
Client\TestLoggerManager.cs (1)
210public void HandleTestRunStatsChange(TestRunChangedEventArgs e)
DataCollection\DataCollectionTestRunEventsHandler.cs (2)
143public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris) 169public void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs)
DataCollection\ParallelDataCollectionEventsHandler.cs (1)
53TestRunChangedEventArgs? lastChunkArgs,
EventHandlers\IPathConverter.cs (2)
25TestRunChangedEventArgs UpdateTestRunChangedEventArgs(TestRunChangedEventArgs? testRunChangedArgs, PathConversionDirection updateDirection);
EventHandlers\NullPathConverter.cs (2)
36TestRunChangedEventArgs IPathConverter.UpdateTestRunChangedEventArgs(TestRunChangedEventArgs? testRunChangedArgs, PathConversionDirection _) => testRunChangedArgs!;
EventHandlers\PathConverter.cs (2)
100public TestRunChangedEventArgs UpdateTestRunChangedEventArgs(TestRunChangedEventArgs? testRunChangedArgs, PathConversionDirection updateDirection)
EventHandlers\TestRequestHandler.cs (3)
193public void SendTestRunStatistics(TestRunChangedEventArgs? testRunChangedArgs) 195var updatedTestRunChangedEventArgs = _pathConverter.UpdateTestRunChangedEventArgs(testRunChangedArgs, PathConversionDirection.Send); 213TestRunChangedEventArgs? lastChunkArgs,
Execution\BaseRunTests.cs (2)
616var testRunChangedEventArgs = new TestRunChangedEventArgs(runStats, lastChunkTestResults, []); 659var testRunChangedEventArgs = new TestRunChangedEventArgs(testRunStats, results, inProgressTestCases);
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (4)
VsTestConsoleRequestSender.cs (4)
1152var testRunChangedArgs = _dataSerializer 1153.DeserializePayload<TestRunChangedEventArgs>( 1239var testRunChangedArgs = _dataSerializer 1240.DeserializePayload<TestRunChangedEventArgs>(message);
Microsoft.VisualStudio.TestPlatform.Client (3)
Execution\TestRunRequest.cs (3)
283public event EventHandler<TestRunChangedEventArgs>? OnRunStatsChange; 356public void HandleTestRunComplete(TestRunCompleteEventArgs runCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris) 461public virtual void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs)
Microsoft.VisualStudio.TestPlatform.Common (2)
Interfaces\Engine\ClientProtocol\IParallelProxyExecutionManager.cs (1)
28TestRunChangedEventArgs? lastChunkArgs,
Interfaces\Engine\ClientProtocol\ITestLoggerManager.cs (1)
45void HandleTestRunStatsChange(TestRunChangedEventArgs e);
Microsoft.VisualStudio.TestPlatform.ObjectModel (6)
Client\Events\TestRunChangedEventArgs.cs (1)
17/// Initializes a new instance of the <see cref="TestRunChangedEventArgs"/> class.
Client\Interfaces\IInternalTestRunEventsHandler.cs (2)
23void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris); 29void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs);
Client\Interfaces\ITestRunEventsHandler.cs (2)
22void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris); 28void HandleTestRunStatsChange(TestRunChangedEventArgs? testRunChangedArgs);
Client\Interfaces\ITestRunRequest.cs (1)
47event EventHandler<TestRunChangedEventArgs> OnRunStatsChange;
vstest.console (1)
HandlerToEventsRegistrarAdapter.cs (1)
68private readonly EventHandler<TestRunChangedEventArgs> _handleTestRunStatsChange;
vstest.console.arm64 (1)
src\vstest\src\vstest.console\HandlerToEventsRegistrarAdapter.cs (1)
68private readonly EventHandler<TestRunChangedEventArgs> _handleTestRunStatsChange;