46 references to CreationSurface
Aspire.Hosting.Testing.Tests (46)
DashboardTestingBuilderTests.cs (46)
41[InlineData(CreationSurface.Generic)]
42[InlineData(CreationSurface.Type)]
43[InlineData(CreationSurface.AdHoc)]
44public async Task DashboardCanBeEnabledAtBuilderCreation(CreationSurface creationSurface)
55[InlineData(CreationSurface.Generic)]
56[InlineData(CreationSurface.Type)]
57[InlineData(CreationSurface.AdHoc)]
58public async Task DashboardTestingDefaultsOverrideCreationConfiguration(CreationSurface creationSurface)
78[InlineData(CreationSurface.Generic)]
79[InlineData(CreationSurface.Type)]
80[InlineData(CreationSurface.AdHoc)]
81public async Task DashboardTestingGeneratesAFreshBrowserTokenPerApplication(CreationSurface creationSurface)
112[InlineData(CreationSurface.Generic)]
113[InlineData(CreationSurface.Type)]
114public async Task DashboardTestingPreservesInteractivityAfterAppHostStart(CreationSurface creationSurface)
175[InlineData(CreationSurface.Generic)]
176[InlineData(CreationSurface.Type)]
177[InlineData(CreationSurface.AdHoc)]
178public async Task DashboardTestingIsRejectedInPublishMode(CreationSurface creationSurface)
187[InlineData(CreationSurface.Generic)]
188[InlineData(CreationSurface.Type)]
189public async Task DashboardTestingPublishModeFailureStopsAppHostEntryPoint(CreationSurface creationSurface)
212[InlineData(CreationSurface.Generic, "--clear-apphost-browser-token")]
213[InlineData(CreationSurface.Generic, "--null-apphost-browser-token")]
214[InlineData(CreationSurface.Type, "--clear-apphost-browser-token")]
215[InlineData(CreationSurface.Type, "--null-apphost-browser-token")]
217CreationSurface creationSurface,
228[InlineData(CreationSurface.Generic)]
229[InlineData(CreationSurface.Type)]
230public async Task DashboardTestingLeavesTheBrowserTokenToTheCallersBuilder(CreationSurface creationSurface)
241[InlineData(CreationSurface.Generic, "--unsecure-apphost-resource-service")]
242[InlineData(CreationSurface.Generic, "--clear-apphost-resource-service-key")]
243[InlineData(CreationSurface.Type, "--unsecure-apphost-resource-service")]
244[InlineData(CreationSurface.Type, "--clear-apphost-resource-service-key")]
246CreationSurface creationSurface,
256[InlineData(CreationSurface.Generic)]
257[InlineData(CreationSurface.Type)]
258public async Task DashboardTestingGeneratesAFreshResourceServiceApiKeyPerApplication(CreationSurface creationSurface)
300CreationSurface creationSurface,
307CreationSurface.Generic => await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>(options, args),
308CreationSurface.Type => await DistributedApplicationTestingBuilder.CreateAsync(typeof(Projects.TestingAppHost1_AppHost), options, args),
309CreationSurface.AdHoc => DistributedApplicationTestingBuilder.Create(options, args),
314private static async Task CreatePublishBuilderAsync(CreationSurface creationSurface, params string[] additionalArgs)
321CreationSurface.Generic => await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>(
324CreationSurface.Type => await DistributedApplicationTestingBuilder.CreateAsync(
328CreationSurface.AdHoc => DistributedApplicationTestingBuilder.Create(options, args),