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:
Joseph Doherty
2026-10-07 15:05:49 -04:00
parent 0ffd4bdbea
commit 513fa1aa16
998 changed files with 17896 additions and 2395 deletions
@@ -35,6 +35,7 @@ public class DeploymentStatusTableProjectionTests
PageSize: rowCount),
new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase });
/// <summary>Verifies that projection: unwraps the envelope to a row array.</summary>
[Fact]
public void Projection_UnwrapsTheEnvelopeToARowArray()
{
@@ -47,6 +48,7 @@ public class DeploymentStatusTableProjectionTests
Assert.Equal("Line3.Pump1", doc.RootElement[0].GetProperty("instanceUniqueName").GetString());
}
/// <summary>Verifies that projection, when page is a strict subset, appends a total note.</summary>
[Fact]
public void Projection_WhenPageIsAStrictSubset_AppendsATotalNote()
{
@@ -59,6 +61,7 @@ public class DeploymentStatusTableProjectionTests
Assert.Contains("--page-size", note);
}
/// <summary>Verifies that projection, when page is the whole result, emits no note column.</summary>
[Fact]
public void Projection_WhenPageIsTheWholeResult_EmitsNoNoteColumn()
{
@@ -69,6 +72,7 @@ public class DeploymentStatusTableProjectionTests
e => Assert.False(e.TryGetProperty("note", out _)));
}
/// <summary>Verifies that projection, when accepts a bare row array, from a pre-envelope server.</summary>
[Fact]
public void Projection_AcceptsABareRowArray_FromAPreEnvelopeServer()
{
@@ -79,6 +83,8 @@ public class DeploymentStatusTableProjectionTests
.GetProperty("deploymentId").GetString());
}
/// <summary>Verifies that projection: leaves unrecognised bodies untouched.</summary>
/// <param name="body">The body.</param>
[Theory]
[InlineData("not json at all")]
[InlineData("""{"error":"boom"}""")]