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:
@@ -45,6 +45,8 @@ public class ConnectionBrowseCommandsTests
|
||||
return (root, captured);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the browse command builds a browse-node command addressed by site identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task Browse_BuildsBrowseNodeCommand_WithSiteIdentifier()
|
||||
{
|
||||
@@ -61,6 +63,8 @@ public class ConnectionBrowseCommandsTests
|
||||
Assert.Equal("ns=2;s=X", cmd.ParentNodeId);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that browsing without a node id starts from the address-space root.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task Browse_WithoutNodeId_BrowsesFromRoot()
|
||||
{
|
||||
@@ -76,6 +80,8 @@ public class ConnectionBrowseCommandsTests
|
||||
Assert.Null(cmd.ParentNodeId);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the search command builds a search-address-space command addressed by site identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task Search_BuildsSearchAddressSpaceCommand_WithSiteIdentifier()
|
||||
{
|
||||
@@ -98,6 +104,8 @@ public class ConnectionBrowseCommandsTests
|
||||
Assert.Equal(50, cmd.MaxResults);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that verify-endpoint reads the configuration JSON from a file and addresses the site by identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task VerifyEndpoint_ReadsConfigJsonFromFile_WithSiteIdentifier()
|
||||
{
|
||||
@@ -128,6 +136,8 @@ public class ConnectionBrowseCommandsTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that certs list builds a list-server-certs command addressed by site identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task CertsList_BuildsListServerCertsCommand_WithSiteIdentifier()
|
||||
{
|
||||
@@ -142,6 +152,8 @@ public class ConnectionBrowseCommandsTests
|
||||
Assert.Equal("SITE1", cmd.SiteIdentifier);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that certs trust base64-encodes the DER certificate file and addresses the site by identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task CertsTrust_Base64EncodesDerFile_WithSiteIdentifier()
|
||||
{
|
||||
@@ -173,6 +185,8 @@ public class ConnectionBrowseCommandsTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that certs remove builds a remove-server-cert command addressed by site identifier.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task CertsRemove_BuildsRemoveServerCertCommand_WithSiteIdentifier()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user