10 references to CreateAsync
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
30
=>
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)
68
var ioe = await Assert.ThrowsAsync<InvalidOperationException>(() => DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Microsoft.Extensions.Logging.ConsoleLoggerExtensions)));
112
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
135
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
153
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
174
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
187
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
202
: DistributedApplicationTestingBuilder.
CreateAsync
(typeof(Projects.TestingAppHost1_AppHost)));
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationTestFactory.cs (1)
28
var builder = await DistributedApplicationTestingBuilder.
CreateAsync
(appHostType);