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:
@@ -11,6 +11,8 @@ public class ActiveNodeEvaluatorTests : IAsyncLifetime
|
||||
{
|
||||
private ActorSystem? _system;
|
||||
|
||||
/// <summary>Starts the test actor system and cluster before the tests run.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
public async Task InitializeAsync()
|
||||
{
|
||||
var port = FreePort();
|
||||
@@ -31,8 +33,11 @@ akka {{
|
||||
await Task.Delay(100);
|
||||
}
|
||||
|
||||
/// <summary>Terminates the test actor system.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
public async Task DisposeAsync() { if (_system != null) await _system.Terminate(); }
|
||||
|
||||
/// <summary>Verifies that the sole Up member is considered the oldest Up member.</summary>
|
||||
[Fact]
|
||||
public void SelfIsOldestUp_SoleUpMember_ReturnsTrue()
|
||||
{
|
||||
@@ -41,6 +46,7 @@ akka {{
|
||||
Assert.True(ActiveNodeEvaluator.SelfIsOldestUp(cluster, "site-x"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a node that does not hold the requested role is not considered the oldest Up member.</summary>
|
||||
[Fact]
|
||||
public void SelfIsOldestUp_RoleNotHeld_ReturnsFalse()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user