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
@@ -4,7 +4,7 @@ using ZB.MOM.WW.ScadaBridge.Commons.Types.Enums;
namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Deployment;
/// <summary>
/// MV-14: the Instance Configure attribute-override panel uses the shared
/// The Instance Configure attribute-override panel uses the shared
/// <c>AttributeListEditor</c> for a List attribute (whole-list replacement; the
/// element type is fixed by the base attribute, so the type select is hidden via
/// <c>ShowElementType="false"</c>). Loading an existing override decodes its JSON
@@ -30,6 +30,7 @@ public class InstanceConfigureListOverrideTests
}
}
/// <summary>Verifies that list override, reveals shared editor, with element type hidden.</summary>
[Fact]
public void ListOverride_RevealsSharedEditor_WithElementTypeHidden()
{
@@ -45,6 +46,7 @@ public class InstanceConfigureListOverrideTests
Assert.Contains("RowsChanged=\"@(r => OnListRowsChanged(attr.Name, r))\"", markup);
}
/// <summary>Verifies that list override, decodes on load, and encodes on save with guard.</summary>
[Fact]
public void ListOverride_DecodesOnLoad_AndEncodesOnSaveWithGuard()
{
@@ -59,6 +61,7 @@ public class InstanceConfigureListOverrideTests
Assert.Contains("_overrideErrors", markup);
}
/// <summary>Verifies that list override, clear removes the override row.</summary>
[Fact]
public void ListOverride_ClearRemovesTheOverrideRow()
{
@@ -70,6 +73,7 @@ public class InstanceConfigureListOverrideTests
Assert.Contains("HasOverrideRow", markup);
}
/// <summary>Verifies that non list override, keeps single input ux.</summary>
[Fact]
public void NonListOverride_KeepsSingleInputUx()
{
@@ -79,6 +83,7 @@ public class InstanceConfigureListOverrideTests
Assert.Contains("OnOverrideChanged(attr.Name, e)", markup);
}
/// <summary>Verifies that encoded rows, round trip through codec, as the page does.</summary>
[Fact]
public void EncodedRows_RoundTripThroughCodec_AsThePageDoes()
{
@@ -103,6 +108,7 @@ public class InstanceConfigureListOverrideTests
Assert.Equal(json, reEncoded);
}
/// <summary>Verifies that malformed list element, surfaces format exception, for inline error.</summary>
[Fact]
public void MalformedListElement_SurfacesFormatException_ForInlineError()
{