1 write to TestCase
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestResult.cs (1)
28TestCase = testCase ?? throw new ArgumentNullException(nameof(testCase));
38 references to TestCase
Microsoft.TestPlatform.CommunicationUtilities (2)
Serialization\TestResultConverter.cs (1)
118JsonSerializer.Serialize(writer, value.TestCase, options);
Serialization\TestResultConverterV2.cs (1)
111JsonSerializer.Serialize(writer, value.TestCase, options);
Microsoft.TestPlatform.CrossPlatEngine (10)
Adapter\TestExecutionRecorder.cs (2)
96EqtTrace.Verbose("TestExecutionRecorder.RecordResult: Received result for test: {0}.", testResult.TestCase.FullyQualifiedName); 100SendTestCaseEnd(testResult.TestCase, testResult.Outcome);
DataCollection\InProcDataCollectionExtensionManager.cs (1)
298var dataCollectionData = ((InProcDataCollectionSink)_inProcDataCollectionSink).GetDataCollectionDataSetForTestCase(testResult.TestCase.Id);
EventHandlers\PathConverter.cs (1)
142UpdateTestCase(tr.TestCase, updateDirection);
Execution\BaseRunTests.cs (1)
708updatedTestResult.TestCase.Source = package!;
Execution\MSTestV1TelemetryHelper.cs (4)
29var executorUri = testResult?.TestCase?.ExecutorUri; 62? $"{testResult.TestCase.ExecutorUri.AbsoluteUri}.legacy.extension.{testExtension}.count" 63: $"{testResult.TestCase.ExecutorUri.AbsoluteUri}.legacy.count"; 67key = $"{testResult.TestCase.ExecutorUri.AbsoluteUri}.count";
Execution\TestRunCache.cs (1)
367var removed = OnTestCompletion(result.TestCase);
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (6)
HtmlLogger.cs (6)
198DisplayName = e.Result.DisplayName ?? e.Result.TestCase.FullyQualifiedName, 199FullyQualifiedName = e.Result.TestCase.FullyQualifiedName, 202TestResultId = e.Result.TestCase.Id, 210ResultCollectionDictionary.TryGetValue(e.Result.TestCase.Source, out var testResultCollection); 213testResultCollection = new TestResultCollection(e.Result.TestCase.Source) 218ResultCollectionDictionary.TryAdd(e.Result.TestCase.Source, testResultCollection);
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
TrxLogger.cs (2)
452TestCase testCase = rsTestResult.TestCase; 634TestCase testCase = rockSteadyTestResult.TestCase;
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
DataCollector\Events\TestCaseEvents.cs (1)
369: base(context, testResult.TestCase)
TestResult.cs (1)
124TestCase.DisplayName,
vstest.console (8)
Internal\ConsoleLogger.cs (2)
507testDisplayName = e.Result.TestCase.DisplayName; 908TestCase = testResult.TestCase;
Internal\MSBuildLogger.cs (6)
177formattedError.Append(result.TestCase.DisplayName); 207if (!StringUtils.IsNullOrEmpty(result.TestCase.CodeFilePath)) 210file = result.TestCase.CodeFilePath; 211line = result.TestCase.LineNumber > 0 ? result.TestCase.LineNumber.ToString(CultureInfo.InvariantCulture) : null; 216file = result.TestCase.Source;
vstest.console.arm64 (8)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (2)
507testDisplayName = e.Result.TestCase.DisplayName; 908TestCase = testResult.TestCase;
src\vstest\src\vstest.console\Internal\MSBuildLogger.cs (6)
177formattedError.Append(result.TestCase.DisplayName); 207if (!StringUtils.IsNullOrEmpty(result.TestCase.CodeFilePath)) 210file = result.TestCase.CodeFilePath; 211line = result.TestCase.LineNumber > 0 ? result.TestCase.LineNumber.ToString(CultureInfo.InvariantCulture) : null; 216file = result.TestCase.Source;