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:
@@ -21,6 +21,8 @@ public sealed class AkkaHealthReportTransportTests
|
||||
{
|
||||
private sealed class AckActor : ReceiveActor
|
||||
{
|
||||
/// <summary>Initializes the actor to acknowledge every health report with the given verdict.</summary>
|
||||
/// <param name="accepted">Whether the acknowledgement reports the report as accepted.</param>
|
||||
public AckActor(bool accepted) => Receive<SiteHealthReport>(r =>
|
||||
Sender.Tell(new SiteHealthReportAck(
|
||||
r.SiteId, r.SequenceNumber, accepted, accepted ? null : "rejected by test")));
|
||||
@@ -55,6 +57,8 @@ public sealed class AkkaHealthReportTransportTests
|
||||
return svc;
|
||||
}
|
||||
|
||||
/// <summary>Verifies that sending completes when central acknowledges the report as accepted.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task SendAsync_AckedAccepted_Completes()
|
||||
{
|
||||
@@ -68,6 +72,8 @@ public sealed class AkkaHealthReportTransportTests
|
||||
finally { await system.Terminate(); }
|
||||
}
|
||||
|
||||
/// <summary>Verifies that sending throws when central acknowledges the report as not accepted.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task SendAsync_AckedNotAccepted_Throws()
|
||||
{
|
||||
@@ -82,6 +88,8 @@ public sealed class AkkaHealthReportTransportTests
|
||||
finally { await system.Terminate(); }
|
||||
}
|
||||
|
||||
/// <summary>Verifies that sending throws when no actor responds.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task SendAsync_NoResponder_Throws()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user