8 instantiations of TestHostApplicationLifetime
Aspire.Hosting.Tests (8)
Dashboard\DashboardServiceTests.cs (7)
43
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), NullLogger<DashboardServiceImpl>.Instance);
96
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), NullLogger<DashboardServiceImpl>.Instance);
148
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
232
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
301
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
337
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
400
return new ResourceNotificationService(NullLogger<ResourceNotificationService>.Instance, new
TestHostApplicationLifetime
(), new ServiceCollection().BuildServiceProvider(), resourceLoggerService);
Utils\ResourceNotificationServiceTestHelpers.cs (1)
16
hostApplicationLifetime ?? new
TestHostApplicationLifetime
(),