4 writes to Duration
Microsoft.TestPlatform.CommunicationUtilities (3)
_generated\65\TestPlatformJsonContext.TestResult.g.cs (1)
224Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult)obj).Duration = value!,
Serialization\TestResultConverter.cs (1)
92testResult.Duration = TimeSpan.Parse(propertyData!, CultureInfo.InvariantCulture); break;
Serialization\TestResultConverterV2.cs (1)
69testResult.Duration = TimeSpan.Parse(duration.GetString()!, CultureInfo.InvariantCulture);
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestResult.cs (1)
205Duration = (TimeSpan)value!; return;
16 references to Duration
Microsoft.TestPlatform.CommunicationUtilities (4)
_generated\65\TestPlatformJsonContext.TestResult.g.cs (2)
223Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult)obj).Duration, 367global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult)value).Duration, TimeSpan);
Serialization\TestResultConverter.cs (1)
164writer.WriteStringValue(value.Duration.ToString());
Serialization\TestResultConverterV2.cs (1)
128writer.WriteString("Duration", value.Duration.ToString());
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
HtmlLogger.cs (1)
212Duration = GetFormattedDurationString(e.Result.Duration),
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Utility\Converter.cs (2)
123if (rockSteadyTestResult.Duration != default) 124testResult.Duration = rockSteadyTestResult.Duration;
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestResult.cs (1)
182"TestResult.Duration" => Duration,
vstest.console (4)
Internal\ConsoleLogger.cs (3)
510string? formattedDuration = GetFormattedDurationString(e.Result.Duration); 922if (EndTime - StartTime < testResult.Duration) 924StartTime = EndTime - testResult.Duration;
Internal\MSBuildLogger.cs (1)
179formattedError.Append(GetFormattedDurationString(e.Result.Duration));
vstest.console.arm64 (4)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (3)
510string? formattedDuration = GetFormattedDurationString(e.Result.Duration); 922if (EndTime - StartTime < testResult.Duration) 924StartTime = EndTime - testResult.Duration;
src\vstest\src\vstest.console\Internal\MSBuildLogger.cs (1)
179formattedError.Append(GetFormattedDurationString(e.Result.Duration));