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