174 references to IntegrationTestHelpers
Aspire.Dashboard.Tests (174)
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 (39)
40await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 55await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 67await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 86await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 120var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 123await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory); 154await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 191await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 207await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 232await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 265await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 292var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper); 298await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 337await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 352await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 370await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 396app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 428using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.FrontendSingleEndPointAccessor().EndPoint}", testOutputHelper); 452app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 502app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 554await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 576await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 595await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 614await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 658await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 685await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 739await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 787await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 802using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.FrontendSingleEndPointAccessor().EndPoint}"); 829var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(testOutputHelper, testSink); 852app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 922await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 944await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 963await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1008await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1044await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 1057await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1071await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 1176await 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}");
Shared\TerminalTestHost.cs (1)
36_app = IntegrationTestHelpers.CreateDashboardWebApplication(output,
TelemetryRepositoryTests\LogTests.cs (1)
960var loggerFactory = IntegrationTestHelpers.CreateLoggerFactory(_testOutputHelper);