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
@@ -11,7 +11,7 @@ using ZB.MOM.WW.ScadaBridge.HealthMonitoring;
namespace ZB.MOM.WW.ScadaBridge.DataConnectionLayer.Tests;
/// <summary>
/// WP2.1b — the alarm subscriber first-segment bucket index must make EXACTLY the routing
/// The alarm subscriber first-segment bucket index must make EXACTLY the routing
/// decisions the previous linear scan made. The expectation in each case is computed with
/// the original rule (plain <c>StartsWith</c> against every subscribed source), so the
/// test pins equivalence rather than restating the new implementation.
@@ -53,6 +53,7 @@ public class DataConnectionActorAlarmIndexTests : TestKit
transitionSourceObjectRef.StartsWith(sourceRef, StringComparison.Ordinal)
|| transitionSourceRef.StartsWith(sourceRef, StringComparison.Ordinal);
/// <summary>Verifies that the bucket index routes exactly as the previous linear scan did.</summary>
[Fact]
public void BucketIndex_RoutesExactlyLikeTheLinearScan()
{
@@ -98,6 +99,7 @@ public class DataConnectionActorAlarmIndexTests : TestKit
probes[source].ExpectNoMsg(TimeSpan.FromMilliseconds(200));
}
/// <summary>Verifies that a snapshot-complete message is still broadcast to every subscriber, bypassing the index.</summary>
[Fact]
public void SnapshotComplete_StillBroadcastsToEverySubscriber_BypassingTheIndex()
{
@@ -137,6 +139,7 @@ public class DataConnectionActorAlarmIndexTests : TestKit
}
}
/// <summary>Verifies that an unsubscribed source is dropped from the index.</summary>
[Fact]
public void UnsubscribedSource_IsDroppedFromTheIndex()
{