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
@@ -50,6 +50,7 @@ VALUES (@user, @action, @entityType, @entityId, @entityName, @afterState, @ts, @
/// "MSSQL unavailable" message instead of an opaque SqlException. Mirrors
/// <see cref="AuditDataSeeder.IsAvailableAsync"/>.
/// </summary>
/// <returns>A task whose result is <c>true</c> when the configuration database accepts a connection; otherwise <c>false</c>.</returns>
public static async Task<bool> IsAvailableAsync()
{
try
@@ -77,6 +78,7 @@ VALUES (@user, @action, @entityType, @entityId, @entityName, @afterState, @ts, @
/// <param name="bundleId">Bundle import id stamped on the extra bundle rows.</param>
/// <param name="bulkCount">Number of bulk rows (default 55 — spans two pages at 50/page).</param>
/// <param name="bundleRows">Number of extra rows carrying the bundle import id (default 2).</param>
/// <returns>A task that represents the asynchronous operation.</returns>
public static async Task SeedAsync(string marker, Guid bundleId, int bulkCount = 55, int bundleRows = 2)
{
await using var connection = new SqlConnection(ConnectionString);
@@ -126,6 +128,8 @@ VALUES (@user, @action, @entityType, @entityId, @entityName, @afterState, @ts, @
/// should not fail teardown. Mirrors
/// <see cref="AuditDataSeeder.DeleteByTargetPrefixAsync"/>.
/// </summary>
/// <param name="marker">The unique per-test marker whose rows are deleted.</param>
/// <returns>A task that represents the asynchronous operation.</returns>
public static async Task DeleteByMarkerAsync(string marker)
{
try