9 instantiations of TestHostApplicationLifetime
Aspire.Hosting.Tests (9)
Dashboard\DashboardServiceTests.cs (8)
42
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), NullLogger<DashboardServiceImpl>.Instance);
95
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), NullLogger<DashboardServiceImpl>.Instance);
147
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
231
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
300
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
358
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
394
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
457
return new ResourceNotificationService(NullLogger<ResourceNotificationService>.Instance, new
TestHostApplicationLifetime
(), new ServiceCollection().BuildServiceProvider(), resourceLoggerService);
Utils\ResourceNotificationServiceTestHelpers.cs (1)
16
hostApplicationLifetime ?? new
TestHostApplicationLifetime
(),