2 instantiations of UriDataAttachment
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\AttachmentConverters.cs (1)
70return new UriDataAttachment(uri, description);
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
AttachmentSet.cs (1)
82return new UriDataAttachment(uri, description);
22 references to UriDataAttachment
Microsoft.TestPlatform.CommunicationUtilities (5)
Serialization\AttachmentConverters.cs (5)
35attachmentSet.Attachments.Add(JsonSerializer.Deserialize<UriDataAttachment>(attachment.GetRawText(), options)!); 55/// JSON converter for <see cref="UriDataAttachment"/> that handles the lack of a parameterless constructor 58internal class UriDataAttachmentConverter : JsonConverter<UriDataAttachment> 60public override UriDataAttachment? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 73public override void Write(Utf8JsonWriter writer, UriDataAttachment value, JsonSerializerOptions options)
Microsoft.TestPlatform.CrossPlatEngine (4)
DataCollection\DataCollectionTestRunEventsHandler.cs (1)
226foreach (var attachment in attachmentSet.Attachments)
EventHandlers\PathConverter.cs (2)
129private static UriDataAttachment UpdateAttachment(UriDataAttachment attachment, PathConversionDirection _)
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 (3)
AttachmentSet.cs (3)
35public IList<UriDataAttachment> Attachments { get; private set; } 41Attachments = new List<UriDataAttachment>(); 79public static UriDataAttachment CreateFrom(string localFilePath, string? description)
vstest.console (1)
Internal\ConsoleLogger.cs (1)
693foreach (var uriDataAttachment in attachmentSet.Attachments)
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (1)
693foreach (var uriDataAttachment in attachmentSet.Attachments)