6 writes to Id
Microsoft.TestPlatform.CommunicationUtilities (3)
_generated\49\TestPlatformJsonContext.TestCase.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase)obj).Id = value!,
Serialization\TestCaseConverter.cs (1)
75testCase.Id = GuidPolyfill.Parse(propertyData!, CultureInfo.InvariantCulture);
Serialization\TestCaseConverterV2.cs (1)
36testCase.Id = GuidPolyfill.Parse(id.GetString()!, CultureInfo.InvariantCulture);
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
TestCase.cs (3)
267Id = guid; 271Id = GuidPolyfill.Parse(guidString, CultureInfo.InvariantCulture); 275Id = Guid.Empty;
20 references to Id
Microsoft.TestPlatform.CommunicationUtilities (3)
_generated\49\TestPlatformJsonContext.TestCase.g.cs (1)
80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase)obj).Id,
Serialization\TestCaseConverter.cs (1)
145writer.WriteStringValue(value.Id.ToString());
Serialization\TestCaseConverterV2.cs (1)
79writer.WriteString("Id", value.Id);
Microsoft.TestPlatform.CrossPlatEngine (10)
Adapter\TestExecutionRecorder.cs (5)
106bool isAlreadyInProgress = _testCaseInProgressMap.TryGetValue(testCase.Id, out int count); 112_testCaseInProgressMap[testCase.Id] = isAlreadyInProgress ? count + 1 : 1; 177if (!_testCaseInProgressMap.TryGetValue(testCase.Id, out int count)) 191_testCaseInProgressMap.Remove(testCase.Id); 195_testCaseInProgressMap[testCase.Id] = count - 1;
DataCollection\InProcDataCollectionExtensionManager.cs (1)
298var dataCollectionData = ((InProcDataCollectionSink)_inProcDataCollectionSink).GetDataCollectionDataSetForTestCase(testResult.TestCase.Id);
DataCollection\InProcDataCollectionSink.cs (2)
29ValidateArg.NotNullOrEmpty(dataCollectionContext?.TestCase?.Id.ToString(), "dataCollectionContext.TestCase.Id"); 31var testCaseId = dataCollectionContext!.TestCase!.Id;
Execution\TestRunCache.cs (2)
254var inProgressTest = _inProgressTests.FirstOrDefault(inProgress => inProgress.Id == completedTest.Id);
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
BlameCollector.cs (1)
493_testObjectDictionary[e.TestElement.Id].IsCompleted = true;
BlameTestObject.cs (1)
49Id = testCase.Id;
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
HtmlLogger.cs (1)
201TestResultId = e.Result.TestCase.Id,
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Utility\Converter.cs (1)
306testId = rockSteadyTestCase.Id;
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
DataCollector\DataCollectionContext.cs (1)
75: this(sessionId, new TestExecId(testCase.Id))
DataCollector\Events\TestCaseEvents.cs (1)
79TestCaseId = testElement.Id;
TestCase.cs (1)
232"TestCase.Id" => Id,