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:
@@ -24,6 +24,11 @@ public class EditingParityTests
|
||||
return root;
|
||||
}
|
||||
|
||||
/// <summary>Verifies that each command sends the exact management envelope with the expected command name and payload.</summary>
|
||||
/// <param name="arguments">The command-line arguments to run.</param>
|
||||
/// <param name="command">The expected management command name.</param>
|
||||
/// <param name="payload">The expected JSON payload.</param>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Theory]
|
||||
[InlineData("template resolved-members --id 12", "GetResolvedTemplateMembers", "{\"templateId\":12}")]
|
||||
[InlineData("template move --id 12 --folder-id 3", "MoveTemplateToFolder", "{\"templateId\":12,\"newFolderId\":3}")]
|
||||
@@ -74,6 +79,8 @@ public class EditingParityTests
|
||||
finally { listener.Stop(); }
|
||||
}
|
||||
|
||||
/// <summary>Verifies that missing or malformed arguments are rejected.</summary>
|
||||
/// <param name="arguments">The invalid command-line arguments to run.</param>
|
||||
[Theory]
|
||||
[InlineData("template resolved-members")]
|
||||
[InlineData("template move --id 12 --folder-id invalid")]
|
||||
|
||||
Reference in New Issue
Block a user