3 instantiations of PrDogfoodNewTemplateCase
Aspire.Cli.Tests (3)
Commands\NewCommandTemplateConfigPersistenceTests.cs (3)
549
return
new
(KnownTemplateId.CSharpEmptyAppHost, languageId, contract, extraArguments);
554
return
new
(templateId, LanguageId: null, PrDogfoodNewTemplateContract.AspireConfig, extraArguments ?? []);
559
return
new
(templateId, LanguageId: null, PrDogfoodNewTemplateContract.DotNetTemplate, extraArguments ?? []);
28 references to PrDogfoodNewTemplateCase
Aspire.Cli.Tests (28)
Commands\NewCommandTemplateConfigPersistenceTests.cs (28)
69
private static readonly
PrDogfoodNewTemplateCase
[] s_prDogfoodNewTemplateCases =
71
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.TypeScriptStarter, ["--localhost-tld", "false"]),
72
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.CSharp, PrDogfoodNewTemplateContract.CSharpEmptyAppHost, ["--localhost-tld", "false"]),
73
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.TypeScript, PrDogfoodNewTemplateContract.AspireConfig, ["--localhost-tld", "false"]),
74
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.Python, PrDogfoodNewTemplateContract.AspireConfig, ["--localhost-tld", "false"]),
75
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.Go, PrDogfoodNewTemplateContract.AspireConfig, ["--localhost-tld", "false"]),
76
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.Java, PrDogfoodNewTemplateContract.AspireConfig, ["--localhost-tld", "false"]),
77
PrDogfoodNewTemplateCase
.SelectableEmpty(KnownLanguageId.Rust, PrDogfoodNewTemplateContract.AspireConfig, ["--localhost-tld", "false"]),
78
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.TypeScriptEmptyAppHost, ["--localhost-tld", "false"]),
79
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.PythonEmptyAppHost, ["--localhost-tld", "false"]),
80
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.JavaEmptyAppHost, ["--localhost-tld", "false"]),
81
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.GoEmptyAppHost, ["--localhost-tld", "false"]),
82
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.RustEmptyAppHost, ["--localhost-tld", "false"]),
83
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.PythonStarter, ["--localhost-tld", "false", "--use-redis-cache", "false"]),
84
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.GoStarter, ["--localhost-tld", "false"]),
85
PrDogfoodNewTemplateCase
.CliConfig(KnownTemplateId.JavaStarter, ["--localhost-tld", "false"]),
86
PrDogfoodNewTemplateCase
.DotNet("aspire-starter", ["--localhost-tld", "false", "--use-redis-cache", "false"]),
87
PrDogfoodNewTemplateCase
.DotNet("aspire-ts-cs-starter", ["--localhost-tld", "false", "--use-redis-cache", "false"]),
88
PrDogfoodNewTemplateCase
.DotNet(KnownTemplateId.DotNetEmptyAppHost, ["--localhost-tld", "false"]),
89
PrDogfoodNewTemplateCase
.DotNet("aspire-apphost", ["--localhost-tld", "false"]),
90
PrDogfoodNewTemplateCase
.DotNet("aspire-servicedefaults"),
98
public static TheoryData<
PrDogfoodNewTemplateCase
> PrDogfoodNewTemplateCases()
100
var data = new TheoryData<
PrDogfoodNewTemplateCase
>();
101
foreach (
var
testCase in s_prDogfoodNewTemplateCases)
244
public async Task NewTemplate_PrDogfoodInstallHiveDiscovered_UsesPrChannel(
PrDogfoodNewTemplateCase
testCase)
547
public static
PrDogfoodNewTemplateCase
SelectableEmpty(string languageId, PrDogfoodNewTemplateContract contract, string[] extraArguments)
552
public static
PrDogfoodNewTemplateCase
CliConfig(string templateId, string[]? extraArguments = null)
557
public static
PrDogfoodNewTemplateCase
DotNet(string templateId, string[]? extraArguments = null)