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,6 +5,7 @@ namespace ZB.MOM.WW.ScadaBridge.CLI.Tests;
|
||||
[Collection("Environment")]
|
||||
public class CliConfigTests
|
||||
{
|
||||
/// <summary>Verifies that loading configuration with no overrides defaults the output format to JSON.</summary>
|
||||
[Fact]
|
||||
public void Load_DefaultFormat_IsJson()
|
||||
{
|
||||
@@ -28,6 +29,7 @@ public class CliConfigTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the management URL is read from the environment.</summary>
|
||||
[Fact]
|
||||
public void Load_ManagementUrl_FromEnvironment()
|
||||
{
|
||||
@@ -46,6 +48,7 @@ public class CliConfigTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the output format is read from the environment.</summary>
|
||||
[Fact]
|
||||
public void Load_Format_FromEnvironment()
|
||||
{
|
||||
@@ -65,7 +68,7 @@ public class CliConfigTests
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CLI-021 regression: a malformed ~/.scadabridge/config.json must NOT abort the
|
||||
/// Regression: a malformed ~/.scadabridge/config.json must NOT abort the
|
||||
/// CLI before any command runs — Load() must warn (to stderr) and return a
|
||||
/// usable default config so command-line overrides (--url, --username, etc.)
|
||||
/// and env vars can still take effect.
|
||||
|
||||
Reference in New Issue
Block a user