24 references to GetGitFetches
Aspire.Cli.Tests (24)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (7)
69Assert.Empty(GetGitFetches(git)); 117Assert.Equal(TestGitCommandRunner.DefaultCommitSha, Assert.Single(GetGitFetches(git)).CommitSha); 154Assert.Empty(GetGitFetches(git)); 210Assert.Single(GetGitFetches(git)); 242Assert.Equal(2, GetGitFetches(git).Count); 243var missingPath = Path.Combine(GetGitFetches(git)[0].Destination.FullName, "templates", "missing"); 293Assert.Single(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (13)
68Assert.Equal([firstRepository, secondRepository], GetGitFetches(git).Select(fetch => fetch.Repository)); 127Assert.Single(GetGitFetches(git)); 159Assert.Single(GetGitFetches(git)); 186Assert.Empty(GetGitFetches(git)); 235var clone = Assert.Single(GetGitFetches(git)); 268Assert.Single(GetGitFetches(git)); 273Assert.Equal([TestGitCommandRunner.DefaultCommitSha, changedCommit], GetGitFetches(git).Select(call => call.CommitSha)); 365GetGitFetches(git).Select(call => call.Repository)); 412Assert.Equal(cancelResolution ? 0 : 1, GetGitFetches(git).Count); 470Assert.Empty(GetGitFetches(git)); 539Assert.Single(GetGitFetches(git)); 589Assert.Equal(2, GetGitFetches(git).Count); 644Assert.Equal(2, GetGitFetches(git).Count);
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (2)
313Assert.Empty(GetGitFetches(git)); 593Assert.Empty(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.SourceList.cs (1)
59Assert.Empty(GetGitFetches(git));
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (1)
279Assert.Equal("https://git.example/proof-templates", Assert.Single(GetGitFetches(git)).Repository);