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:
@@ -4,7 +4,7 @@ using ZB.MOM.WW.ScadaBridge.CLI.Commands;
|
||||
namespace ZB.MOM.WW.ScadaBridge.CLI.Tests.Commands;
|
||||
|
||||
/// <summary>
|
||||
/// PLAN-07 Task 17 (arch-review P3): <c>secured-write list</c> must expose <c>--skip</c>
|
||||
/// <c>secured-write list</c> must expose <c>--skip</c>
|
||||
/// / <c>--take</c> offset-paging options alongside the <c>--status</c> / <c>--site</c>
|
||||
/// filters, and map them onto <see cref="Commons.Messages.Management.ListSecuredWritesCommand"/>.
|
||||
/// Omitting the paging flags preserves the historical unpaged default (skip 0, take 200).
|
||||
@@ -23,6 +23,7 @@ public class SecuredWriteListCommandTests
|
||||
private static Option? FindOption(Command command, string name)
|
||||
=> command.Options.SingleOrDefault(o => o.Name == name);
|
||||
|
||||
/// <summary>Verifies that the list command exposes the skip and take options.</summary>
|
||||
[Fact]
|
||||
public void List_HasSkipAndTakeOptions()
|
||||
{
|
||||
@@ -31,6 +32,7 @@ public class SecuredWriteListCommandTests
|
||||
Assert.NotNull(FindOption(list, "--take"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the list command parses skip, take and filters and forwards them to the command.</summary>
|
||||
[Fact]
|
||||
public void List_ParsesSkipTakeAndFilters_ForwardsToCommand()
|
||||
{
|
||||
@@ -47,6 +49,7 @@ public class SecuredWriteListCommandTests
|
||||
Assert.Equal(25, command.Take);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that omitting the paging options uses the unpaged defaults.</summary>
|
||||
[Fact]
|
||||
public void List_OmittedPaging_UsesUnpagedDefaults()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user