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,7 +11,7 @@ using ZB.MOM.WW.ScadaBridge.Host.Actors;
|
||||
namespace ZB.MOM.WW.ScadaBridge.Host.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// PLAN-01 Task 20 (review 01 underdeveloped #2): with SBR down-if-alone +
|
||||
/// With SBR down-if-alone +
|
||||
/// run-coordinated-shutdown-when-down live, a self-downed node terminates its
|
||||
/// ActorSystem out from under the still-running Host process. Unless the process
|
||||
/// then exits, the node idles forever — serving nothing, restarted by nobody.
|
||||
@@ -53,6 +53,8 @@ public sealed class UnexpectedTerminationTests
|
||||
lifetime);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the host application is stopped when the actor system terminates outside of a stop request.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task ActorSystemTerminatedOutsideStopAsync_StopsHostApplication()
|
||||
{
|
||||
@@ -69,6 +71,8 @@ public sealed class UnexpectedTerminationTests
|
||||
lifetime.Received(1).StopApplication();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a normal stop does not trigger an application stop.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task StopAsync_DoesNotTriggerStopApplication()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user