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:
@@ -16,6 +16,7 @@ public class NodeIdentityProviderTests
|
||||
return new NodeIdentityProvider(options);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the provider returns the configured node name.</summary>
|
||||
[Fact]
|
||||
public void NodeIdentityProvider_returns_configured_NodeName()
|
||||
{
|
||||
@@ -24,6 +25,7 @@ public class NodeIdentityProviderTests
|
||||
Assert.Equal("central-a", provider.NodeName);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the provider returns null when the node name is not set.</summary>
|
||||
[Fact]
|
||||
public void NodeIdentityProvider_returns_null_when_NodeName_unset()
|
||||
{
|
||||
@@ -32,6 +34,7 @@ public class NodeIdentityProviderTests
|
||||
Assert.Null(provider.NodeName);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the provider returns null when the node name is only whitespace.</summary>
|
||||
[Fact]
|
||||
public void NodeIdentityProvider_returns_null_when_NodeName_whitespace()
|
||||
{
|
||||
@@ -40,6 +43,7 @@ public class NodeIdentityProviderTests
|
||||
Assert.Null(provider.NodeName);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the provider trims surrounding whitespace from the node name.</summary>
|
||||
[Fact]
|
||||
public void NodeIdentityProvider_trims_whitespace()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user