Skip to content

Commit e2a8eb3

Browse files
committed
consistent Output in header - clear that does not come from FCC
1 parent 2c4cdf7 commit e2a8eb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FineCodeCoverageTests/CoverletDataCollectorUtil_RunAsync_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public async Task Should_Use_The_ProcessResponseProcessor_Async()
280280
mockProcesUtil.Setup(p => p.ExecuteAsync(It.IsAny<ExecuteRequest>(), ct).Result).Returns(executeResponse);
281281
var mockProcessResponseProcessor = mocker.GetMock<IProcessResponseProcessor>();
282282

283-
var logTitle = "Coverlet Collector Run (TestProject)";
283+
var logTitle = "Coverlet Collector Run (TestProject) - Output";
284284
mockProcessResponseProcessor.Setup(rp => rp.Process(executeResponse, It.IsAny<Func<int, bool>>(), true, logTitle, It.IsAny<Action>()));
285285

286286
await coverletDataCollectorUtil.RunAsync(ct);

SharedProject/Core/Coverlet/DataCollector/CoverletDataCollectorUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public async Task RunAsync(CancellationToken cancellationToken)
260260
// https://github.com/dotnet/sdk/blob/936935f18c3540ed77c97e392780a9dd82aca441/src/Cli/dotnet/commands/dotnet-test/Program.cs#L86
261261

262262
// test failure has exit code 1
263-
processResponseProcessor.Process(result, code => code == 0 || code == 1, true, GetLogTitle(), () =>
263+
processResponseProcessor.Process(result, code => code == 0 || code == 1, true, $"{GetLogTitle()} - Output", () =>
264264
{
265265
coverletDataCollectorGeneratedCobertura.CorrectPath(coverageProject.CoverageOutputFolder, coverageProject.CoverageOutputFile);
266266
});

SharedProject/Core/OpenCover/OpenCoverUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public async Task RunOpenCoverAsync(ICoverageProject project, CancellationToken
9797
throw new Exception(result.Output);
9898
}
9999

100-
logger.Log(title, result.Output);
100+
logger.Log($"{title} - Output", result.Output);
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)