8 references to DisplayedErrors
Aspire.Cli.Tests (8)
Commands\AddCommandTests.cs (1)
444Assert.Contains(testInteractionService.DisplayedErrors, e => e.Contains(AddCommandStrings.NoIntegrationPackagesFound));
Commands\NewCommandTests.cs (3)
572Assert.Contains(testInteractionService.DisplayedErrors, e => e.Contains(TemplatingStrings.NoTemplateVersionsFound)); 1410Assert.Single(interactionService.DisplayedErrors); 1411Assert.Equal("Automatic 'aspire restore' failed for the new TypeScript starter project. Run 'aspire restore' in the project directory for more details.", interactionService.DisplayedErrors[0]);
Commands\PublishCommandPromptingIntegrationTests.cs (1)
522var displayedError = Assert.Single(consoleService.DisplayedErrors);
Commands\UpdateCommandTests.cs (2)
672Assert.NotEmpty(testInteractionService.DisplayedErrors); 673var errorMessage = Assert.Single(testInteractionService.DisplayedErrors);
TestServices\TestInteractionService.cs (1)
145DisplayedErrors.Add(errorMessage);