18 writes to InspectConfiguration
Aspire.Cli.Tests (18)
Backchannel\AppHostConnectionResolverTests.cs (1)
38var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") };
Commands\ConfigSourceCommandTests.cs (6)
158git.InspectConfiguration = (_, _) => timeout 201git.InspectConfiguration = async (_, token) => 520git.InspectConfiguration = (_, _) => throw new ConfigSourceException(ConfigSourceStrings.AuthenticationFailed); 602git.InspectConfiguration = (_, _) => Task.FromResult("version-2"); 1034git.InspectConfiguration = (source, _) => 1345git.InspectConfiguration = (source, _) =>
Configuration\ConfigSourceServiceTests.cs (11)
335git.InspectConfiguration = (source, _) => 434git.InspectConfiguration = (source, _) => 482git.InspectConfiguration = (_, _) => Task.FromResult("version-3"); 514InspectConfiguration = async (_, token) => 556InspectConfiguration = (_, token) => 1537var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1565var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1588var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1648git.InspectConfiguration = (_, _) => Task.FromResult(revalidateCachedObservation ? "version-2" : "version-1"); 1678git.InspectConfiguration = (_, _) => throw new ConfigSourceException(ConfigSourceStrings.AuthenticationFailed); 1802var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-3") };
1 reference to InspectConfiguration
Aspire.Cli.Tests (1)
TestServices\TestConfigSourceServices.cs (1)
130version = await InspectConfiguration(source, cancellationToken);