docs(tests): fix CommentChecker findings across tests/ — 13,392 → 0 (repo-wide scan clean)
Comment/XML-doc changes only: - add summaries to ~10k test methods, fixtures, fakes and helpers (+ <param> on theories, <returns> on async Task methods, <inheritdoc/> on interface implementations the checker can resolve) - strip ~2.6k project-tracking references (WP*, P*-*, row-NN, Task N, #NN, Component-0NN) from comments, keeping the explanatory text; reword false positives in comments only - real docs on fakes implementing BCL/library interfaces (IDisposable, ILogger, IOptionsMonitor, IAsyncLifetime) - reword the last 5 src/ false positives (CWE-1236, failures-1, year-0001, M365) Only non-comment edits: four one-line nested classes split across lines so members can carry docs. Build 0 errors / 0 warnings.
This commit is contained in:
@@ -17,6 +17,7 @@ public class SiteCommandDtoMapperTraceTests
|
||||
{
|
||||
private static readonly DateTimeOffset T = new(2026, 9, 5, 12, 0, 0, TimeSpan.Zero);
|
||||
|
||||
/// <summary>Verifies that a route-to-call response round-trips its child execution id and trace events.</summary>
|
||||
[Fact]
|
||||
public void RouteToCallResponse_RoundTrips_ChildExecutionId_AndTraceEvents()
|
||||
{
|
||||
@@ -43,6 +44,7 @@ public class SiteCommandDtoMapperTraceTests
|
||||
Assert.Equal(run, restored.TraceEvents[0]);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that old-shape DTOs map to untraced defaults.</summary>
|
||||
[Fact]
|
||||
public void OldShapeDtos_MapToUntracedDefaults()
|
||||
{
|
||||
@@ -70,6 +72,7 @@ public class SiteCommandDtoMapperTraceTests
|
||||
Assert.Null(reply.TraceEvents);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the trace flag propagates on both request types.</summary>
|
||||
[Fact]
|
||||
public void TraceFlag_PropagatesOnBothRequests()
|
||||
{
|
||||
@@ -82,6 +85,7 @@ public class SiteCommandDtoMapperTraceTests
|
||||
Assert.True(SiteCommandDtoMapper.FromProto(SiteCommandDtoMapper.ToProto(set)).Trace);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that an empty trace events list maps to null rather than an empty list.</summary>
|
||||
[Fact]
|
||||
public void EmptyTraceEventsList_MapsToNull_NotEmpty()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user