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
@@ -16,7 +16,7 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Pages;
/// <summary>
/// bUnit tests for <see cref="ExecutionTreePage"/> (Audit Log ParentExecutionId
/// feature, Task 10). The page is reached via the "View execution chain"
/// feature). The page is reached via the "View execution chain"
/// drill-in at <c>/audit/execution-tree?executionId={guid}</c>. It parses the
/// query-string id, calls <see cref="IAuditLogQueryService.GetExecutionTreeAsync"/>,
/// and hands the flat node list to the <c>ExecutionTree</c> component.
@@ -68,6 +68,7 @@ public class ExecutionTreePageTests : BunitContext
rowCount == 0 ? null : new DateTime(2026, 5, 20, 12, 0, 0, DateTimeKind.Utc),
rowCount == 0 ? null : new DateTime(2026, 5, 20, 12, 0, 5, DateTimeKind.Utc));
/// <summary>Verifies that navigating with an execution id calls the service and renders the tree.</summary>
[Fact]
public void NavigateWithExecutionId_CallsService_AndRendersTree()
{
@@ -91,6 +92,7 @@ public class ExecutionTreePageTests : BunitContext
});
}
/// <summary>Verifies that navigating without an execution id renders the guidance prompt and makes no service call.</summary>
[Fact]
public void NavigateWithoutExecutionId_RendersGuidancePrompt_NoServiceCall()
{
@@ -102,6 +104,7 @@ public class ExecutionTreePageTests : BunitContext
_queryService.DidNotReceive().GetExecutionTreeAsync(Arg.Any<Guid>(), Arg.Any<CancellationToken>());
}
/// <summary>Verifies that navigating with an unparseable execution id renders the guidance prompt and makes no service call.</summary>
[Fact]
public void NavigateWithUnparseableExecutionId_RendersGuidancePrompt_NoServiceCall()
{
@@ -113,6 +116,7 @@ public class ExecutionTreePageTests : BunitContext
_queryService.DidNotReceive().GetExecutionTreeAsync(Arg.Any<Guid>(), Arg.Any<CancellationToken>());
}
/// <summary>Verifies that double-clicking a tree node opens the execution detail modal.</summary>
[Fact]
public void DoubleClickTreeNode_OpensExecutionDetailModal()
{
@@ -147,6 +151,7 @@ public class ExecutionTreePageTests : BunitContext
Arg.Any<CancellationToken>());
}
/// <summary>Verifies that closing the execution detail modal hides it.</summary>
[Fact]
public void ClosingExecutionDetailModal_HidesIt()
{
@@ -175,6 +180,7 @@ public class ExecutionTreePageTests : BunitContext
Assert.Empty(cut.FindAll("[data-test=\"execution-detail-modal\"]")));
}
/// <summary>Verifies that the page carries the operational-audit authorize attribute.</summary>
[Fact]
public void ExecutionTreePage_HasOperationalAuditAuthorizeAttribute()
{