10 instantiations of TestHostApplicationLifetime
Aspire.Hosting.Tests (10)
Dashboard\DashboardServiceTests.cs (9)
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>());
346
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
404
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
440
var dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new
TestHostApplicationLifetime
(), loggerFactory.CreateLogger<DashboardServiceImpl>());
503
return new ResourceNotificationService(NullLogger<ResourceNotificationService>.Instance, new
TestHostApplicationLifetime
(), new ServiceCollection().BuildServiceProvider(), resourceLoggerService);
Utils\ResourceNotificationServiceTestHelpers.cs (1)
16
hostApplicationLifetime ?? new
TestHostApplicationLifetime
(),