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
@@ -14,6 +14,7 @@ public class StoreAndForwardOptionsValidatorTests
private static ValidateOptionsResult Validate(StoreAndForwardOptions options) =>
new StoreAndForwardOptionsValidator().Validate(Options.DefaultName, options);
/// <summary>Verifies that the default options are valid.</summary>
[Fact]
public void DefaultOptions_AreValid()
{
@@ -21,6 +22,7 @@ public class StoreAndForwardOptionsValidatorTests
Assert.True(result.Succeeded, result.FailureMessage);
}
/// <summary>Verifies that a zero default retry interval is rejected.</summary>
[Fact]
public void ZeroDefaultRetryInterval_IsRejected()
{
@@ -30,6 +32,7 @@ public class StoreAndForwardOptionsValidatorTests
Assert.Contains("DefaultRetryInterval", result.FailureMessage);
}
/// <summary>Verifies that a zero retry timer interval is rejected.</summary>
[Fact]
public void ZeroRetryTimerInterval_IsRejected()
{
@@ -57,6 +60,8 @@ public class StoreAndForwardOptionsValidatorTests
// ── R2 T9: sweep-tuning eager validation (N4) ──
/// <summary>Verifies that a negative sweep batch limit fails validation.</summary>
/// <param name="limit">The negative sweep batch limit under test.</param>
[Theory]
[InlineData(-1)]
[InlineData(-500)]
@@ -67,6 +72,7 @@ public class StoreAndForwardOptionsValidatorTests
Assert.Contains("SweepBatchLimit", result.FailureMessage);
}
/// <summary>Verifies that a zero sweep batch limit is valid and means unlimited, as in the legacy behavior.</summary>
[Fact]
public void Validate_ZeroSweepBatchLimit_IsValidUnlimitedLegacy()
{
@@ -74,6 +80,8 @@ public class StoreAndForwardOptionsValidatorTests
Assert.True(result.Succeeded, result.FailureMessage);
}
/// <summary>Verifies that a non-positive sweep target parallelism fails validation.</summary>
/// <param name="parallelism">The non-positive parallelism value under test.</param>
[Theory]
[InlineData(0)]
[InlineData(-4)]
@@ -84,8 +92,10 @@ public class StoreAndForwardOptionsValidatorTests
Assert.Contains("SweepTargetParallelism", result.FailureMessage);
}
// ── WP2.6c: bounded observer queue capacity ──
// ── Bounded observer queue capacity ──
/// <summary>Verifies that a non-positive observer queue capacity fails validation.</summary>
/// <param name="capacity">The non-positive capacity value under test.</param>
[Theory]
[InlineData(0)]
[InlineData(-1)]