32 references to CreateSearchTemplateAsync
Aspire.Cli.Tests (32)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (8)
78await CreateSearchTemplateAsync(workspace, "local", "local", "Local template", "Local"); 85await CreateSearchTemplateAsync(workspace, $"{root}/templates/first", "one", "First template", "First"); 86await CreateSearchTemplateAsync(workspace, $"{root}/templates/second", "two", "Second template", "Second"); 134await CreateSearchTemplateAsync(workspace, "local", "local", "Local template", "Local"); 165await CreateSearchTemplateAsync(workspace, "local", "local", "Local template", "Local"); 225await CreateSearchTemplateAsync(workspace, 318await CreateSearchTemplateAsync(workspace, "repository with spaces/templates/sample", "sample", "Sample template", "Pinned"); 319await CreateSearchTemplateAsync(workspace, "repository with spaces/templates/sibling", "sibling", "Sibling template", "Sibling");
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (6)
195await CreateSearchTemplateAsync(workspace, "local", "sample", "Sample template", "Local"); 300await CreateSearchTemplateAsync(workspace, "local", "sample", "Sample template", "Local"); 478await CreateSearchTemplateAsync(workspace, "template", "sample", "Sample", "Directory"); 503await CreateSearchTemplateAsync(workspace, "repository with spaces/templates/sample", "sample", "Sample template", "Real Git"); 557await CreateSearchTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, destination.FullName), 666await CreateSearchTemplateAsync(workspace,
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (11)
27await CreateSearchTemplateAsync(workspace, "template", "sample", "Sample", "Found"); 236await CreateSearchTemplateAsync(workspace, "first", "one", "Friendly template", "First"); 237await CreateSearchTemplateAsync(workspace, "second", "two", "Another template", "Second"); 260await CreateSearchTemplateAsync(workspace, "template", "company-api", "Company starter", "Found", 280await CreateSearchTemplateAsync(workspace, "valid", "valid", "Valid", "valid"); 339await CreateSearchTemplateAsync(workspace, "first", "same", "Same template", "First"); 340await CreateSearchTemplateAsync(workspace, "second", "same", "Same template", "Second"); 389await CreateSearchTemplateAsync(workspace, "template", "sample", "Sample", "Found", description: "Observable services"); 617await CreateSearchTemplateAsync(workspace, "templates/first", "same", "Same template", "First"); 618await CreateSearchTemplateAsync(workspace, "templates/second", "same", "Same template", "Second"); 648await CreateSearchTemplateAsync(workspace, "template", "sample", "Sample template", "Found");
Commands\NewCommandLocalTemplateTests.InitConfig.cs (5)
29await CreateSearchTemplateAsync(workspace, "enterprise", "enterprise", "Enterprise", "Enterprise"); 30await CreateSearchTemplateAsync(workspace, "personal", "personal", "Personal", "Personal"); 180await CreateSearchTemplateAsync(workspace, "enterprise", "enterprise", "Enterprise", "Enterprise"); 181await CreateSearchTemplateAsync(workspace, "personal", "personal", "Personal", "Personal"); 236await CreateSearchTemplateAsync(workspace, "personal", "personal", "Personal", "Personal");
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (2)
204await CreateSearchTemplateAsync(workspace, "personal", "personal", "Personal", "Personal"); 206await CreateSearchTemplateAsync(workspace, "template repository/templates/proof", "proof", "Proof", "Inherited");