19 instantiations of TestItem
Aspire.Cli.Tests (19)
Interaction\ConsoleInteractionServiceTests.cs (19)
342new("built-in", "Starter"), 343new("first", "Same (same) - first"), 344new("second", "Same (same) - second")]; 375new("built-in", "Same"), 376new("first", "Same (same) - first"), 377new("second", "Same (same) - second"), 378new("search", "Search")]; 394new("first:one", "First template - first"), 395new("second:one", "Other template - second"), 396new("first:two", "Second template - first")]; 430TestItem[] choices = [new("first", "Same (same) - first"), new("second", "Same (same) - second")]; 592TestItem[] choices = [new("first", "first"), new("second", "second")]; 2258var choices = new[] { new TestItem("id1", "Display One"), new TestItem("id2", "Display Two") }; 2692new("copilot", AgentCommandStrings.Environment_Copilot), 2693new("claude", AgentCommandStrings.Environment_ClaudeCode), 2694new("opencode", AgentCommandStrings.Environment_OpenCode)];
12 references to TestItem
Aspire.Cli.Tests (12)
Interaction\ConsoleInteractionServiceTests.cs (12)
341TestItem[] choices = [ 346var selected = await interaction.PromptForSelectionAsync("Select a template:", choices, choice => choice.Display, 374TestItem[] choices = [ 380var selected = await interaction.PromptForSelectionAsync("Select:", choices, choice => choice.Display, 393TestItem[] choices = [ 398var selected = await interaction.PromptForSelectionAsync("Select:", choices, choice => choice.Display, 430TestItem[] choices = [new("first", "Same (same) - first"), new("second", "Same (same) - second")]; 432var selected = await interaction.PromptForSelectionAsync("Select:", choices, choice => choice.Display, 592TestItem[] choices = [new("first", "first"), new("second", "second")]; 594var selected = await interaction.PromptForSelectionAsync("Select:", choices, choice => choice.Display, 2260var result = ConsoleInteractionService.MatchChoice("id1", choices, c => c.Display); 2691TestItem[] clients = [