13 writes to ArtifactId
AnalyzeCiFailure (1)
TestFailureReader.cs (1)
150
ArtifactId
= artifactId,
AnalyzeCiFailure.Tests (12)
AnalyzeCiFailureCSharpRerunTests.cs (1)
72
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }],
AnalyzeCiFailureFixtures.cs (1)
115
ArtifactId
= 8,
AnalyzeCiFailureMigrationTests.cs (6)
40
var copied = first with { Source = first.Source with {
ArtifactId
= 9, ResultFile = "copied.trx" } };
152
var copied = first with { Source = first.Source with {
ArtifactId
= 9, ResultFile = "copied.trx" } };
271
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = null }],
633
var second = first with { Source = first.Source with {
ArtifactId
= 9, ResultFile = "source-b.trx" } };
648
Source = first.Source with {
ArtifactId
= 9 },
669
ArtifactId
= 8,
AnalyzeCiFailureOverflowTests.cs (1)
263
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = null }],
AnalyzeCiFailureTransientContractTests.cs (3)
33
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }],
103
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "00001.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }],
160
Sources = [new TestResultSource {
ArtifactId
= 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = $"execution-{index}" }],
8 references to ArtifactId
AnalyzeCiFailure (6)
AnalysisValidator.cs (1)
304
test.Sources.IsDefaultOrEmpty || test.Sources.Any(source => source is null || source.
ArtifactId
<= 0 ||
TestFailureReader.cs (3)
187
$"job={input.JobId} artifact={source.
ArtifactId
} file={CiFailureJson.Display(DiagnosticTextSanitizer.Sanitize(source.ResultFile, limit: 80))}");
199
$"artifacts={previous.Raw.Source.
ArtifactId
},{source.
ArtifactId
} " +
WorkflowRunEvidenceCollector.cs (2)
274
GitHubJson.ReadRequiredId(selection.Artifact.Id) == conflict.Last().Source.
ArtifactId
);
280
$"artifacts={string.Join(',', conflict.Select(test => test.Source.
ArtifactId
.ToString(CultureInfo.InvariantCulture)).Distinct())}; " +
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureAlternateWorkflowTests.cs (2)
66
Assert.Equal(10, source.
ArtifactId
);
108
Assert.Equal([10L, 11L], copied.Sources.Select(source => source.
ArtifactId
));