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
@@ -10,6 +10,7 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared;
/// </summary>
public class TemplateFolderTreeRevealKeysTests : BunitContext
{
/// <summary>Initializes a new instance of the <c>TemplateFolderTreeRevealKeysTests</c> class.</summary>
public TemplateFolderTreeRevealKeysTests()
{
JSInterop.Mode = JSRuntimeMode.Loose;
@@ -25,6 +26,8 @@ public class TemplateFolderTreeRevealKeysTests : BunitContext
return (new() { a, b, other }, new() { t7, t8 });
}
/// <summary>Verifies that a change to extra node metadata rebuilds the forest and survives filtering.</summary>
/// <returns>The result.</returns>
[Fact]
public void ExtraNodeMetadataChange_RebuildsAndSurvivesFiltering()
{
@@ -45,6 +48,8 @@ public class TemplateFolderTreeRevealKeysTests : BunitContext
Assert.Equal("inherited:2", node.Key);
}
/// <summary>Verifies that repeated parameters preserve the forest while an in-place rename rebuilds it.</summary>
/// <returns>The result.</returns>
[Fact]
public void RepeatedParameters_PreserveForest_ButInPlaceRenameRebuilds()
{
@@ -60,6 +65,8 @@ public class TemplateFolderTreeRevealKeysTests : BunitContext
Assert.Contains("Renamed", cut.Markup);
}
/// <summary>Verifies that all folders start collapsed when no reveal keys are given.</summary>
/// <returns>The result.</returns>
[Fact]
public void WithoutRevealKeys_AllFoldersStartCollapsed()
{
@@ -69,6 +76,8 @@ public class TemplateFolderTreeRevealKeysTests : BunitContext
Assert.DoesNotContain("Elsewhere", cut.Markup);
}
/// <summary>Verifies that reveal keys expand only the ancestors of the listed template.</summary>
/// <returns>The result.</returns>
[Fact]
public void RevealKeys_ExpandsOnlyTheAncestorsOfTheListedTemplate()
{
@@ -80,6 +89,8 @@ public class TemplateFolderTreeRevealKeysTests : BunitContext
Assert.DoesNotContain("Elsewhere", cut.Markup); // Other untouched
}
/// <summary>Verifies that an active filter wins over reveal keys.</summary>
/// <returns>The result.</returns>
[Fact]
public void ActiveFilter_WinsOverRevealKeys()
{