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:
+9
@@ -15,6 +15,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
private static ValidateOptionsResult Validate(DeploymentManagerOptions options) =>
|
||||
new DeploymentManagerOptionsValidator().Validate(Options.DefaultName, options);
|
||||
|
||||
/// <summary>Verifies that the default options pass validation.</summary>
|
||||
[Fact]
|
||||
public void DefaultOptions_AreValid()
|
||||
{
|
||||
@@ -22,6 +23,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.True(result.Succeeded, result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero lifecycle command timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroLifecycleCommandTimeout_IsRejected()
|
||||
{
|
||||
@@ -30,6 +32,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("LifecycleCommandTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative lifecycle command timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativeLifecycleCommandTimeout_IsRejected()
|
||||
{
|
||||
@@ -38,6 +41,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("LifecycleCommandTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero per-site artifact deployment timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroArtifactDeploymentTimeoutPerSite_IsRejected()
|
||||
{
|
||||
@@ -46,6 +50,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("ArtifactDeploymentTimeoutPerSite", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero operation lock timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroOperationLockTimeout_IsRejected()
|
||||
{
|
||||
@@ -54,6 +59,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("OperationLockTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero site deployment reconcile timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroSiteDeploymentReconcileTimeout_IsRejected()
|
||||
{
|
||||
@@ -62,6 +68,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("SiteDeploymentReconcileTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative site deployment reconcile timeout is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativeSiteDeploymentReconcileTimeout_IsRejected()
|
||||
{
|
||||
@@ -73,6 +80,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("SiteDeploymentReconcileTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a zero pending-updates cache TTL is rejected.</summary>
|
||||
[Fact]
|
||||
public void ZeroPendingUpdatesCacheTtl_IsRejected()
|
||||
{
|
||||
@@ -84,6 +92,7 @@ public class DeploymentManagerOptionsValidatorTests
|
||||
Assert.Contains("PendingUpdatesCacheTtl", result.FailureMessage);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a negative pending-updates cache TTL is rejected.</summary>
|
||||
[Fact]
|
||||
public void NegativePendingUpdatesCacheTtl_IsRejected()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user