1 implementation of GetBranchClassificationsAsync
Microsoft.DotNet.Build.Tasks.Feed (1)
src\ProductionChannelValidator.cs (1)
442public async Task<BranchClassificationResponse> GetBranchClassificationsAsync(string organizationName, string projectId, string repositoryId)
15 references to GetBranchClassificationsAsync
Microsoft.DotNet.Build.Tasks.Feed (1)
src\ProductionChannelValidator.cs (1)
236var branchClassifications = await _branchClassificationService.GetBranchClassificationsAsync(
Microsoft.DotNet.Build.Tasks.Feed.Tests (14)
ProductionChannelValidatorTests.cs (14)
141_mockBranchClassificationService.Verify(x => x.GetBranchClassificationsAsync(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>()), Times.Never); 164.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 181_mockBranchClassificationService.Verify(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456"), Times.Once); 209_mockBranchClassificationService.Verify(x => x.GetBranchClassificationsAsync(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>()), Times.Never); 232.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 280_mockBranchClassificationService.Verify(x => x.GetBranchClassificationsAsync(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>()), Times.Never); 342.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 400.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 430.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 481.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 521.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 560.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 594.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456")) 664.Setup(x => x.GetBranchClassificationsAsync("dnceng", "project-guid-123", "repo-guid-456"))