3 instantiations of TestDistributedApplicationBuilder
Aspire.Hosting.Tests (3)
Utils\TestDistributedApplicationBuilder.cs (3)
51return new TestDistributedApplicationBuilder(options => options.Args = args); 56return new TestDistributedApplicationBuilder(options => options.Args = args, testOutputHelper); 61return new TestDistributedApplicationBuilder(configureOptions, testOutputHelper);
1001 references to TestDistributedApplicationBuilder
Aspire.Hosting.Azure.Tests (250)
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 (88)
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(); 337using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 431using var builder = TestDistributedApplicationBuilder.Create(); 497using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 554using var builder = TestDistributedApplicationBuilder.Create(); 619using var builder = TestDistributedApplicationBuilder.Create(); 677using var builder = TestDistributedApplicationBuilder.Create(); 719using var builder = TestDistributedApplicationBuilder.Create(); 737using var builder = TestDistributedApplicationBuilder.Create(); 757using var builder = TestDistributedApplicationBuilder.Create(); 796using var builder = TestDistributedApplicationBuilder.Create(); 835using var builder = TestDistributedApplicationBuilder.Create(); 903using var builder = TestDistributedApplicationBuilder.Create(); 965using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1027using var builder = TestDistributedApplicationBuilder.Create(); 1099using var builder = TestDistributedApplicationBuilder.Create(); 1193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1274using var builder = TestDistributedApplicationBuilder.Create(); 1392using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1501using var builder = TestDistributedApplicationBuilder.Create(); 1540using var builder = TestDistributedApplicationBuilder.Create(); 1604using var builder = TestDistributedApplicationBuilder.Create(); 1704using var builder = TestDistributedApplicationBuilder.Create(); 1771using var builder = TestDistributedApplicationBuilder.Create(); 1838using var builder = TestDistributedApplicationBuilder.Create(); 1876using var builder = TestDistributedApplicationBuilder.Create(); 2034using var builder = TestDistributedApplicationBuilder.Create(); 2193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2351using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2510using var builder = TestDistributedApplicationBuilder.Create(); 2606using var builder = TestDistributedApplicationBuilder.Create(); 2633using var builder = TestDistributedApplicationBuilder.Create(); 2750using var builder = TestDistributedApplicationBuilder.Create(); 2764using var builder = TestDistributedApplicationBuilder.Create();
AzureContainerAppsTests.cs (40)
23var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 114var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 222var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 354var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 469var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 758var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 854using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 970var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1104var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1281var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1369var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1467var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1571var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1670var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1807var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1826var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1847var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1866var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1886var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1905var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureCosmosDBEmulatorFunctionalTests.cs (8)
27using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 79using var builder = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper); 144using var builder1 = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper); 198using var builder2 = TestDistributedApplicationBuilder.Create(options => { }, testOutputHelper);
AzureEventHubsExtensionsTests.cs (16)
27using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 69using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 102using var builder = TestDistributedApplicationBuilder.Create(); 119using var builder = TestDistributedApplicationBuilder.Create(); 136using var builder = TestDistributedApplicationBuilder.Create(); 153using var builder = TestDistributedApplicationBuilder.Create(); 173using var builder = TestDistributedApplicationBuilder.Create(); 191using 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();
AzureResourceExtensionsTests.cs (16)
20using var builder = TestDistributedApplicationBuilder.Create(); 46using var builder = TestDistributedApplicationBuilder.Create(); 72using var builder = TestDistributedApplicationBuilder.Create(); 98using var builder = TestDistributedApplicationBuilder.Create(); 121using var builder = TestDistributedApplicationBuilder.Create(); 142using var builder = TestDistributedApplicationBuilder.Create(); 163using var builder = TestDistributedApplicationBuilder.Create(); 184using var builder = TestDistributedApplicationBuilder.Create();
AzureResourceOptionsTests.cs (2)
27using (var builder = TestDistributedApplicationBuilder.Create("Publishing:Publisher=manifest", "--output-path", outputPath))
AzureServiceBusExtensionsTests.cs (2)
15using 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);
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 (66)
ContainerResourceBuilderTests.cs (20)
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();
WithDockerfileTests.cs (46)
23using var builder = TestDistributedApplicationBuilder.Create(); 53using var builder = TestDistributedApplicationBuilder.Create(); 91using var builder = TestDistributedApplicationBuilder.Create(); 125using var builder = TestDistributedApplicationBuilder.Create(); 343using var builder = TestDistributedApplicationBuilder.Create(); 414using var builder = TestDistributedApplicationBuilder.Create(); 483using var builder = TestDistributedApplicationBuilder.Create(); 498using var builder = TestDistributedApplicationBuilder.Create(); 512using var builder = TestDistributedApplicationBuilder.Create(); 525using var builder = TestDistributedApplicationBuilder.Create(); 537using var builder = TestDistributedApplicationBuilder.Create(); 550using var builder = TestDistributedApplicationBuilder.Create(); 564using var builder = TestDistributedApplicationBuilder.Create(); 579using var builder = TestDistributedApplicationBuilder.Create(); 593using var builder = TestDistributedApplicationBuilder.Create(); 612using var builder = TestDistributedApplicationBuilder.Create(); 628using var builder = TestDistributedApplicationBuilder.Create(); 643using var builder = TestDistributedApplicationBuilder.Create(); 659using var builder = TestDistributedApplicationBuilder.Create(); 674using var builder = TestDistributedApplicationBuilder.Create(); 690using var builder = TestDistributedApplicationBuilder.Create(); 705using var builder = TestDistributedApplicationBuilder.Create(); 721using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Dapr.Tests (4)
DaprTests.cs (4)
18using var builder = TestDistributedApplicationBuilder.Create(); 100using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Elasticsearch.Tests (12)
AddElasticsearchTests.cs (4)
159using var appBuilder = TestDistributedApplicationBuilder.Create(); 197using var appBuilder = TestDistributedApplicationBuilder.Create();
ElasticsearchFunctionalTests.cs (8)
37using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 81using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 133using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 211using 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 (22)
KeycloakPublicApiTests.cs (10)
16var builder = TestDistributedApplicationBuilder.Create(); 52var builder = TestDistributedApplicationBuilder.Create(); 87var builder = TestDistributedApplicationBuilder.Create(); 112var builder = TestDistributedApplicationBuilder.Create(); 125var builder = TestDistributedApplicationBuilder.Create();
KeycloakResourceBuilderTests.cs (12)
47using var builder = TestDistributedApplicationBuilder.Create(); 64using var builder = TestDistributedApplicationBuilder.Create(); 82using var builder = TestDistributedApplicationBuilder.Create(); 110using var appBuilder = TestDistributedApplicationBuilder.Create(); 120using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 130using var builder = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Milvus.Tests (8)
AddMilvusTests.cs (2)
182using 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); 122using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 171using 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); 157using var appBuilder = TestDistributedApplicationBuilder.Create(); 196using var appBuilder = TestDistributedApplicationBuilder.Create(); 226using var builder = TestDistributedApplicationBuilder.Create(); 257using var builder = TestDistributedApplicationBuilder.Create(); 301using var builder = TestDistributedApplicationBuilder.Create(); 312using var builder = TestDistributedApplicationBuilder.Create(); 324using var builder = TestDistributedApplicationBuilder.Create(); 344using 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); 323using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 395var 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); 164using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 218using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 327using 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); 198using var builder = TestDistributedApplicationBuilder.Create(); 237using var builder = TestDistributedApplicationBuilder.Create(); 267using var builder = TestDistributedApplicationBuilder.Create(); 278using var builder = TestDistributedApplicationBuilder.Create(); 290using var builder = TestDistributedApplicationBuilder.Create(); 307using 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); 286using var builder = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper); 291var ready = builder; 355using 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); 247using var builder = TestDistributedApplicationBuilder.Create(); 289using var builder = TestDistributedApplicationBuilder.Create(); 377using var builder = TestDistributedApplicationBuilder.Create(); 432using var builder = TestDistributedApplicationBuilder.Create(); 444using var builder = TestDistributedApplicationBuilder.Create(); 552using var builder = TestDistributedApplicationBuilder.Create(); 563using var builder = TestDistributedApplicationBuilder.Create(); 575using var builder = TestDistributedApplicationBuilder.Create(); 592using 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); 273using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 375using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper);
Aspire.Hosting.Python.Tests (32)
AddPythonAppTests.cs (14)
26using var builder = TestDistributedApplicationBuilder.Create(options => 56using var builder = TestDistributedApplicationBuilder.Create(options => 90using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 113using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 133using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 169using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(outputHelper); 208using 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); 281using 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(); 127var appBuilder = TestDistributedApplicationBuilder.Create(); 157using var appBuilder = TestDistributedApplicationBuilder.Create(); 171using var appBuilder = TestDistributedApplicationBuilder.Create(); 185using var appBuilder = TestDistributedApplicationBuilder.Create(); 198using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 245using 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); 170using 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)
30using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 69using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 93using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 137using var builder1 = TestDistributedApplicationBuilder.Create(configure, testOutputHelper); 178using var builder2 = TestDistributedApplicationBuilder.Create(configure, testOutputHelper); 236using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 298using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 341using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 390using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 426using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 474using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 505using var builder2 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 551using var builder1 = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 599using 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); 128using var builder = TestDistributedApplicationBuilder.Create(); 168using var builder = TestDistributedApplicationBuilder.Create(); 200using var builder = TestDistributedApplicationBuilder.Create(); 211using var builder = TestDistributedApplicationBuilder.Create(); 223using var builder = TestDistributedApplicationBuilder.Create(); 240using 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); 241using var builder2 = TestDistributedApplicationBuilder.Create(o => { }, testOutputHelper);
SqlServerPublicApiTests.cs (2)
100var builderResource = TestDistributedApplicationBuilder.Create();
Aspire.Hosting.Tests (234)
Codespaces\CodespacesUrlRewriterTests.cs (4)
17using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 59using 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 (6)
789using var builder = TestDistributedApplicationBuilder.Create(); 842using var builder = TestDistributedApplicationBuilder.Create(); 861using 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 (18)
21using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 52using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 87using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 132using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 178using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 207using var builder = TestDistributedApplicationBuilder.Create(testOutputHelper); 245using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 305using var builder = TestDistributedApplicationBuilder.CreateWithTestContainerRegistry(testOutputHelper); 359using 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();
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)
210var builder = TestDistributedApplicationBuilder.Create(["--publisher", "manifest", "--output-path", Path.Combine(manifestDir, "not-used.json")]);
Utils\TestDistributedApplicationBuilder.cs (7)
33public static TestDistributedApplicationBuilder Create(DistributedApplicationOperation operation) 49public static TestDistributedApplicationBuilder Create(params string[] args) 54public static TestDistributedApplicationBuilder Create(ITestOutputHelper testOutputHelper, params string[] args) 59public static TestDistributedApplicationBuilder Create(Action<DistributedApplicationOptions>? configureOptions, ITestOutputHelper? testOutputHelper = null) 64public static TestDistributedApplicationBuilder CreateWithTestContainerRegistry(ITestOutputHelper testOutputHelper) => 69var 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 (20)
19using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 42using var builder = TestDistributedApplicationBuilder.Create(); 63using var builder = TestDistributedApplicationBuilder.Create(); 86using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 127using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 175using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 223using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 270using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 305using var builder = TestDistributedApplicationBuilder.Create().WithTestAndResourceLogging(testOutputHelper); 346using 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);