57 references to AspireTemplate
Aspire.Cli.EndToEnd.Tests (57)
AppHostSyntaxErrorOutputTests.cs (6)
24template: AspireTemplate.EmptyAppHost, 38template: AspireTemplate.EmptyAppHost, 52template: AspireTemplate.EmptyAppHost, 66template: AspireTemplate.TypeScriptEmptyAppHost, 80template: AspireTemplate.TypeScriptEmptyAppHost, 90AspireTemplate template,
ConfigDiscoveryTests.cs (1)
158await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.TypeScriptEmptyAppHost);
EmptyAppHostTemplateTests.cs (1)
33await auto.AspireNewAsync("AspireEmptyApp", counter, template: AspireTemplate.EmptyAppHost);
EmulatedLocalReleaseBuildTests.cs (2)
83await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.Starter, useRedisCache: false); 151await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.ExpressReact);
EmulatedReleasedBuildTests.cs (2)
69await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.Starter, useRedisCache: false); 127await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.ExpressReact);
EmulatedStagingBuildTests.cs (2)
79await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.Starter, useRedisCache: false); 140await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.ExpressReact);
JavaEmptyAppHostTemplateTests.cs (1)
34await auto.AspireNewAsync("JavaEmptyApp", counter, template: AspireTemplate.JavaEmptyAppHost);
JsReactTemplateTests.cs (1)
33await auto.AspireNewAsync("AspireJsReactApp", counter, template: AspireTemplate.JsReact, useRedisCache: false);
KubernetesDeployTypeScriptTests.cs (1)
55await auto.AspireNewAsync(ProjectName, counter, template: AspireTemplate.ExpressReact);
KubernetesDeployTypeScriptWithPersistentVolumeTests.cs (1)
66await auto.AspireNewAsync(ProjectName, counter, template: AspireTemplate.ExpressReact);
PythonReactTemplateTests.cs (1)
33await auto.AspireNewAsync("AspirePyReactApp", counter, template: AspireTemplate.PythonReact, useRedisCache: false);
ResourceCommandTests.cs (4)
34await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.EmptyAppHost); 127await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.EmptyAppHost); 227await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.EmptyAppHost); 335await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.EmptyAppHost);
SecretDotNetAppHostTests.cs (1)
32await auto.AspireNewAsync("TestSecrets", counter, template: AspireTemplate.EmptyAppHost);
SmokeTests.cs (1)
86await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.ExpressReact, useDevLocalhost: true);
StopForceTests.cs (1)
41await auto.AspireNewAsync(projectName, counter, template: AspireTemplate.EmptyAppHost);
TerminalCommandTests.cs (1)
33await auto.AspireNewAsync("TerminalSupportApp", counter, template: AspireTemplate.ExpressReact);
tests\Shared\Hex1bAutomatorTestHelpers.cs (13)
480AspireTemplate template = AspireTemplate.Starter, 497case AspireTemplate.Starter: 501case AspireTemplate.JsReact: 510case AspireTemplate.ExpressReact: 520case AspireTemplate.PythonReact: 531case AspireTemplate.EmptyAppHost: 547case AspireTemplate.TypeScriptEmptyAppHost: 558case AspireTemplate.JavaEmptyAppHost: 609if (template is AspireTemplate.Starter or AspireTemplate.JsReact or AspireTemplate.PythonReact) 627if (template is AspireTemplate.Starter)
tests\Shared\Hex1bTestHelpers.cs (14)
351/// <param name="template">The template to select. Defaults to <see cref="AspireTemplate.Starter"/>.</param> 361AspireTemplate template = AspireTemplate.Starter, 391case AspireTemplate.Starter: 395case AspireTemplate.JsReact: 403case AspireTemplate.ExpressReact: 412case AspireTemplate.PythonReact: 422case AspireTemplate.EmptyAppHost: 429case AspireTemplate.TypeScriptEmptyAppHost: 437case AspireTemplate.JavaEmptyAppHost: 460if (template is AspireTemplate.Starter or AspireTemplate.JsReact or AspireTemplate.PythonReact) 477if (template is AspireTemplate.Starter)
TypeScriptEmptyAppHostTemplateTests.cs (1)
35await auto.AspireNewAsync("TsEmptyApp", counter, template: AspireTemplate.TypeScriptEmptyAppHost);
TypeScriptStarterSmokeTests.cs (1)
47await auto.AspireNewAsync("TsStarterApp", counter, template: AspireTemplate.ExpressReact);
TypeScriptStarterTemplateTests.cs (1)
34await auto.AspireNewAsync("TsStarterApp", counter, template: AspireTemplate.ExpressReact);