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
@@ -13,6 +13,7 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests;
/// </summary>
public class ComponentRenderingTests : BunitContext
{
/// <summary>Verifies that the login page renders a form with username and password fields.</summary>
[Fact]
public void LoginPage_RendersForm_WithUsernameAndPasswordFields()
{
@@ -37,6 +38,7 @@ public class ComponentRenderingTests : BunitContext
Assert.Contains("Sign in", submitButton.TextContent);
}
/// <summary>Verifies that the login page does not render an alert when there is no error.</summary>
[Fact]
public void LoginPage_WithoutError_DoesNotRenderAlert()
{
@@ -45,6 +47,7 @@ public class ComponentRenderingTests : BunitContext
Assert.Throws<Bunit.ElementNotFoundException>(() => cut.Find("div.panel.notice.login-error"));
}
/// <summary>Verifies that the dashboard page requires an authorize attribute.</summary>
[Fact]
public void Dashboard_RequiresAuthorizeAttribute()
{
@@ -53,6 +56,7 @@ public class ComponentRenderingTests : BunitContext
Assert.NotEmpty(authorizeAttrs);
}
/// <summary>Verifies that the templates page requires the Design authorization policy.</summary>
[Fact]
public void TemplateEditor_RequiresDesignPolicy()
{
@@ -64,6 +68,7 @@ public class ComponentRenderingTests : BunitContext
Assert.Equal("RequireDesign", attr.Policy);
}
/// <summary>Verifies that the login page renders the ScadaBridge title.</summary>
[Fact]
public void LoginPage_RendersScadaBridgeTitle()
{