70 references to GetCurrentInteractions
Aspire.Hosting.Tests (70)
Dashboard\DashboardServiceTests.cs (6)
671Assert.Empty(interactionService.GetCurrentInteractions()); 696var interaction = Assert.Single(interactions.GetCurrentInteractions()); 709Assert.Same(interaction, Assert.Single(interactions.GetCurrentInteractions())); 1243var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1282var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1347var interaction = Assert.Single(interactionService.GetCurrentInteractions());
InteractionServiceTests.cs (42)
30var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 41Assert.Empty(interactionService.GetCurrentInteractions()); 55var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 66Assert.Empty(interactionService.GetCurrentInteractions()); 84Assert.Collection(interactionService.GetCurrentInteractions(), 104Assert.Collection(interactionService.GetCurrentInteractions(), 112Assert.Equal(id3.Value, Assert.Single(interactionService.GetCurrentInteractions()).InteractionId); 117Assert.Empty(interactionService.GetCurrentInteractions()); 137var interaction1 = Assert.Single(interactionService.GetCurrentInteractions()); 141Assert.Equal(2, interactionService.GetCurrentInteractions().Count); 142var interaction2 = interactionService.GetCurrentInteractions()[1]; 149Assert.Equal(interaction2.InteractionId, Assert.Single(interactionService.GetCurrentInteractions()).InteractionId); 157Assert.Empty(interactionService.GetCurrentInteractions()); 204Assert.Empty(interactionService.GetCurrentInteractions()); 480var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 506var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 529var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 552var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 573var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 596var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 629var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 966var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1149var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1252Assert.Empty(interactionService.GetCurrentInteractions()); 1277var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1282Assert.Empty(interactionService.GetCurrentInteractions()); 1313var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1318Assert.Empty(interactionService.GetCurrentInteractions()); 1352Assert.Empty(interactionService.GetCurrentInteractions()); 1363var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1372Assert.Empty(interactionService.GetCurrentInteractions()); 1386var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1393Assert.Empty(interactionService.GetCurrentInteractions()); 1404var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1460var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1488var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1513var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1532var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1556var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1580var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1603var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1632var interaction = Assert.Single(interactionService.GetCurrentInteractions());
ResourceCommandServiceTests.cs (2)
1372var interaction = Assert.Single(interactionService.GetCurrentInteractions()); 1409Assert.Empty(interactionService.GetCurrentInteractions());
Terminals\InteractionServiceTerminalTests.cs (20)
30Assert.Empty(service.GetCurrentInteractions()); 42Assert.Empty(service.GetCurrentInteractions()); 56Assert.Empty(service.GetCurrentInteractions()); 120var interaction = Assert.Single(service.GetCurrentInteractions()); 126Assert.Empty(service.GetCurrentInteractions()); 138Assert.Single(service.GetCurrentInteractions()); 147Assert.Empty(service.GetCurrentInteractions()); 164var interaction = Assert.Single(service.GetCurrentInteractions()); 175Assert.Empty(service.GetCurrentInteractions()); 195Assert.Empty(service.GetCurrentInteractions()); 207var interaction = Assert.Single(service.GetCurrentInteractions()); 214Assert.Empty(service.GetCurrentInteractions()); 243var interaction = Assert.Single(service.GetCurrentInteractions()); 257Assert.Empty(service.GetCurrentInteractions()); 325Assert.Empty(service.GetCurrentInteractions()); 352Assert.Empty(service.GetCurrentInteractions()); 371var interaction = Assert.Single(service.GetCurrentInteractions()); 402var interaction = Assert.Single(service.GetCurrentInteractions()); 410Assert.Same(interaction, Assert.Single(service.GetCurrentInteractions())); 428Assert.Empty(service.GetCurrentInteractions());