176 references to IntegrationTestHelpers
Aspire.Dashboard.Tests (176)
Integration\DashboardClientAuthTests.cs (2)
40var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper); 56var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);
Integration\FrontendBrowserTokenAuthTests.cs (8)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 85await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 109await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 134await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 161await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 233await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 260await 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)
17await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\McpServiceTests.cs (18)
30await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 33using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 60using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 76await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 83using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 99await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 106using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 128await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 131using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 160await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 167using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 196await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 199using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 214await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, 227using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}"); 250await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 264using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.McpEndPointAccessor().EndPoint}");
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); 241await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 248using var channel = IntegrationTestHelpers.CreateGrpcChannel( 270await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 279using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 296await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 314using var channel = IntegrationTestHelpers.CreateGrpcChannel( 335await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 350using var channel = IntegrationTestHelpers.CreateGrpcChannel( 374await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 389using var channel = IntegrationTestHelpers.CreateGrpcChannel(
Integration\OtlpHttpJsonTests.cs (16)
406await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 409using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 467await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 470using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 544await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 547using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 594await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 597using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 647await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 654using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 675await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 682using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 697await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 700using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 715await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 718using 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}"); 65await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 68using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 107await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 114using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 131await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 138using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 159await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 166using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 193await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 200using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", 224await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 253await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, 302await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 327await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 356await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 385await 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 (33)
38await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 70await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 107await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 123await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 144await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 172await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 199var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 205await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 243await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 258await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 279await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 315app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 347using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", testOutputHelper); 370app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 403using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", testOutputHelper); 450app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 500app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 552await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 570await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 589await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 608await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 651await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 678await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 735await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 775var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper, testSink); 798app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 872await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 894await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 913await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 958await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 994await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1007await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1027await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
Integration\TelemetryApiTests.cs (44)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 50await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 70await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 92await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 116await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 122using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 139await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 147using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 164await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 188await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 194using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 207await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 213using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 229await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 235using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 251await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 257using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 272await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 278using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 291await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 297using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 312await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 318using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 331await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 338using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 352await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 378await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 387using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 402await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 411using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 425await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 431using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 456await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 462using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 489await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 495using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 511await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 517using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 533await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 539using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 552await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 558using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 572await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 580using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}");
TelemetryRepositoryTests\LogTests.cs (1)
706var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);