164 references to IntegrationTestHelpers
Aspire.Dashboard.Tests (164)
Integration\BlazorWebSocketOriginTests.cs (2)
19await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 34await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\DashboardClientAuthTests.cs (2)
41var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper); 58var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);
Integration\FrontendBrowserTokenAuthTests.cs (13)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 82await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 130await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 169await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 220await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 252await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 287await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 311await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 336await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 363await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 438await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 466await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\FrontendOpenIdConnectAuthTests.cs (2)
21await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 65await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\HealthTests.cs (1)
91App = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\OtlpCorsHttpServiceTests.cs (8)
24await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 27using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 45await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 51using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 86await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 92using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 113await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 120using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}");
Integration\OtlpGrpcServiceTests.cs (23)
31await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 34using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 52await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 59using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 74await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 81using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 101await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 108using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 129await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 137using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 159using var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper, testSink: testSink); 178await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, config => 184using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", loggerFactory); 247await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 254using var channel = IntegrationTestHelpers.CreateGrpcChannel( 276await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 285using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 302await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 320using var channel = IntegrationTestHelpers.CreateGrpcChannel( 341await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 356using var channel = IntegrationTestHelpers.CreateGrpcChannel( 380await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 395using var channel = IntegrationTestHelpers.CreateGrpcChannel(
Integration\OtlpHttpJsonTests.cs (18)
502await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 505using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 562await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 565using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 639await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 642using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 689await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 692using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 741await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 744using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 827await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 834using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 855await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 862using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 877await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 880using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 895await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 898using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}");
Integration\OtlpHttpServiceTests.cs (18)
39await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 42using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 68await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 71using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 113await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 120using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 137await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 144using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 165await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 172using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 199await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 206using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", 230await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 259await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, 308await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 333await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 362await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 391await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\ResponseCompressionTests.cs (2)
18await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 40await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\StartupTests.cs (36)
39await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 51await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 70await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 104var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 107await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory); 138await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 175await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 191await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 216await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 249await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 276var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 282await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 321await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 336await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 357await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 391app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 423using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", testOutputHelper); 447app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 497app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 549await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 571await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 590await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 609await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 653await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 680await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 734await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 782await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 797using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 824var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper, testSink); 847app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 917await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 939await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 958await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1003await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1039await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1052await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\TelemetryApiTests.cs (38)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 55await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 79await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 85using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 102await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 110using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 127await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 151await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 157using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 173await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 179using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 195await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 201using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 216await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 222using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 235await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 241using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 256await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 262using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 275await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 282using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 296await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 322await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 331using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 345await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 351using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 376await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 382using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 409await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 415using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 431await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 437using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 453await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 459using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 472await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 478using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 492await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 500using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}");
TelemetryRepositoryTests\LogTests.cs (1)
960var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);