13 references to AcquireAsync
Aspire.Cli.Tests (13)
Configuration\ConfigSourceServiceGitTests.cs (13)
65var error = await Assert.ThrowsAsync<ConfigSourceException>(() => client.AcquireAsync(source, workspace.Path, TestContext.Current.CancellationToken)); 100var error = await Assert.ThrowsAsync<ConfigSourceException>(() => client.AcquireAsync(source, workspace.Path, TestContext.Current.CancellationToken, time)); 146: client.AcquireAsync(source, workspace.Path, cancellation.Token, time); 386var (commit, version, configuration) = await client.AcquireAsync( 467var (_, _, configuration) = await client.AcquireAsync( 498await Assert.ThrowsAsync<ConfigSourceException>(() => CreateClient(TestHelpers.CreateNonInteractiveHostEnvironment()).AcquireAsync( 508var error = await Assert.ThrowsAsync<ConfigSourceException>(() => CreateClient(TestHelpers.CreateNonInteractiveHostEnvironment()).AcquireAsync( 527var (_, _, configuration) = await client.AcquireAsync(source, cache.FullName, TestContext.Current.CancellationToken); 533client.AcquireAsync(source, cache.FullName, TestContext.Current.CancellationToken)); 553var (commit, _, configuration) = await client.AcquireAsync( 571var (commit, _, configuration) = await client.AcquireAsync( 629var error = await Assert.ThrowsAsync<ConfigSourceException>(() => client.AcquireAsync( 650var error = await Assert.ThrowsAsync<ConfigSourceException>(() => CreateClient(TestHelpers.CreateNonInteractiveHostEnvironment()).AcquireAsync(