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