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:
+7
@@ -15,6 +15,8 @@ public class ManagementServiceOptionsValidatorTests
|
||||
private static ValidateOptionsResult Validate(ManagementServiceOptions options) =>
|
||||
new ManagementServiceOptionsValidator().Validate(Options.DefaultName, options);
|
||||
|
||||
/// <summary>Verifies that the long-running command timeout must leave a grace margin for the response.</summary>
|
||||
/// <param name="seconds">The long-running command timeout, in seconds.</param>
|
||||
[Theory]
|
||||
[InlineData(1)]
|
||||
[InlineData(5)]
|
||||
@@ -23,6 +25,7 @@ public class ManagementServiceOptionsValidatorTests
|
||||
Assert.True(Validate(new ManagementServiceOptions { LongRunningCommandTimeout = TimeSpan.FromSeconds(seconds) }).Failed);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the default options are valid.</summary>
|
||||
[Fact]
|
||||
public void DefaultOptions_AreValid()
|
||||
{
|
||||
@@ -30,6 +33,7 @@ public class ManagementServiceOptionsValidatorTests
|
||||
Assert.True(result.Succeeded, result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a non-positive secured-write pending TTL is valid.</summary>
|
||||
[Fact]
|
||||
public void NonPositiveSecuredWritePendingTtl_IsValid()
|
||||
{
|
||||
@@ -38,6 +42,7 @@ public class ManagementServiceOptionsValidatorTests
|
||||
Assert.True(result.Succeeded, result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero command timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroCommandTimeout_IsRejected()
|
||||
{
|
||||
@@ -47,6 +52,7 @@ public class ManagementServiceOptionsValidatorTests
|
||||
Assert.Contains("CommandTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative command timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativeCommandTimeout_IsRejected()
|
||||
{
|
||||
@@ -56,6 +62,7 @@ public class ManagementServiceOptionsValidatorTests
|
||||
Assert.Contains("CommandTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero long-running command timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroLongRunningCommandTimeout_IsRejected()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user