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:
+6
@@ -10,6 +10,8 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests.ScriptAnalysis;
|
||||
[Collection("Sandbox worker processes")]
|
||||
public class SandboxWorkerIsolationTests
|
||||
{
|
||||
/// <summary>Verifies that four busy workers reject a queued fifth request without starting another process.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task FourBusyWorkers_RejectQueuedFifthWithoutStartingAnotherProcess()
|
||||
{
|
||||
@@ -36,6 +38,8 @@ public class SandboxWorkerIsolationTests
|
||||
foreach (var result in await Task.WhenAll(workers)) Assert.True(result.Success, result.Error);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that an uncooperative broker still has its child killed at the deadline and keeps the lifetime until the broker completes.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task UncooperativeBroker_StillKillsChildAtDeadline_AndKeepsLifetimeUntilBrokerCompletes()
|
||||
{
|
||||
@@ -63,6 +67,8 @@ public class SandboxWorkerIsolationTests
|
||||
child?.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a non-cooperative worker is terminated and its capacity can be reused.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task NoncooperativeWorker_IsTerminated_AndCapacityCanBeReused()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user