20 references to TrustedJob
AnalyzeCiFailure.Tests (20)
AnalyzeCiFailureRuleTests.cs (20)
73RequireExactJobCoverage(analysis, [TrustedJob("1", "Tests"), TrustedJob("2", "Tests")], Run("pull-request")); 93[TrustedJob("1", "Tests"), TrustedJob("2", "Build")], 108[TrustedJob("1", "Tests")], 121[TrustedJob("1", "Tests")], 141RequireExactTestCoverage(analysis, collected, [TrustedJob("1", "Linux"), TrustedJob("2", "Windows")]); 156ImmutableArray<FailedJob> jobs = [TrustedJob("1", "Linux"), TrustedJob("2", "Windows")]; 176RequireExactTestCoverage(Analysis("code-issue", [Job("1", "code-issue")]), [], [TrustedJob("1", "Build")]); 207ValidateCauseCompatibility(cause, analysis, [TrustedJob("1", "Tests")], Run(scope)); 222var error = Assert.Throws<ValidationException>(() => ValidateCauseCompatibility(cause, analysis, [TrustedJob("1", "Tests")], Run("main"))); 239[TrustedJob("1", "Linux"), TrustedJob("2", "Windows")], 254var error = Assert.Throws<ValidationException>(() => ValidateCauseCompatibility(cause, analysis, [TrustedJob("1", "Tests")], Run(scope))); 266[TrustedJob("1", "Build")], 332ImmutableArray<FailedJob> jobs = [TrustedJob("1", "Tests")]; 450ImmutableArray<FailedJob> jobs = [TrustedJob("1", "Tests"), TrustedJob("2", "Tests")];