17 references to GetGitResolutions
Aspire.Cli.Tests (17)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (7)
68Assert.Empty(GetGitResolutions(git)); 95Assert.Empty(GetGitResolutions(git)); 123Assert.Equal([(repository, "HEAD^{}"), (repository, "refs/heads/release/17.0"), (repository, "refs/heads/v17.0")], GetGitResolutions(git)); 157Assert.Empty(GetGitResolutions(git)); 277Assert.Equal([(repository, "refs/heads/missing"), (repository, "refs/heads/v17.0")], GetGitResolutions(git)); 367Assert.Empty(GetGitResolutions(git)); 374Assert.Equal((repositoryUrl, expectedPattern), Assert.Single(GetGitResolutions(git)));
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (8)
44Assert.Empty(GetGitResolutions(git)); 67Assert.Empty(GetGitResolutions(git)); 98Assert.Equal((repository, "HEAD^{}"), Assert.Single(GetGitResolutions(git))); 136Assert.Equal(3, GetGitResolutions(git).Count); 218Assert.Equal([brokenRepository, workingRepository], GetGitResolutions(git).Select(call => call.Repository)); 266Assert.Single(GetGitResolutions(git)); 309Assert.Empty(GetGitResolutions(git)); 356Assert.Equal((repositoryUrl, "HEAD^{}"), Assert.Single(GetGitResolutions(git)));
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (1)
279Assert.Empty(GetGitResolutions(git));
Commands\NewCommandLocalTemplateTests.SourceList.cs (1)
55Assert.Empty(GetGitResolutions(git));