10 references to CreateAsync
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
29
=>
CreateAsync
(typeof(TEntryPoint), cancellationToken);
Aspire.Hosting.Testing.Tests (8)
PublicApiTests.cs (1)
14
var ane = await Assert.ThrowsAsync<ArgumentNullException>(() => DistributedApplicationTestingBuilder.
CreateAsync
(entryPoint: null!));
TestingBuilderTests.cs (7)
59
var ioe = await Assert.ThrowsAsync<InvalidOperationException>(() => DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Microsoft.Extensions.Logging.ConsoleLoggerExtensions)));
103
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
126
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
144
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
165
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
178
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
193
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationTestFactory.cs (1)
28
var builder = await DistributedApplicationTestingBuilder.
CreateAsync
(appHostType);