19 references to GetGitFetches
Aspire.Cli.Tests (19)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (8)
69Assert.Empty(GetGitFetches(git)); 96Assert.Empty(GetGitFetches(git)); 124Assert.Equal(TestGitCommandRunner.DefaultCommitSha, Assert.Single(GetGitFetches(git)).CommitSha); 158Assert.Empty(GetGitFetches(git)); 204Assert.Single(GetGitFetches(git)); 236Assert.Equal(2, GetGitFetches(git).Count); 237var missingPath = Path.Combine(GetGitFetches(git)[0].Destination.FullName, "templates", "missing"); 278Assert.Single(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (9)
45Assert.Empty(GetGitFetches(git)); 68Assert.Empty(GetGitFetches(git)); 99var clone = Assert.Single(GetGitFetches(git)); 132Assert.Single(GetGitFetches(git)); 137Assert.Equal([TestGitCommandRunner.DefaultCommitSha, changedCommit], GetGitFetches(git).Select(call => call.CommitSha)); 220GetGitFetches(git).Select(call => call.Repository)); 267Assert.Equal(cancelResolution ? 0 : 1, GetGitFetches(git).Count); 310Assert.Empty(GetGitFetches(git)); 357Assert.Single(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (1)
278Assert.Empty(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.SourceList.cs (1)
56Assert.Empty(GetGitFetches(git));