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:
@@ -26,6 +26,8 @@ public class ExternalSystemRetryOptionTests
|
||||
private static Option? FindOption(Command command, string name)
|
||||
=> command.Options.SingleOrDefault(o => o.Name == name);
|
||||
|
||||
/// <summary>Verifies that the create and update subcommands expose the optional retry-policy options.</summary>
|
||||
/// <param name="subcommand">The name of the subcommand under test.</param>
|
||||
[Theory]
|
||||
[InlineData("create")]
|
||||
[InlineData("update")]
|
||||
@@ -42,6 +44,7 @@ public class ExternalSystemRetryOptionTests
|
||||
Assert.False(retryDelay!.Required);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the create subcommand parses the supplied retry-policy values.</summary>
|
||||
[Fact]
|
||||
public void Create_ParsesRetryPolicyValues()
|
||||
{
|
||||
@@ -56,6 +59,7 @@ public class ExternalSystemRetryOptionTests
|
||||
Assert.Equal(60, parse.GetValue<int?>("--retry-delay-seconds"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the update subcommand parses the supplied retry-policy values.</summary>
|
||||
[Fact]
|
||||
public void Update_ParsesRetryPolicyValues()
|
||||
{
|
||||
@@ -70,6 +74,7 @@ public class ExternalSystemRetryOptionTests
|
||||
Assert.Equal(10, parse.GetValue<int?>("--retry-delay-seconds"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the retry-delay option alias is accepted by the parser.</summary>
|
||||
[Fact]
|
||||
public void RetryDelayAliasIsAccepted()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user