3 instantiations of TestDistributedApplicationBuilder
Aspire.Hosting.Tests (3)
Utils\TestDistributedApplicationBuilder.cs (3)
50return new TestDistributedApplicationBuilder(options => options.Args = args); 55return new TestDistributedApplicationBuilder(options => options.Args = args, testOutputHelper); 60return new TestDistributedApplicationBuilder(configureOptions, testOutputHelper);
1077 references to TestDistributedApplicationBuilder
Aspire.Hosting.Azure.Tests (304)
AzureBicepProvisionerTests.cs (14)
18using var builder = TestDistributedApplicationBuilder.Create(); 33using var builder = TestDistributedApplicationBuilder.Create(); 76using var builder = TestDistributedApplicationBuilder.Create(); 111using var builder = TestDistributedApplicationBuilder.Create(); 126using var builder = TestDistributedApplicationBuilder.Create(); 134using var builder = TestDistributedApplicationBuilder.Create(); 161using var builder = TestDistributedApplicationBuilder.Create();
AzureBicepResourceTests.cs (90)
29using var builder = TestDistributedApplicationBuilder.Create(); 84using var builder = TestDistributedApplicationBuilder.Create(); 96using var builder = TestDistributedApplicationBuilder.Create(); 117using var builder = TestDistributedApplicationBuilder.Create(); 134using var builder = TestDistributedApplicationBuilder.Create(); 146using var builder = TestDistributedApplicationBuilder.Create(); 158using var builder = TestDistributedApplicationBuilder.Create(); 168using var builder = TestDistributedApplicationBuilder.Create(); 178using var builder = TestDistributedApplicationBuilder.Create(); 222using var builder = TestDistributedApplicationBuilder.Create(); 243using var builder = TestDistributedApplicationBuilder.Create(); 354using var builder = TestDistributedApplicationBuilder.Create(); 475using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 586using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 705using var builder = TestDistributedApplicationBuilder.Create(); 771using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 828using var builder = TestDistributedApplicationBuilder.Create(); 893using var builder = TestDistributedApplicationBuilder.Create(); 951using var builder = TestDistributedApplicationBuilder.Create(); 993using var builder = TestDistributedApplicationBuilder.Create(); 1011using var builder = TestDistributedApplicationBuilder.Create(); 1031using var builder = TestDistributedApplicationBuilder.Create(); 1070using var builder = TestDistributedApplicationBuilder.Create(); 1109using var builder = TestDistributedApplicationBuilder.Create(); 1177using var builder = TestDistributedApplicationBuilder.Create(); 1239using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1301using var builder = TestDistributedApplicationBuilder.Create(); 1395using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1476using var builder = TestDistributedApplicationBuilder.Create(); 1594using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1703using var builder = TestDistributedApplicationBuilder.Create(); 1742using var builder = TestDistributedApplicationBuilder.Create(); 1808using var builder = TestDistributedApplicationBuilder.Create(); 1922using var builder = TestDistributedApplicationBuilder.Create(); 1989using var builder = TestDistributedApplicationBuilder.Create(); 2056using var builder = TestDistributedApplicationBuilder.Create(); 2094using var builder = TestDistributedApplicationBuilder.Create(); 2252using var builder = TestDistributedApplicationBuilder.Create(); 2411using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2569using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2728using var builder = TestDistributedApplicationBuilder.Create(); 2824using var builder = TestDistributedApplicationBuilder.Create(); 2851using var builder = TestDistributedApplicationBuilder.Create(); 2968using var builder = TestDistributedApplicationBuilder.Create(); 2982using var builder = TestDistributedApplicationBuilder.Create();
AzureContainerAppsTests.cs (44)
23var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 114var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 222var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 354var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 475var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 579var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 694var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 969var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1065using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1181var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1315var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1492var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1580var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1678var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1782var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1881var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2018var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2037var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2058var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2077var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2097var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2116var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureCosmosDBEmulatorFunctionalTests.cs (10)
30using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 84using var builder = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper); 158using var builder1 = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper); 214using var builder2 = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper); 278using var builder = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper);
AzureCosmosDBExtensionsTests.cs (8)
20using var builder = TestDistributedApplicationBuilder.Create(); 41using var builder = TestDistributedApplicationBuilder.Create(); 62using var builder = TestDistributedApplicationBuilder.Create(); 76using var builder = TestDistributedApplicationBuilder.Create();
AzureEventHubsExtensionsTests.cs (26)
29using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 71using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 104using var builder = TestDistributedApplicationBuilder.Create(); 121using var builder = TestDistributedApplicationBuilder.Create(); 138using var builder = TestDistributedApplicationBuilder.Create(); 155using var builder = TestDistributedApplicationBuilder.Create(); 175using var builder = TestDistributedApplicationBuilder.Create(); 193using var builder = TestDistributedApplicationBuilder.Create(); 215using var builder = TestDistributedApplicationBuilder.Create(); 278using var builder = TestDistributedApplicationBuilder.Create(); 311using var builder = TestDistributedApplicationBuilder.Create(); 363using var builder = TestDistributedApplicationBuilder.Create(); 411using var builder = TestDistributedApplicationBuilder.Create();
AzureFunctionsTests.cs (20)
17using var builder = TestDistributedApplicationBuilder.Create(); 31using var builder = TestDistributedApplicationBuilder.Create(); 45using var builder = TestDistributedApplicationBuilder.Create(); 60using var builder = TestDistributedApplicationBuilder.Create(); 74using var builder = TestDistributedApplicationBuilder.Create(); 88using var builder = TestDistributedApplicationBuilder.Create(); 102using var builder = TestDistributedApplicationBuilder.Create(); 115using var builder = TestDistributedApplicationBuilder.Create(); 137using var builder = TestDistributedApplicationBuilder.Create(); 155using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzurePostgresExtensionsTests.cs (10)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run); 136using var builder = TestDistributedApplicationBuilder.Create(); 257using var builder = TestDistributedApplicationBuilder.Create(); 297using var builder = TestDistributedApplicationBuilder.Create(); 334using var builder = TestDistributedApplicationBuilder.Create();
AzureProvisioningResourceExtensionsTests.cs (2)
17using var builder = TestDistributedApplicationBuilder.Create();
AzureRedisExtensionsTests.cs (8)
16using var builder = TestDistributedApplicationBuilder.Create(); 83using var builder = TestDistributedApplicationBuilder.Create(); 144using var builder = TestDistributedApplicationBuilder.Create(); 162using var builder = TestDistributedApplicationBuilder.Create();
AzureResourceOptionsTests.cs (2)
27using (var builder = TestDistributedApplicationBuilder.Create("Publishing:Publisher=manifest", "--output-path", outputPath))
AzureServiceBusExtensionsTests.cs (22)
23using var builder = TestDistributedApplicationBuilder.Create(); 124using var builder = TestDistributedApplicationBuilder.Create(); 190using var builder = TestDistributedApplicationBuilder.Create(output); 233using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(output); 269using var builder = TestDistributedApplicationBuilder.Create(); 287using var builder = TestDistributedApplicationBuilder.Create(); 309using var builder = TestDistributedApplicationBuilder.Create(); 417using var builder = TestDistributedApplicationBuilder.Create(); 553using var builder = TestDistributedApplicationBuilder.Create(); 601using var builder = TestDistributedApplicationBuilder.Create(); 641using var builder = TestDistributedApplicationBuilder.Create();
AzureSignalREmulatorFunctionalTest.cs (6)
23using var builder = TestDistributedApplicationBuilder.Create(); 45using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 91using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper);
AzureSignalRExtensionsTests.cs (4)
17using var builder = TestDistributedApplicationBuilder.Create(); 89using var builder = TestDistributedApplicationBuilder.Create();
AzureSqlExtensionsTests.cs (6)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run); 138using var builder = TestDistributedApplicationBuilder.Create(); 182using var builder = TestDistributedApplicationBuilder.Create();
AzureStorageEmulatorFunctionalTests.cs (4)
23using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 71using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper);
AzureStorageExtensionsTests.cs (14)
19using var builder = TestDistributedApplicationBuilder.Create(); 45using var builder = TestDistributedApplicationBuilder.Create(); 71using var builder = TestDistributedApplicationBuilder.Create(); 97using var builder = TestDistributedApplicationBuilder.Create(); 120using var builder = TestDistributedApplicationBuilder.Create(); 140using var builder = TestDistributedApplicationBuilder.Create(); 160using var builder = TestDistributedApplicationBuilder.Create();
AzureWebPubSubExtensionsTests.cs (14)
19using var builder = TestDistributedApplicationBuilder.Create(); 28using var builder = TestDistributedApplicationBuilder.Create(); 47using var builder = TestDistributedApplicationBuilder.Create(); 117using var builder = TestDistributedApplicationBuilder.Create(); 195using var builder = TestDistributedApplicationBuilder.Create(); 277using var builder = TestDistributedApplicationBuilder.Create(); 354using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Containers.Tests (70)
ContainerResourceBuilderTests.cs (36)
15using var builder = TestDistributedApplicationBuilder.Create(); 23using var builder = TestDistributedApplicationBuilder.Create(); 32using var builder = TestDistributedApplicationBuilder.Create(); 44using var builder = TestDistributedApplicationBuilder.Create(); 56using var builder = TestDistributedApplicationBuilder.Create(); 64using var builder = TestDistributedApplicationBuilder.Create(); 72using var builder = TestDistributedApplicationBuilder.Create(); 80using var builder = TestDistributedApplicationBuilder.Create(); 90using var builder = TestDistributedApplicationBuilder.Create(); 100using var builder = TestDistributedApplicationBuilder.Create(); 118using var builder = TestDistributedApplicationBuilder.Create(); 129using var builder = TestDistributedApplicationBuilder.Create(); 138using var builder = TestDistributedApplicationBuilder.Create(); 147using var builder = TestDistributedApplicationBuilder.Create(); 159using var builder = TestDistributedApplicationBuilder.Create(); 171using var builder = TestDistributedApplicationBuilder.Create(); 184using var builder = TestDistributedApplicationBuilder.Create(); 195using var builder = TestDistributedApplicationBuilder.Create();
WithDockerfileTests.cs (34)
23using var builder = TestDistributedApplicationBuilder.Create(); 53using var builder = TestDistributedApplicationBuilder.Create(); 90using var builder = TestDistributedApplicationBuilder.Create(); 124using var builder = TestDistributedApplicationBuilder.Create(); 342using var builder = TestDistributedApplicationBuilder.Create(); 413using var builder = TestDistributedApplicationBuilder.Create(); 482using var builder = TestDistributedApplicationBuilder.Create(); 497using var builder = TestDistributedApplicationBuilder.Create(); 511using var builder = TestDistributedApplicationBuilder.Create(); 530using var builder = TestDistributedApplicationBuilder.Create(); 546using var builder = TestDistributedApplicationBuilder.Create(); 561using var builder = TestDistributedApplicationBuilder.Create(); 577using var builder = TestDistributedApplicationBuilder.Create(); 592using var builder = TestDistributedApplicationBuilder.Create(); 608using var builder = TestDistributedApplicationBuilder.Create(); 623using var builder = TestDistributedApplicationBuilder.Create(); 639using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Elasticsearch.Tests (12)
AddElasticsearchTests.cs (4)
158using var appBuilder = TestDistributedApplicationBuilder.Create(); 196using var appBuilder = TestDistributedApplicationBuilder.Create();
ElasticsearchFunctionalTests.cs (8)
37using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 85using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 151using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 241using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
Aspire.Hosting.Garnet.Tests (30)
AddGarnetTests.cs (18)
90using var builder = TestDistributedApplicationBuilder.Create(); 119using var builder = TestDistributedApplicationBuilder.Create(); 144using var builder = TestDistributedApplicationBuilder.Create(); 166using var builder = TestDistributedApplicationBuilder.Create(); 185using var builder = TestDistributedApplicationBuilder.Create(); 197using var builder = TestDistributedApplicationBuilder.Create(); 216using var builder = TestDistributedApplicationBuilder.Create(); 228using var builder = TestDistributedApplicationBuilder.Create(); 248using var builder = TestDistributedApplicationBuilder.Create();
GarnetFunctionalTests.cs (8)
24using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 68using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 116var builder1 = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 189var builder2 = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper);
GarnetPublicApiTests.cs (4)
27var builder = TestDistributedApplicationBuilder.Create(); 62var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Kafka.Tests (18)
AddKafkaTests.cs (8)
77using var appBuilder = TestDistributedApplicationBuilder.Create(); 115using var appBuilder = TestDistributedApplicationBuilder.Create(); 133using var appBuilder = TestDistributedApplicationBuilder.Create(); 163using var builder = TestDistributedApplicationBuilder.Create();
KafkaFunctionalTests.cs (8)
25using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 66using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 127using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 200using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
KafkaPublicApiTests.cs (2)
62var builderResource = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Keycloak.Tests (24)
KeycloakPublicApiTests.cs (14)
16var builder = TestDistributedApplicationBuilder.Create(); 52var builder = TestDistributedApplicationBuilder.Create(); 87var builder = TestDistributedApplicationBuilder.Create(); 112var builder = TestDistributedApplicationBuilder.Create(); 125var builder = TestDistributedApplicationBuilder.Create(); 139using var builder = TestDistributedApplicationBuilder.Create(); 170using var builder = TestDistributedApplicationBuilder.Create();
KeycloakResourceBuilderTests.cs (10)
60using var builder = TestDistributedApplicationBuilder.Create(); 77using var builder = TestDistributedApplicationBuilder.Create(); 92using var appBuilder = TestDistributedApplicationBuilder.Create(); 102using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 112using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Milvus.Tests (8)
AddMilvusTests.cs (2)
177using var builder = TestDistributedApplicationBuilder.Create();
MilvusFunctionalTests.cs (6)
23using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 79using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 132using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
Aspire.Hosting.MongoDB.Tests (30)
AddMongoDBTests.cs (14)
100using var builder = TestDistributedApplicationBuilder.Create(); 142using var builder = TestDistributedApplicationBuilder.Create(); 182using var builder = TestDistributedApplicationBuilder.Create(); 232using var builder = TestDistributedApplicationBuilder.Create(); 243using var builder = TestDistributedApplicationBuilder.Create(); 255using var builder = TestDistributedApplicationBuilder.Create(); 272using var builder = TestDistributedApplicationBuilder.Create();
MongoDbFunctionalTests.cs (10)
36using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 79using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 123using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 172using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 305using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
MongoDBPublicApiTests.cs (6)
51var builderResource = TestDistributedApplicationBuilder.Create(); 87var builderResource = TestDistributedApplicationBuilder.Create(); 122var builderResource = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.MySql.Tests (38)
AddMySqlTests.cs (20)
19using var appBuilder = TestDistributedApplicationBuilder.Create(); 29using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 156using var appBuilder = TestDistributedApplicationBuilder.Create(); 195using var appBuilder = TestDistributedApplicationBuilder.Create(); 225using var builder = TestDistributedApplicationBuilder.Create(); 256using var builder = TestDistributedApplicationBuilder.Create(); 300using var builder = TestDistributedApplicationBuilder.Create(); 311using var builder = TestDistributedApplicationBuilder.Create(); 323using var builder = TestDistributedApplicationBuilder.Create(); 343using var builder = TestDistributedApplicationBuilder.Create();
MySqlFunctionalTests.cs (12)
32using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 76using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 132using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 208using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 322using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 394var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
MySqlPublicApiTests.cs (6)
62var builder = TestDistributedApplicationBuilder.Create(); 87var builder = TestDistributedApplicationBuilder.Create(); 112var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Nats.Tests (28)
AddNatsTests.cs (10)
18using var appBuilder = TestDistributedApplicationBuilder.Create(); 27using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 175using var builder = TestDistributedApplicationBuilder.Create(); 185using var builder = TestDistributedApplicationBuilder.Create(); 218using var builder = TestDistributedApplicationBuilder.Create();
NatsFunctionalTests.cs (12)
28using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 71using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 113using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 162using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 216using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 325using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
NatsPublicApiTests.cs (6)
31var builder = TestDistributedApplicationBuilder.Create(); 77var builder = TestDistributedApplicationBuilder.Create(); 102var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.NodeJs.Tests (4)
AddNodeAppTests.cs (2)
14using var builder = TestDistributedApplicationBuilder.Create();
NodeAppFixture.cs (2)
19private TestDistributedApplicationBuilder? _builder; 30_builder = TestDistributedApplicationBuilder.Create()
Aspire.Hosting.Oracle.Tests (27)
AddOracleTests.cs (16)
18using var appBuilder = TestDistributedApplicationBuilder.Create(); 28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 196using var builder = TestDistributedApplicationBuilder.Create(); 235using var builder = TestDistributedApplicationBuilder.Create(); 265using var builder = TestDistributedApplicationBuilder.Create(); 276using var builder = TestDistributedApplicationBuilder.Create(); 288using var builder = TestDistributedApplicationBuilder.Create(); 305using var builder = TestDistributedApplicationBuilder.Create();
OracleFunctionalTests.cs (11)
36using var builder = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 95using var builder1 = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 169using var builder2 = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 285using var builder = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 290var ready = builder; 354using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper);
Aspire.Hosting.PostgreSQL.Tests (50)
AddPostgresTests.cs (22)
28using var appBuilder = TestDistributedApplicationBuilder.Create(); 38using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 245using var builder = TestDistributedApplicationBuilder.Create(); 287using var builder = TestDistributedApplicationBuilder.Create(); 375using var builder = TestDistributedApplicationBuilder.Create(); 430using var builder = TestDistributedApplicationBuilder.Create(); 442using var builder = TestDistributedApplicationBuilder.Create(); 550using var builder = TestDistributedApplicationBuilder.Create(); 561using var builder = TestDistributedApplicationBuilder.Create(); 573using var builder = TestDistributedApplicationBuilder.Create(); 590using var builder = TestDistributedApplicationBuilder.Create();
PostgrePublicApiTests.cs (14)
28var builder = TestDistributedApplicationBuilder.Create(); 53var builder = TestDistributedApplicationBuilder.Create(); 78var builder = TestDistributedApplicationBuilder.Create(); 93var builder = TestDistributedApplicationBuilder.Create(); 120var builder = TestDistributedApplicationBuilder.Create(); 156var builder = TestDistributedApplicationBuilder.Create(); 203var builder = TestDistributedApplicationBuilder.Create();
PostgresFunctionalTests.cs (14)
30using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 80using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 108using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 149using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 201using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 275using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 380using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
Aspire.Hosting.Python.Tests (32)
AddPythonAppTests.cs (14)
26using var builder = TestDistributedApplicationBuilder.Create(options => 58using var builder = TestDistributedApplicationBuilder.Create(options => 95using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 118using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 138using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 174using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 213using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper);
PythonPublicApiTests.cs (18)
72var builder = TestDistributedApplicationBuilder.Create(); 91var builder = TestDistributedApplicationBuilder.Create(); 110var builder = TestDistributedApplicationBuilder.Create(); 129var builder = TestDistributedApplicationBuilder.Create(); 169var builder = TestDistributedApplicationBuilder.Create(); 190var builder = TestDistributedApplicationBuilder.Create(); 211var builder = TestDistributedApplicationBuilder.Create(); 232var builder = TestDistributedApplicationBuilder.Create(); 253var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Qdrant.Tests (20)
AddQdrantTests.cs (6)
21using var appBuilder = TestDistributedApplicationBuilder.Create(); 31using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 278using var builder = TestDistributedApplicationBuilder.Create();
QdrantFunctionalTests.cs (8)
34using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 103using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 154using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 227using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
QdrantPublicApiTests.cs (6)
62var builderResource = TestDistributedApplicationBuilder.Create(); 76var builderResource = TestDistributedApplicationBuilder.Create(); 88var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.RabbitMQ.Tests (28)
AddRabbitMQTests.cs (18)
17using var appBuilder = TestDistributedApplicationBuilder.Create(); 27using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 40var appBuilder = TestDistributedApplicationBuilder.Create(); 126var appBuilder = TestDistributedApplicationBuilder.Create(); 156using var appBuilder = TestDistributedApplicationBuilder.Create(); 169using var appBuilder = TestDistributedApplicationBuilder.Create(); 183using var appBuilder = TestDistributedApplicationBuilder.Create(); 196using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 243using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
RabbitMQFunctionalTests.cs (8)
26using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 65using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 109using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 171using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
RabbitMQPublicApiTests.cs (2)
62var builderResource = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Redis.Tests (48)
AddRedisTests.cs (18)
99using var builder = TestDistributedApplicationBuilder.Create(); 258using var builder = TestDistributedApplicationBuilder.Create(); 283using var builder = TestDistributedApplicationBuilder.Create(); 305using var builder = TestDistributedApplicationBuilder.Create(); 324using var builder = TestDistributedApplicationBuilder.Create(); 336using var builder = TestDistributedApplicationBuilder.Create(); 355using var builder = TestDistributedApplicationBuilder.Create(); 367using var builder = TestDistributedApplicationBuilder.Create(); 387using var builder = TestDistributedApplicationBuilder.Create();
RedisFunctionalTests.cs (28)
31using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 70using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 94using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 139using var builder1 = TestDistributedApplicationBuilder.Create(configure, testOutputHelper); 180using var builder2 = TestDistributedApplicationBuilder.Create(configure, testOutputHelper); 239using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 301using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 344using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 393using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 429using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 477using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 508using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 555using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 603using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
RedisPublicApiTests.cs (2)
110var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.SqlServer.Tests (26)
AddSqlServerTests.cs (16)
18using var appBuilder = TestDistributedApplicationBuilder.Create(); 28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 126using var builder = TestDistributedApplicationBuilder.Create(); 166using var builder = TestDistributedApplicationBuilder.Create(); 198using var builder = TestDistributedApplicationBuilder.Create(); 209using var builder = TestDistributedApplicationBuilder.Create(); 221using var builder = TestDistributedApplicationBuilder.Create(); 238using var builder = TestDistributedApplicationBuilder.Create();
SqlServerFunctionalTests.cs (8)
26using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 70using var builder = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 135using var builder1 = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 245using var builder2 = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper);
SqlServerPublicApiTests.cs (2)
100var builderResource = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Tests (254)
Codespaces\CodespacesUrlRewriterTests.cs (4)
17using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 60using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper);
Dashboard\DashboardResourceTests.cs (28)
25using var builder = TestDistributedApplicationBuilder.Create( 60using var builder = TestDistributedApplicationBuilder.Create( 81using var builder = TestDistributedApplicationBuilder.Create( 156using var builder = TestDistributedApplicationBuilder.Create( 187using var builder = TestDistributedApplicationBuilder.Create( 224using var builder = TestDistributedApplicationBuilder.Create( 256using var builder = TestDistributedApplicationBuilder.Create( 289using var builder = TestDistributedApplicationBuilder.Create( 332using var builder = TestDistributedApplicationBuilder.Create( 366using var builder = TestDistributedApplicationBuilder.Create( 386using var builder = TestDistributedApplicationBuilder.Create( 403using var builder = TestDistributedApplicationBuilder.Create( 424using var builder = TestDistributedApplicationBuilder.Create( 503using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Dashboard\DashboardServiceTests.cs (2)
89using var applicationBuilder = TestDistributedApplicationBuilder.Create(testOutputHelper: testOutputHelper);
DistributedApplicationTests.cs (8)
849using var builder = TestDistributedApplicationBuilder.Create(); 901using var builder = TestDistributedApplicationBuilder.Create(); 957using var builder = TestDistributedApplicationBuilder.Create(); 976using var builder = TestDistributedApplicationBuilder.Create();
Eventing\DistributedApplicationBuilderEventingTests.cs (16)
18using var builder = TestDistributedApplicationBuilder.Create(); 49using var builder = TestDistributedApplicationBuilder.Create(); 81using var builder = TestDistributedApplicationBuilder.Create(); 112using var builder = TestDistributedApplicationBuilder.Create(); 167using var builder = TestDistributedApplicationBuilder.Create(); 179using var builder = TestDistributedApplicationBuilder.Create(); 204using var builder = TestDistributedApplicationBuilder.Create(); 233using var builder = TestDistributedApplicationBuilder.Create();
Health\ResourceHealthCheckServiceTests.cs (22)
25using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 61using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 104using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 175using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 216using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 259using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 305using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 334using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 372using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 432using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 489using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
HealthCheckTests.cs (8)
22using var builder = TestDistributedApplicationBuilder.Create(); 44using var builder = TestDistributedApplicationBuilder.Create(); 66using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 106using var builder = TestDistributedApplicationBuilder.Create();
PublishAsDockerfileTests.cs (10)
15var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 53var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 104var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 147var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 209var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
ResourceExtensionsTests.cs (20)
15using var builder = TestDistributedApplicationBuilder.Create(); 26using var builder = TestDistributedApplicationBuilder.Create(); 38using var builder = TestDistributedApplicationBuilder.Create(); 50using var builder = TestDistributedApplicationBuilder.Create(); 62using var builder = TestDistributedApplicationBuilder.Create(); 73using var builder = TestDistributedApplicationBuilder.Create(); 85using var builder = TestDistributedApplicationBuilder.Create(); 100using var builder = TestDistributedApplicationBuilder.Create(); 114using var builder = TestDistributedApplicationBuilder.Create(); 129using var builder = TestDistributedApplicationBuilder.Create();
Schema\SchemaTests.cs (1)
214var builder = TestDistributedApplicationBuilder.Create(["--publisher", "manifest", "--output-path", Path.Combine(manifestDir, "not-used.json")]);
Utils\TestDistributedApplicationBuilder.cs (7)
32public static TestDistributedApplicationBuilder Create(DistributedApplicationOperation operation) 48public static TestDistributedApplicationBuilder Create(params string[] args) 53public static TestDistributedApplicationBuilder Create(ITestOutputHelper testOutputHelper, params string[] args) 58public static TestDistributedApplicationBuilder Create(Action<DistributedApplicationOptions>? configureOptions, ITestOutputHelper? testOutputHelper = null) 63public static TestDistributedApplicationBuilder CreateWithTestContainerRegistry(ITestOutputHelper testOutputHelper) => 68var appAssembly = typeof(TestDistributedApplicationBuilder).Assembly; 108public TestDistributedApplicationBuilder WithTestAndResourceLogging(ITestOutputHelper testOutputHelper)
Utils\VolumeNameGeneratorTests.cs (4)
55var runBuilder = TestDistributedApplicationBuilder.Create(); 56var publishBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
WaitForTests.cs (24)
20using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 43using var builder = TestDistributedApplicationBuilder.Create(); 64using var builder = TestDistributedApplicationBuilder.Create(); 86using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 126using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 167using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 215using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 263using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 326using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 373using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 408using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 449using var builder = TestDistributedApplicationBuilder.Create();
WithEndpointTests.cs (44)
20using var builder = TestDistributedApplicationBuilder.Create(); 37using var builder = TestDistributedApplicationBuilder.Create(); 72using var builder = TestDistributedApplicationBuilder.Create(); 109using var builder = TestDistributedApplicationBuilder.Create(); 127using var builder = TestDistributedApplicationBuilder.Create(); 144using var builder = TestDistributedApplicationBuilder.Create(); 161using var builder = TestDistributedApplicationBuilder.Create(); 176using var builder = TestDistributedApplicationBuilder.Create(); 191using var builder = TestDistributedApplicationBuilder.Create(); 203using var builder = TestDistributedApplicationBuilder.Create(); 229using var builder = TestDistributedApplicationBuilder.Create(); 247using var builder = TestDistributedApplicationBuilder.Create(); 268using var builder = TestDistributedApplicationBuilder.Create(); 296using var builder = TestDistributedApplicationBuilder.Create(); 323using var builder = TestDistributedApplicationBuilder.Create(); 350using var builder = TestDistributedApplicationBuilder.Create(); 377using var builder = TestDistributedApplicationBuilder.Create(); 404using var builder = TestDistributedApplicationBuilder.Create(); 431using var builder = TestDistributedApplicationBuilder.Create(); 458using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 520using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 556using var builder = TestDistributedApplicationBuilder.Create();
WithEnvironmentTests.cs (24)
17using var builder = TestDistributedApplicationBuilder.Create(); 41using var builder = TestDistributedApplicationBuilder.Create(); 61using var builder = TestDistributedApplicationBuilder.Create(); 74using var builder = TestDistributedApplicationBuilder.Create(); 90using var builder = TestDistributedApplicationBuilder.Create(); 106using var builder = TestDistributedApplicationBuilder.Create(); 123using var builder = TestDistributedApplicationBuilder.Create(); 139using var builder = TestDistributedApplicationBuilder.Create(); 158using var builder = TestDistributedApplicationBuilder.Create(); 178using var builder = TestDistributedApplicationBuilder.Create(); 216using var builder = TestDistributedApplicationBuilder.Create(); 241using var builder = TestDistributedApplicationBuilder.Create();
WithReferenceTests.cs (32)
18using var builder = TestDistributedApplicationBuilder.Create(); 37using var builder = TestDistributedApplicationBuilder.Create(); 61using var builder = TestDistributedApplicationBuilder.Create(); 86using var builder = TestDistributedApplicationBuilder.Create(); 109using var builder = TestDistributedApplicationBuilder.Create(); 130using var builder = TestDistributedApplicationBuilder.Create(); 146using var builder = TestDistributedApplicationBuilder.Create(); 162using var builder = TestDistributedApplicationBuilder.Create(); 181using var builder = TestDistributedApplicationBuilder.Create(); 199using var builder = TestDistributedApplicationBuilder.Create(); 215using var builder = TestDistributedApplicationBuilder.Create(); 231using var builder = TestDistributedApplicationBuilder.Create(); 252using var builder = TestDistributedApplicationBuilder.Create(); 274using var builder = TestDistributedApplicationBuilder.Create(); 282using var builder = TestDistributedApplicationBuilder.Create(); 290using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Valkey.Tests (26)
AddValkeyTests.cs (18)
90using var builder = TestDistributedApplicationBuilder.Create(); 119using var builder = TestDistributedApplicationBuilder.Create(); 144using var builder = TestDistributedApplicationBuilder.Create(); 166using var builder = TestDistributedApplicationBuilder.Create(); 185using var builder = TestDistributedApplicationBuilder.Create(); 197using var builder = TestDistributedApplicationBuilder.Create(); 216using var builder = TestDistributedApplicationBuilder.Create(); 228using var builder = TestDistributedApplicationBuilder.Create(); 248using var builder = TestDistributedApplicationBuilder.Create();
ValkeyFunctionalTests.cs (8)
24using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 69using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 127using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 201using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);