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