27 references to IntegrationHostTestConnection
Aspire.Hosting.RemoteHost.Tests (27)
ExternalCapabilityRegistryTests.cs (24)
121using var connection = new IntegrationHostTestConnection(JsonSerializer.SerializeToElement(new 161using var connection = new IntegrationHostTestConnection(JsonSerializer.SerializeToElement(payload)); 407using var replacement = new IntegrationHostTestConnection(CreateCallbackCapabilities()); 421using var connection = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 437using var connection = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 454using var original = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 467using var replacement = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 526using var original = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 527using var replacement = new IntegrationHostTestConnection(JsonSerializer.SerializeToElement(new 553using var original = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 556using var replacement = new IntegrationHostTestConnection(JsonSerializer.SerializeToElement(payload)); 579using var original = new IntegrationHostTestConnection(CreateCapabilities("test.external/value")); 601using var first = new IntegrationHostTestConnection(CreateCapabilities("test.external/first")); 602using var second = new IntegrationHostTestConnection(CreateCapabilities("test.external/second")); 801using var connection = new IntegrationHostTestConnection(payload.RootElement); 819using var successfulConnection = new IntegrationHostTestConnection(CreateCapabilities("test.external/partial")); 838using var firstConnection = new IntegrationHostTestConnection(differentHosts 841using var secondConnection = new IntegrationHostTestConnection( 866using var firstConnection = new IntegrationHostTestConnection(CreateCapabilities("test.external/existing")); 867using var secondConnection = new IntegrationHostTestConnection( 885using var connection = new IntegrationHostTestConnection(payload); 909using var firstConnection = new IntegrationHostTestConnection(CreateCapabilities("test.external/z", "test.external/a")); 910using var secondConnection = new IntegrationHostTestConnection(CreateCapabilities("test.external/m")); 947using var connection = new IntegrationHostTestConnection(payload.RootElement);
IntegrationHostLauncherTests.cs (3)
111using var secondConnection = new IntegrationHostTestConnection( 139using var connection = new IntegrationHostTestConnection( 159using var connection = new IntegrationHostTestConnection(