20 writes to InspectConfiguration
Aspire.Cli.Tests (20)
Backchannel\AppHostConnectionResolverTests.cs (1)
35var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") };
Commands\ConfigSourceCommandTests.cs (6)
61git.InspectConfiguration = (_, _) => timeout 104git.InspectConfiguration = async (_, token) => 332git.InspectConfiguration = (_, _) => throw new ConfigSourceException(ConfigSourceStrings.AuthenticationFailed); 413git.InspectConfiguration = (_, _) => Task.FromResult("version-2"); 663git.InspectConfiguration = (source, _) => 969git.InspectConfiguration = (source, _) =>
Configuration\ConfigSourceServiceTests.cs (13)
61InspectConfiguration = (source, _) => 105InspectConfiguration = (_, _) => Task.FromResult("version-2") 188InspectConfiguration = async (source, token) => 287InspectConfiguration = (source, _) => 346git.InspectConfiguration = (_, _) => Task.FromResult("version-3"); 378InspectConfiguration = async (_, token) => 420InspectConfiguration = (_, token) => 982var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1010var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1031var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-2") }; 1088git.InspectConfiguration = (_, _) => Task.FromResult(revalidateCachedObservation ? "version-2" : "version-1"); 1118git.InspectConfiguration = (_, _) => throw new ConfigSourceException(ConfigSourceStrings.AuthenticationFailed); 1187var git = new TestConfigSourceRepository { InspectConfiguration = (_, _) => Task.FromResult("version-3") };
1 reference to InspectConfiguration
Aspire.Cli.Tests (1)
TestServices\TestConfigSourceServices.cs (1)
127version = await InspectConfiguration(source, cancellationToken);