176 references to IntegrationTestHelpers
Aspire.Dashboard.Tests (176)
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)
33await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 55await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 83await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 131await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 171await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 223await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 255await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 291await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 315await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 340await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 367await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 442await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 470await 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 (2)
98await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 131App = 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 (25)
33await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 36using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 61using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 76await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 83using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 103await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 110using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 131await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 139using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 161using var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper, testSink: testSink); 180await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, config => 186using var channel = IntegrationTestHelpers.CreateGrpcChannel($"http://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", loggerFactory); 249await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 255using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.FrontendSingleEndPointAccessor().EndPoint}"); 277await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 284using var channel = IntegrationTestHelpers.CreateGrpcChannel( 306await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 315using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.OtlpServiceGrpcEndPointAccessor().EndPoint}", _testOutputHelper); 332await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 350using var channel = IntegrationTestHelpers.CreateGrpcChannel( 371await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 386using var channel = IntegrationTestHelpers.CreateGrpcChannel( 410await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 425using 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 (21)
40await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 43using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 69await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 72using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 117await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 124using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 160await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 188await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 195using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 215await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 222using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 243await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 250using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}"); 277await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 284using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", 308await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 337await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, 386await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 411await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 440await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 469await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\ResponseCompressionTests.cs (2)
18await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 41await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\StartupTests.cs (40)
61await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 84await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 99await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 111await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 130await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 164var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 167await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory); 198await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 235await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 251await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 276await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 309await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 336var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 342await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 381await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 396await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 414await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 440app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 472using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", testOutputHelper); 496app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 546app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 598await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 620await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 639await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 658await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 702await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 729await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 783await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 831await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 846using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 873var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper, testSink); 896app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 966await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 988await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1007await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1052await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1088await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1101await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1115await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1227await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\TelemetryApiTests.cs (38)
31await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 78await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 84using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 101await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 109using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 126await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 152await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 158using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 174await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 180using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 196await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 202using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 217await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 223using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 236await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 242using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 257await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 263using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 276await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 283using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 297await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 323await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 332using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 346await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 352using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 377await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 383using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 410await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 416using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 432await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 438using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 454await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 460using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 473await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 479using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 493await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 501using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}");
Integration\TerminalWebSocketAuthenticationTests.cs (1)
25await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, config =>
Shared\TerminalTestHost.cs (1)
34_app = IntegrationTestHelpers.CreateDashboardWebApplication(output,
TelemetryRepositoryTests\LogTests.cs (1)
960var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);