8 references to DisplayedErrors
Aspire.Cli.Tests (8)
Commands\AddCommandTests.cs (1)
444
Assert.Contains(testInteractionService.
DisplayedErrors
, e => e.Contains(AddCommandStrings.NoIntegrationPackagesFound));
Commands\NewCommandTests.cs (3)
572
Assert.Contains(testInteractionService.
DisplayedErrors
, e => e.Contains(TemplatingStrings.NoTemplateVersionsFound));
1410
Assert.Single(interactionService.
DisplayedErrors
);
1411
Assert.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)
522
var displayedError = Assert.Single(consoleService.
DisplayedErrors
);
Commands\UpdateCommandTests.cs (2)
672
Assert.NotEmpty(testInteractionService.
DisplayedErrors
);
673
var errorMessage = Assert.Single(testInteractionService.
DisplayedErrors
);
TestServices\TestInteractionService.cs (1)
145
DisplayedErrors
.Add(errorMessage);