5 instantiations of TestRunStatistics
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\51\TestPlatformJsonContext.TestRunStatistics.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
(),
Serialization\TestRunStatisticsConverter.cs (1)
44
return new
TestRunStatistics
(executedTests, stats);
Microsoft.TestPlatform.CrossPlatEngine (3)
Client\Parallel\ParallelRunDataAggregator.cs (1)
95
var overallRunStats = new
TestRunStatistics
(testOutcomeMap);
Execution\BaseRunTests.cs (1)
605
var runStats = TestRunCache?.TestRunStatistics ?? new
TestRunStatistics
(new Dictionary<TestOutcome, long>());
Execution\TestRunCache.cs (1)
159
var stats = new
TestRunStatistics
(new Dictionary<TestOutcome, long>(_runStats));
33 references to TestRunStatistics
Microsoft.TestPlatform.CommunicationUtilities (23)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
226
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
))
_generated\51\TestPlatformJsonContext.TestRunStatistics.g.cs (20)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
>? _TestRunStatistics;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
> TestRunStatistics
22
get => _TestRunStatistics ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
> Create_TestRunStatistics(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
).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.ObjectModel.Client.
TestRunStatistics
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
)obj).ExecutedTests,
61
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
)obj).ExecutedTests = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
).GetProperty("ExecutedTests", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
),
80
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
)obj).Stats,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
).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),
98
private void TestRunStatisticsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
? value)
108
writer.WriteNumber(PropName_ExecutedTests, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
)value).ExecutedTests);
110
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.
TestRunStatistics
)value).Stats, IDictionaryTestOutcomeInt64);
Serialization\TestRunStatisticsConverter.cs (1)
53
if (value is
TestRunStatistics
concrete && concrete.Stats is not null)
TestPlatformJsonContext.cs (1)
55
[JsonSerializable(typeof(
TestRunStatistics
))]
Microsoft.TestPlatform.CrossPlatEngine (7)
Client\Parallel\ParallelRunDataAggregator.cs (1)
95
var
overallRunStats = new TestRunStatistics(testOutcomeMap);
Execution\BaseRunTests.cs (2)
605
var
runStats = TestRunCache?.TestRunStatistics ?? new TestRunStatistics(new Dictionary<TestOutcome, long>());
658
private void OnCacheHit(
TestRunStatistics
testRunStats, ICollection<TestResult> results, ICollection<TestCase>? inProgressTestCases)
Execution\TestRunCache.cs (3)
106
internal delegate void OnCacheHit(
TestRunStatistics
testRunStats, ICollection<TestResult> results, ICollection<TestCase> inProgressTests);
153
public
TestRunStatistics
TestRunStatistics
159
var
stats = new TestRunStatistics(new Dictionary<TestOutcome, long>(_runStats));
Interfaces\ITestRunCache.cs (1)
22
TestRunStatistics
TestRunStatistics { get; }
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
Client\TestRunStatistics.cs (3)
16
/// Initializes a new instance of the <see cref="
TestRunStatistics
"/> class.
27
/// Initializes a new instance of the <see cref="
TestRunStatistics
"/> class.
36
/// Initializes a new instance of the <see cref="
TestRunStatistics
"/> class.