47 references to Selection
Infrastructure.Tests (46)
TestTriggerMap\SelectTestsCliTests.cs (39)
10
/// Tests for the SelectTests CLI wiring (<see cref="
Selection
.Run"/>) — the argument handling and
71
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, forceAll: true, enforce: true));
90
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
114
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
140
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
174
var exit =
Selection
.Run(Options(
198
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
227
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
279
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
335
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
376
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
407
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
453
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
506
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
582
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
600
var field = typeof(
Selection
).GetField(
626
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
673
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
696
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: false, enforce: true)));
712
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
732
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
752
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
772
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
792
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
819
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
840
Selection
.Run(Options(repoRoot, propsPath, skipLayer1: true, enforce: true)));
861
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
902
Selection
.Run(Options(repoRoot, propsPath, from: advancedBaseSha, to: featureSha, skipLayer1: true, enforce: true));
946
exit =
Selection
.Run(Options(repoRoot, propsPath, from: unrelatedSha, to: baseSha, skipLayer1: true, enforce: true));
999
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true, forceAll: true, forceAllReason: reason));
1044
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: null, skipLayer1: true, enforce: true));
1085
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1123
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1141
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1162
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1182
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1211
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1246
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1260
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
TestTriggerMap\SelectTestsLayer1IntegrationTests.cs (6)
10
/// End-to-end integration of <see cref="
Selection
.Run"/> with Layer 1 (the in-process
43
var exit =
Selection
.Run(new RunOptions(
83
var exit =
Selection
.Run(new RunOptions(
137
var exit =
Selection
.Run(new RunOptions(
182
var exit =
Selection
.Run(new RunOptions(
245
var exit =
Selection
.Run(new RunOptions(
TestTriggerMap\TestTriggerMapTests.cs (1)
1147
var advisoryJobField = typeof(
Selection
).GetField(
SelectTests (1)
Program.cs (1)
115
return
Selection
.Run(new RunOptions(