1 implementation of ITestRunStatistics
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Client\TestRunStatistics.cs (1)
13
public class TestRunStatistics :
ITestRunStatistics
46 references to ITestRunStatistics
Microsoft.TestPlatform.CommunicationUtilities (35)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
166
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
))
_generated\36\TestPlatformJsonContext.ITestRunStatistics.g.cs (18)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>? _ITestRunStatistics;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
> ITestRunStatistics
22
get => _ITestRunStatistics ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
> Create_ITestRunStatistics(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
)obj).Stats,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
).GetProperty("Stats", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
),
80
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
)obj).ExecutedTests,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
).GetProperty("ExecutedTests", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
98
private void ITestRunStatisticsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
? value)
109
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
)value).Stats, IDictionaryTestOutcomeInt64);
110
writer.WriteNumber(PropName_ExecutedTests, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
)value).ExecutedTests);
_generated\47\TestPlatformJsonContext.TestRunChangedEventArgs.g.cs (6)
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]),
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),
73
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>
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),
91
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>(options, info1);
143
ParameterType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
),
_generated\48\TestPlatformJsonContext.TestRunCompleteEventArgs.g.cs (3)
53
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
>
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunCompleteEventArgs).GetProperty("TestRunStatistics", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
ITestRunStatistics
), 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.
ITestRunStatistics
>(options, info0);
Serialization\TestRunChangedEventArgsConverter.cs (2)
33
var
stats = DeserializeProperty<
ITestRunStatistics
>(root, "TestRunStatistics", options);
Serialization\TestRunCompleteEventArgsConverter.cs (2)
34
var
stats = DeserializeProperty<
ITestRunStatistics
>(root, "TestRunStatistics", options);
Serialization\TestRunStatisticsConverter.cs (3)
21
internal class TestRunStatisticsConverter : JsonConverter<
ITestRunStatistics
>
24
public override
ITestRunStatistics
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
48
public override void Write(Utf8JsonWriter writer,
ITestRunStatistics
value, JsonSerializerOptions options)
Microsoft.TestPlatform.CrossPlatEngine (5)
Client\Parallel\ParallelRunDataAggregator.cs (5)
26
private readonly List<
ITestRunStatistics
> _testRunStatsList;
42
_testRunStatsList = new List<
ITestRunStatistics
>();
73
public
ITestRunStatistics
GetAggregatedRunStats()
79
foreach (
var
runStats in _testRunStatsList)
138
ITestRunStatistics
? testRunStats,
Microsoft.VisualStudio.TestPlatform.Common (1)
Logging\InternalTestLoggerEvents.cs (1)
288
internal void CompleteTestRun(
ITestRunStatistics
? stats, bool isCanceled, bool isAborted, Exception? error, Collection<AttachmentSet>? attachmentSet, Collection<InvokedDataCollector>? invokedDataCollectors, TimeSpan elapsedTime)
Microsoft.VisualStudio.TestPlatform.ObjectModel (5)
Client\Events\TestRunChangedEventArgs.cs (2)
22
public TestRunChangedEventArgs(
ITestRunStatistics
? stats, IEnumerable<TestResult>? newTestResults, IEnumerable<TestCase>? activeTests)
39
public
ITestRunStatistics
? TestRunStatistics { get; private set; }
Client\Events\TestRunCompleteEventArgs.cs (3)
37
ITestRunStatistics
? stats,
64
ITestRunStatistics
? stats,
87
public
ITestRunStatistics
? TestRunStatistics { get; private set; }