8 instantiations of TestHostApplicationLifetime
Aspire.Hosting.Tests (8)
Dashboard\DashboardLifecycleHookTests.cs (1)
124new TestHostApplicationLifetime(),
Dashboard\DashboardServiceTests.cs (4)
32var resourceNotificationService = new ResourceNotificationService(NullLogger<ResourceNotificationService>.Instance, new TestHostApplicationLifetime(), new ServiceCollection().BuildServiceProvider(), resourceLoggerService); 34var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<DashboardService>.Instance); 84var resourceNotificationService = new ResourceNotificationService(loggerFactory.CreateLogger<ResourceNotificationService>(), new TestHostApplicationLifetime(), new ServiceCollection().BuildServiceProvider(), resourceLoggerService); 86var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardService>());
ResourceNotificationTests.cs (2)
266using var hostApplicationLifetime = new TestHostApplicationLifetime(); 281using var hostApplicationLifetime = new TestHostApplicationLifetime();
Utils\ResourceNotificationServiceTestHelpers.cs (1)
16hostApplicationLifetime ?? new TestHostApplicationLifetime(),
2 references to TestHostApplicationLifetime
Aspire.Hosting.Tests (2)
ResourceNotificationTests.cs (2)
266using var hostApplicationLifetime = new TestHostApplicationLifetime(); 281using var hostApplicationLifetime = new TestHostApplicationLifetime();