3 instantiations of TestResult
Microsoft.TestPlatform.CommunicationUtilities (3)
_generated\65\TestPlatformJsonContext.TestResult.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase)args[0]),
Serialization\TestResultConverter.cs (1)
28
var testResult = new
TestResult
(testCase);
Serialization\TestResultConverterV2.cs (1)
31
var testResult = new
TestResult
(testCase);
177 references to TestResult
Microsoft.TestPlatform.CommunicationUtilities (98)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (2)
282
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
))
366
if (type == typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>))
_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),
53
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>
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),
71
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>(options, info0);
153
ParameterType = typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>),
_generated\65\TestPlatformJsonContext.TestResult.g.cs (67)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>? _TestResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
> TestResult
22
get => _TestResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
> Create_TestResult(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).TestCase,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("TestCase", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
81
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Attachments,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("Attachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
102
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Outcome,
103
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Outcome = value!,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("Outcome", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
122
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ErrorMessage,
123
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ErrorMessage = value!,
130
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("ErrorMessage", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
142
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ErrorStackTrace,
143
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ErrorStackTrace = value!,
150
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("ErrorStackTrace", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
160
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
162
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).DisplayName,
163
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).DisplayName = value!,
170
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
180
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
182
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Messages,
190
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("Messages", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResultMessage>), global::System.Array.Empty<global::System.Type>(), null),
201
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
203
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ComputerName,
204
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).ComputerName = value!,
211
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("ComputerName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
221
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
223
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Duration,
224
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Duration = value!,
231
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("Duration", InstanceMemberBindingFlags, null, typeof(global::System.TimeSpan), global::System.Array.Empty<global::System.Type>(), null),
241
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
243
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).StartTime,
244
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).StartTime = value!,
251
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("StartTime", InstanceMemberBindingFlags, null, typeof(global::System.DateTimeOffset), global::System.Array.Empty<global::System.Type>(), null),
261
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
263
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).EndTime,
264
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).EndTime = value!,
271
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("EndTime", InstanceMemberBindingFlags, null, typeof(global::System.DateTimeOffset), global::System.Array.Empty<global::System.Type>(), null),
281
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
),
283
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)obj).Properties,
291
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProperty>), global::System.Array.Empty<global::System.Type>(), null),
344
private void TestResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
? value)
355
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).TestCase, TestCase);
357
CollectionAttachmentSetSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).Attachments);
359
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).Outcome, TestOutcome);
360
writer.WriteString(PropName_ErrorMessage, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).ErrorMessage);
361
writer.WriteString(PropName_ErrorStackTrace, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).ErrorStackTrace);
362
writer.WriteString(PropName_DisplayName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).DisplayName);
364
CollectionTestResultMessageSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).Messages);
365
writer.WriteString(PropName_ComputerName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).ComputerName);
367
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).Duration, TimeSpan);
368
writer.WriteString(PropName_StartTime, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).StartTime);
369
writer.WriteString(PropName_EndTime, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).EndTime);
371
IEnumerableTestPropertySerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
)value).Properties);
_generated\86\TestPlatformJsonContext.IEnumerableTestResult.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>? _IEnumerableTestResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>> IEnumerableTestResult
22
get => _IEnumerableTestResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>> Create_IEnumerableTestResult(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>>
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>(options, info);
47
private void IEnumerableTestResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
>? value)
57
foreach (global::Microsoft.VisualStudio.TestPlatform.ObjectModel.
TestResult
element in value)
Serialization\TestResultConverter.cs (4)
18
internal class TestResultConverter : JsonConverter<
TestResult
>
21
public override
TestResult
Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
28
var
testResult = new TestResult(testCase);
113
public override void Write(Utf8JsonWriter writer,
TestResult
value, JsonSerializerOptions options)
Serialization\TestResultConverterV2.cs (4)
20
internal class TestResultConverterV2 : JsonConverter<
TestResult
>
23
public override
TestResult
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
31
var
testResult = new TestResult(testCase);
105
public override void Write(Utf8JsonWriter writer,
TestResult
value, JsonSerializerOptions options)
Serialization\TestRunChangedEventArgsConverter.cs (1)
34
var newTestResults = DeserializeProperty<IEnumerable<
TestResult
>>(root, "NewTestResults", options);
TestPlatformJsonContext.cs (2)
51
[JsonSerializable(typeof(
TestResult
))]
59
[JsonSerializable(typeof(IEnumerable<
TestResult
>))]
Microsoft.TestPlatform.CrossPlatEngine (32)
Adapter\TestExecutionRecorder.cs (1)
94
public void RecordResult(
TestResult
testResult)
Client\TestLoggerManager.cs (1)
218
foreach (
TestResult
result in e.NewTestResults!)
DataCollection\InProcDataCollectionExtensionManager.cs (1)
293
private void SetInProcDataCollectionDataInTestResult(
TestResult
testResult)
EventHandlers\PathConverter.cs (3)
136
private IEnumerable<
TestResult
> UpdateTestResults(IEnumerable<
TestResult
> testResults, PathConversionDirection updateDirection)
139
foreach (
var
tr in testResults)
EventHandlers\TestCaseEventsHandler.cs (1)
50
public void SendTestResult(
TestResult
result)
Execution\BaseRunTests.cs (10)
598
var lastChunkTestResults = TestRunCache?.GetLastChunk() ?? new List<
TestResult
>();
650
private void OnCacheHit(TestRunStatistics testRunStats, ICollection<
TestResult
> results, ICollection<TestCase>? inProgressTestCases)
689
ICollection<
TestResult
> testResults,
691
out ICollection<
TestResult
> updatedTestResults,
700
private ICollection<
TestResult
> UpdateTestResults(ICollection<
TestResult
> testResults, string? package)
702
ICollection<
TestResult
> updatedTestResults = new List<
TestResult
>();
704
foreach (
var
testResult in testResults)
706
var
updatedTestResult = _dataSerializer.Clone(testResult);
Execution\MSTestV1TelemetryHelper.cs (3)
27
internal static void AddTelemetry(
TestResult
testResult, IDictionary<string, int> adapterTelemetry)
40
s_testTypeProperty ??= TestProperty.Register("TestType", "TestType", typeof(Guid), typeof(
TestResult
));
42
s_extensionIdProperty ??= TestProperty.Register("ExtensionId", "ExtensionId", typeof(string), typeof(
TestResult
));
Execution\TestRunCache.cs (9)
68
private ICollection<
TestResult
> _testResults;
97
_testResults = new Collection<
TestResult
>();
107
internal delegate void OnCacheHit(TestRunStatistics testRunStats, ICollection<
TestResult
> results, ICollection<TestCase> inProgressTests);
112
public ICollection<
TestResult
> TestResults
200
public void OnNewTestResult(
TestResult
testResult)
269
public ICollection<
TestResult
> GetLastChunk()
275
_testResults = new Collection<
TestResult
>();
340
_testResults = new Collection<
TestResult
>();
365
private void RemoveInProgress(
TestResult
result)
Interfaces\ITestRunCache.cs (3)
17
ICollection<
TestResult
> TestResults { get; }
28
void OnNewTestResult(
TestResult
testResult);
32
ICollection<
TestResult
> GetLastChunk();
Microsoft.VisualStudio.TestPlatform.Common (3)
ExtensionDecorators\SerialTestRunDecorator.cs (1)
130
public void RecordResult(
TestResult
testResult)
ExtensionDecorators\SerialTestRunDecoratorFrameworkHandle.cs (1)
40
public void RecordResult(
TestResult
testResult)
Interfaces\Engine\ITestCaseEventsHandler.cs (1)
30
void SendTestResult(
TestResult
result);
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (5)
Constants.cs (3)
62
public static readonly TestProperty ExecutionIdProperty = TestProperty.Register("ExecutionId", ExecutionIdPropertyIdentifier, typeof(Guid), TestPropertyAttributes.Hidden, typeof(
TestResult
));
64
public static readonly TestProperty ParentExecIdProperty = TestProperty.Register("ParentExecId", ParentExecutionIdPropertyIdentifier, typeof(Guid), TestPropertyAttributes.Hidden, typeof(
TestResult
));
66
public static readonly TestProperty TestTypeProperty = TestProperty.Register("TestType", TestTypePropertyIdentifier, typeof(Guid), TestPropertyAttributes.Hidden, typeof(
TestResult
));
HtmlLogger.cs (2)
393
private static Guid GetParentExecutionId(TestPlatform.ObjectModel.
TestResult
testResult)
407
private static Guid GetExecutionId(TestPlatform.ObjectModel.
TestResult
testResult)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (9)
TrxLogger.cs (3)
496
private void HandleSkippedTest(ObjectModel.
TestResult
rsTestResult)
673
private ITestElement GetOrCreateTestElement(Guid executionId, Guid parentExecutionId, TestType testType, ITestElement? parentTestElement, ObjectModel.
TestResult
rockSteadyTestResult)
733
ITestElement testElement, ITestElement? parentTestElement, ITestResult? parentTestResult, ObjectModel.
TestResult
rocksteadyTestResult,
Utility\Converter.cs (6)
106
VisualStudio.TestPlatform.ObjectModel.
TestResult
rockSteadyTestResult)
233
private static void UpdateResultMessages(TrxObjectModel.TestResult unitTestResult, VisualStudio.TestPlatform.ObjectModel.
TestResult
testResult)
317
public Guid GetParentExecutionId(VisualStudio.TestPlatform.ObjectModel.
TestResult
testResult)
332
public static Guid GetExecutionId(VisualStudio.TestPlatform.ObjectModel.
TestResult
testResult)
350
public static TestType GetTestType(VisualStudio.TestPlatform.ObjectModel.
TestResult
testResult)
372
private void UpdateTestResultAttachments(VisualStudio.TestPlatform.ObjectModel.
TestResult
rockSteadyTestResult, TrxObjectModel.TestResult testResult, TestRun testRun, string trxFileDirectory, bool addAttachments)
Microsoft.VisualStudio.TestPlatform.ObjectModel (18)
Adapter\Interfaces\ITestExecutionRecorder.cs (1)
21
void RecordResult(
TestResult
testResult);
Client\Events\TestRunChangedEventArgs.cs (2)
22
public TestRunChangedEventArgs(ITestRunStatistics? stats, IEnumerable<
TestResult
>? newTestResults, IEnumerable<TestCase>? activeTests)
33
public IEnumerable<
TestResult
>? NewTestResults { get; private set; }
DataCollector\Events\TestCaseEvents.cs (4)
351
public TestResultEventArgs(
TestResult
testResult)
368
TestResult
testResult)
404
TestResult
testResult)
415
public
TestResult
TestResult
Logging\Events\TestResultEventArgs.cs (2)
19
public TestResultEventArgs(
TestResult
result)
27
public
TestResult
Result { get; private set; }
TestResult.cs (9)
23
/// Initializes a new instance of the <see cref="
TestResult
"/> class.
289
public static readonly TestProperty DisplayName = TestProperty.Register("TestResult.DisplayName", "TestResult Display Name", typeof(string), TestPropertyAttributes.Hidden, typeof(
TestResult
));
290
public static readonly TestProperty ComputerName = TestProperty.Register("TestResult.ComputerName", "Computer Name", typeof(string), TestPropertyAttributes.None, typeof(
TestResult
));
291
public static readonly TestProperty Outcome = TestProperty.Register("TestResult.Outcome", "Outcome", string.Empty, string.Empty, typeof(TestOutcome), ValidateOutcome, TestPropertyAttributes.None, typeof(
TestResult
));
292
public static readonly TestProperty Duration = TestProperty.Register("TestResult.Duration", "Duration", typeof(TimeSpan), typeof(
TestResult
));
293
public static readonly TestProperty StartTime = TestProperty.Register("TestResult.StartTime", "Start Time", typeof(DateTimeOffset), typeof(
TestResult
));
294
public static readonly TestProperty EndTime = TestProperty.Register("TestResult.EndTime", "End Time", typeof(DateTimeOffset), typeof(
TestResult
));
295
public static readonly TestProperty ErrorMessage = TestProperty.Register("TestResult.ErrorMessage", "Error Message", typeof(string), typeof(
TestResult
));
296
public static readonly TestProperty ErrorStackTrace = TestProperty.Register("TestResult.ErrorStackTrace", "Error Stack Trace", typeof(string), typeof(
TestResult
));
vstest.console (6)
Internal\ConsoleLogger.cs (4)
293
private static void DisplayFullInformation(
TestResult
result)
380
private static Guid GetParentExecutionId(
TestResult
testResult)
394
private static Guid GetExecutionId(
TestResult
testResult)
906
public MinimalTestResult(
TestResult
testResult)
Internal\MSBuildLogger.cs (2)
171
var
result = e.Result;
317
private static void AppendOutputs(
TestResult
result, StringBuilder stringBuilder)
vstest.console.arm64 (6)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (4)
293
private static void DisplayFullInformation(
TestResult
result)
380
private static Guid GetParentExecutionId(
TestResult
testResult)
394
private static Guid GetExecutionId(
TestResult
testResult)
906
public MinimalTestResult(
TestResult
testResult)
src\vstest\src\vstest.console\Internal\MSBuildLogger.cs (2)
171
var
result = e.Result;
317
private static void AppendOutputs(
TestResult
result, StringBuilder stringBuilder)