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
@@ -4,7 +4,7 @@ using ZB.MOM.WW.ScadaBridge.SiteRuntime.Tracking;
namespace ZB.MOM.WW.ScadaBridge.SiteRuntime.Tests.Tracking;
/// <summary>
/// LocalDb Phase 1 (Task 2) — the <c>OperationTracking</c> DDL is extracted out of
/// LocalDb Phase 1 — the <c>OperationTracking</c> DDL is extracted out of
/// <see cref="OperationTrackingStore"/> so it can also be applied from the Host's
/// <c>AddZbLocalDb</c> onReady callback, which owns table creation for the consolidated
/// site database. These tests pin the extracted schema against the shape the store has
@@ -35,6 +35,7 @@ public class OperationTrackingSchemaTests
return cols;
}
/// <summary>Verifies that applying the schema creates the table with the expected columns.</summary>
[Fact]
public void Apply_CreatesTableWithExpectedColumns()
{
@@ -52,6 +53,7 @@ public class OperationTrackingSchemaTests
cols.Select(c => c.Name));
}
/// <summary>Verifies that the schema uses a text primary key.</summary>
[Fact]
public void Apply_UsesTextPrimaryKey()
{
@@ -66,6 +68,7 @@ public class OperationTrackingSchemaTests
Assert.Equal("TEXT", pk.Type);
}
/// <summary>Verifies that the schema has no blob columns.</summary>
[Fact]
public void Apply_HasNoBlobColumns()
{
@@ -80,6 +83,7 @@ public class OperationTrackingSchemaTests
c => c.Type.Contains("BLOB", StringComparison.OrdinalIgnoreCase));
}
/// <summary>Verifies that applying the schema creates the expected indexes.</summary>
[Fact]
public void Apply_CreatesExpectedIndexes()
{
@@ -100,6 +104,7 @@ public class OperationTrackingSchemaTests
indexes);
}
/// <summary>Verifies that applying the schema repeatedly is idempotent.</summary>
[Fact]
public void Apply_IsIdempotent()
{
@@ -111,6 +116,7 @@ public class OperationTrackingSchemaTests
Assert.Equal(13, TableInfo(conn, "OperationTracking").Count);
}
/// <summary>Verifies that applying the schema adds the SourceNode column to a legacy table that lacks it.</summary>
[Fact]
public void Apply_AddsSourceNodeToLegacyTableMissingIt()
{