1 write to Collector
Aspire.Hosting (1)
TestResourceBuilderExtensions.cs (1)
95Collector = callback,
12 references to Collector
Aspire.Hosting (2)
Cli\TestRunCoordinator.cs (2)
255var configured = annotation is { TestingContext: not null, OutputPath: not null, Collector: not null }; 264if (annotation is not { TestingContext: { } testingContext, OutputPath: { } outputPath, Collector: { } collector })
Aspire.Hosting.Dotnet.Tests (5)
MsTestCollectorTests.cs (3)
149var collection = options.Collector!(context); 190await Assert.ThrowsAsync<InvalidDataException>(() => annotation.Collector!(context)); 225await Assert.ThrowsAsync<InvalidDataException>(() => options.Collector!(context));
MsTestResourceTests.cs (2)
56Assert.NotNull(testing.Collector); 152Assert.Null(replacement.Collector);
Aspire.Hosting.RemoteHost.Tests (1)
JsonRpcCallbackInvokerTests.cs (1)
119var collector = Assert.Single(resource.Resource.Annotations.OfType<TestingAnnotation>()).Collector!;
Aspire.Hosting.Tests (4)
Cli\TestingCollectorTests.cs (4)
359Assert.Null(replacement.Collector); 397Assert.Equal(markerOnly, replacement.Collector is null); 702var collector = annotation.Collector; 708Assert.Same(collector, annotation.Collector);