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