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
@@ -20,7 +20,7 @@ using TemplateEditPage = ZB.MOM.WW.ScadaBridge.CentralUI.Components.Pages.Design
namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Design;
/// <summary>
/// bUnit tests for the template editor's READ-ONLY inheritance preview (M9-T26b):
/// bUnit tests for the template editor's READ-ONLY inheritance preview:
/// rendering the FULL transitively-resolved inherited member set (not just the
/// immediate base) annotated with origin, plus a read-only base-changed staleness
/// banner. The resolve query is dispatched through
@@ -41,6 +41,7 @@ public class TemplateEditInheritedSetTests : BunitContext
private const int DerivedId = 30;
private const int BaseId = 20;
/// <summary>Initializes the bUnit context and registers the fakes and services the template editor needs.</summary>
public TemplateEditInheritedSetTests()
{
Services.AddSingleton(_repo);
@@ -121,6 +122,7 @@ public class TemplateEditInheritedSetTests : BunitContext
_resolve.ResolveAsync(DerivedId, Arg.Any<CancellationToken>())
.Returns(Task.FromResult<ResolvedTemplateMembers?>(resolved));
/// <summary>Verifies that transitively inherited members are rendered with an origin annotation.</summary>
[Fact]
public void Renders_TransitivelyInheritedMembers_WithOriginAnnotation()
{
@@ -167,6 +169,7 @@ public class TemplateEditInheritedSetTests : BunitContext
});
}
/// <summary>Verifies that the effective alarm trigger configuration is rendered from the resolved set.</summary>
[Fact]
public void Renders_EffectiveAlarmTriggerConfiguration_FromResolvedSet()
{
@@ -203,6 +206,7 @@ public class TemplateEditInheritedSetTests : BunitContext
});
}
/// <summary>Verifies that the staleness banner is shown when the resolved set is stale.</summary>
[Fact]
public void Shows_StalenessBanner_WhenResolvedSetIsStale()
{
@@ -235,6 +239,7 @@ public class TemplateEditInheritedSetTests : BunitContext
});
}
/// <summary>Verifies that no staleness banner is shown when the resolved set is not stale.</summary>
[Fact]
public void NoStalenessBanner_WhenResolvedSetIsNotStale()
{