43 references to CreationSurface
Aspire.Hosting.Testing.Tests (43)
DashboardTestingBuilderTests.cs (43)
40[InlineData(CreationSurface.Generic)] 41[InlineData(CreationSurface.Type)] 42[InlineData(CreationSurface.AdHoc)] 43public async Task DashboardCanBeEnabledAtBuilderCreation(CreationSurface creationSurface) 54[InlineData(CreationSurface.Generic)] 55[InlineData(CreationSurface.Type)] 56[InlineData(CreationSurface.AdHoc)] 57public async Task DashboardTestingDefaultsOverrideCreationConfiguration(CreationSurface creationSurface) 77[InlineData(CreationSurface.Generic)] 78[InlineData(CreationSurface.Type)] 79[InlineData(CreationSurface.AdHoc)] 80public async Task DashboardTestingGeneratesAFreshBrowserTokenPerApplication(CreationSurface creationSurface) 150[InlineData(CreationSurface.Generic)] 151[InlineData(CreationSurface.Type)] 152[InlineData(CreationSurface.AdHoc)] 153public async Task DashboardTestingIsRejectedInPublishMode(CreationSurface creationSurface) 162[InlineData(CreationSurface.Generic)] 163[InlineData(CreationSurface.Type)] 164public async Task DashboardTestingPublishModeFailureStopsAppHostEntryPoint(CreationSurface creationSurface) 187[InlineData(CreationSurface.Generic, "--clear-apphost-browser-token")] 188[InlineData(CreationSurface.Generic, "--null-apphost-browser-token")] 189[InlineData(CreationSurface.Type, "--clear-apphost-browser-token")] 190[InlineData(CreationSurface.Type, "--null-apphost-browser-token")] 192CreationSurface creationSurface, 203[InlineData(CreationSurface.Generic)] 204[InlineData(CreationSurface.Type)] 205public async Task DashboardTestingLeavesTheBrowserTokenToTheCallersBuilder(CreationSurface creationSurface) 216[InlineData(CreationSurface.Generic, "--unsecure-apphost-resource-service")] 217[InlineData(CreationSurface.Generic, "--clear-apphost-resource-service-key")] 218[InlineData(CreationSurface.Type, "--unsecure-apphost-resource-service")] 219[InlineData(CreationSurface.Type, "--clear-apphost-resource-service-key")] 221CreationSurface creationSurface, 231[InlineData(CreationSurface.Generic)] 232[InlineData(CreationSurface.Type)] 233public async Task DashboardTestingGeneratesAFreshResourceServiceApiKeyPerApplication(CreationSurface creationSurface) 275CreationSurface creationSurface, 282CreationSurface.Generic => await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>(options, args), 283CreationSurface.Type => await DistributedApplicationTestingBuilder.CreateAsync(typeof(Projects.TestingAppHost1_AppHost), options, args), 284CreationSurface.AdHoc => DistributedApplicationTestingBuilder.Create(options, args), 289private static async Task CreatePublishBuilderAsync(CreationSurface creationSurface, params string[] additionalArgs) 296CreationSurface.Generic => await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>( 299CreationSurface.Type => await DistributedApplicationTestingBuilder.CreateAsync( 303CreationSurface.AdHoc => DistributedApplicationTestingBuilder.Create(options, args),