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