1 write to Attachments
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
AttachmentSet.cs (1)
41Attachments = new List<UriDataAttachment>();
20 references to Attachments
Microsoft.TestPlatform.CommunicationUtilities (2)
Serialization\AttachmentConverters.cs (2)
35attachmentSet.Attachments.Add(JsonSerializer.Deserialize<UriDataAttachment>(attachment.GetRawText(), options)!); 49JsonSerializer.Serialize(writer, value.Attachments, options);
Microsoft.TestPlatform.CrossPlatEngine (4)
DataCollection\DataCollectionTestRunEventsHandler.cs (2)
226foreach (var attachment in attachmentSet.Attachments) 228attSet.Attachments.Add(attachment);
EventHandlers\PathConverter.cs (1)
125attachmentSet.Attachments.ToList().ForEach(a => UpdateAttachment(a, updateDirection));
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
66foreach (var uriDataAttachment in attachmentSet.Attachments)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameLogger.cs (1)
133var uriDataAttachment = attachmentSet.Attachments.LastOrDefault((attachment) => attachment.Uri.ToString().EndsWith(".xml"));
Microsoft.TestPlatform.Utilities (3)
CodeCoverageDataAttachmentsHandler.cs (3)
57foreach (var attachment in attachmentSet.Attachments) 80resultAttachmentSet.Attachments.Add(UriDataAttachment.CreateFrom(coverageReport, CoverageFriendlyName)); 86resultAttachmentSet.Attachments.Add(UriDataAttachment.CreateFrom(coverageOtherFilePath, string.Empty));
Microsoft.VisualStudio.TestPlatform.Common (2)
DataCollection\DataCollectionAttachmentManager.cs (1)
306AttachmentSets[fileTransferInfo.Context][uri].Attachments.Add(UriDataAttachment.CreateFrom(localFilePath, fileTransferInfo.Description));
DataCollection\DataCollectionManager.cs (1)
779foreach (var file in entry.Attachments)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Utility\Converter.cs (2)
457foreach (VisualStudio.TestPlatform.ObjectModel.UriDataAttachment uriDataAttachment in attachmentSet.Attachments) 513foreach (VisualStudio.TestPlatform.ObjectModel.UriDataAttachment uriDataAttachment in attachmentSet.Attachments)
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
AttachmentSet.cs (2)
45=> $"{nameof(Uri)}: {Uri.AbsoluteUri}, {nameof(DisplayName)}: {DisplayName}, {nameof(Attachments)}: [{string.Join(",", Attachments)}]";
vstest.console (2)
Internal\ConsoleLogger.cs (2)
679var runLevelAttachmentsCount = e.AttachmentSets == null ? 0 : e.AttachmentSets.Sum(attachmentSet => attachmentSet.Attachments.Count); 693foreach (var uriDataAttachment in attachmentSet.Attachments)
vstest.console.arm64 (2)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (2)
679var runLevelAttachmentsCount = e.AttachmentSets == null ? 0 : e.AttachmentSets.Sum(attachmentSet => attachmentSet.Attachments.Count); 693foreach (var uriDataAttachment in attachmentSet.Attachments)