19 references to GetGitResolutions
Aspire.Cli.Tests (19)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (6)
68
Assert.Empty(
GetGitResolutions
(git));
116
Assert.Equal([(repository, "HEAD^{}"), (repository, "refs/heads/release/17.0"), (repository, "refs/heads/v17.0")],
GetGitResolutions
(git));
153
Assert.Empty(
GetGitResolutions
(git));
292
Assert.Equal([(repository, "refs/heads/missing"), (repository, "refs/heads/v17.0")],
GetGitResolutions
(git));
386
Assert.Empty(
GetGitResolutions
(git));
393
Assert.Equal((repositoryUrl, expectedPattern), Assert.Single(
GetGitResolutions
(git)));
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (9)
160
Assert.Equal(2,
GetGitResolutions
(git).Count);
185
Assert.Empty(
GetGitResolutions
(git));
234
Assert.Equal((repository, "HEAD^{}"), Assert.Single(
GetGitResolutions
(git)));
272
Assert.Equal(3,
GetGitResolutions
(git).Count);
363
Assert.Equal([brokenRepository, workingRepository],
GetGitResolutions
(git).Select(call => call.Repository));
411
Assert.Single(
GetGitResolutions
(git));
469
Assert.Empty(
GetGitResolutions
(git));
538
Assert.Equal((repositoryUrl, "HEAD^{}"), Assert.Single(
GetGitResolutions
(git)));
588
Assert.Equal(2,
GetGitResolutions
(git).Count);
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (2)
314
Assert.Empty(
GetGitResolutions
(git));
592
Assert.Empty(
GetGitResolutions
(git));
Commands\NewCommandLocalTemplateTests.SourceList.cs (1)
58
Assert.Empty(
GetGitResolutions
(git));
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (1)
278
Assert.Contains(
GetGitResolutions
(git), call => call == ("https://git.example/proof-templates", "refs/heads/templates/preview"));