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
@@ -13,6 +13,7 @@ public class NotificationOptionsValidatorTests
|
||||
private static ValidateOptionsResult Validate(NotificationOptions options) =>
|
||||
new NotificationOptionsValidator().Validate(Options.DefaultName, options);
|
||||
|
||||
/// <summary>Verifies that the default options pass validation.</summary>
|
||||
[Fact]
|
||||
public void DefaultOptions_AreValid()
|
||||
{
|
||||
@@ -20,6 +21,7 @@ public class NotificationOptionsValidatorTests
|
||||
Assert.True(result.Succeeded, result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero connection timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroConnectionTimeoutSeconds_IsRejected()
|
||||
{
|
||||
@@ -29,6 +31,7 @@ public class NotificationOptionsValidatorTests
|
||||
Assert.Contains("ConnectionTimeoutSeconds", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative connection timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativeConnectionTimeoutSeconds_IsRejected()
|
||||
{
|
||||
@@ -38,6 +41,7 @@ public class NotificationOptionsValidatorTests
|
||||
Assert.Contains("ConnectionTimeoutSeconds", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero maximum concurrent connection count is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroMaxConcurrentConnections_IsRejected()
|
||||
{
|
||||
@@ -47,6 +51,7 @@ public class NotificationOptionsValidatorTests
|
||||
Assert.Contains("MaxConcurrentConnections", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative maximum concurrent connection count is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativeMaxConcurrentConnections_IsRejected()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user