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:
+5
@@ -8,6 +8,8 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Deployment;
|
||||
/// </summary>
|
||||
public class InstanceConfigureBindingRowsTests
|
||||
{
|
||||
/// <summary>Reads the InstanceConfigure page markup from the source tree.</summary>
|
||||
/// <returns>The full text of <c>InstanceConfigure.razor</c>.</returns>
|
||||
internal static string ReadMarkup()
|
||||
{
|
||||
var dir = AppContext.BaseDirectory;
|
||||
@@ -18,6 +20,7 @@ public class InstanceConfigureBindingRowsTests
|
||||
|
||||
private static string Markup => ReadMarkup();
|
||||
|
||||
/// <summary>Verifies that binding rows come from the flattened configuration rather than the template attributes.</summary>
|
||||
[Fact]
|
||||
public void BindingRows_ComeFromFlattenedConfiguration_NotTemplateAttributes()
|
||||
{
|
||||
@@ -29,6 +32,7 @@ public class InstanceConfigureBindingRowsTests
|
||||
Assert.Contains("DefaultDataSourceReference", m);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that binding rows fall back to direct attributes with a warning banner when flattening fails.</summary>
|
||||
[Fact]
|
||||
public void BindingRows_FallBackToDirectAttributes_WithBanner_WhenFlattenFails()
|
||||
{
|
||||
@@ -37,6 +41,7 @@ public class InstanceConfigureBindingRowsTests
|
||||
Assert.Contains("data-test=\"binding-source-warning\"", m);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that save and test cover every binding row.</summary>
|
||||
[Fact]
|
||||
public void SaveAndTest_CoverEveryRow()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user