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:
@@ -19,6 +19,7 @@ public class ApiKeysListPageTests : BunitContext
|
||||
{
|
||||
private readonly IInboundApiKeyAdmin _admin = Substitute.For<IInboundApiKeyAdmin>();
|
||||
|
||||
/// <summary>Initializes the test context and registers the fake API key seam.</summary>
|
||||
public ApiKeysListPageTests()
|
||||
{
|
||||
Services.AddSingleton(_admin);
|
||||
@@ -40,6 +41,7 @@ public class ApiKeysListPageTests : BunitContext
|
||||
string keyId, string name, bool enabled, params string[] methods) =>
|
||||
new(keyId, name, enabled, methods, DateTimeOffset.UnixEpoch, null);
|
||||
|
||||
/// <summary>Verifies that the list renders the keys from the seam and shows no key hash column.</summary>
|
||||
[Fact]
|
||||
public void List_RendersKeysFromSeam_WithNoKeyHashColumn()
|
||||
{
|
||||
@@ -76,6 +78,8 @@ public class ApiKeysListPageTests : BunitContext
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>Verifies that toggling a key calls SetEnabled on the seam.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task ToggleKey_CallsSetEnabledOnSeam()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user