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:
+8
@@ -27,6 +27,7 @@ public class DeploymentManagerRouteTraceTests : TestKit, IDisposable
|
||||
private readonly SharedScriptLibrary _sharedScriptLibrary;
|
||||
private readonly TestLocalDb _localDb;
|
||||
|
||||
/// <summary>Creates a temporary LocalDb-backed site storage and the script services the actors need.</summary>
|
||||
public DeploymentManagerRouteTraceTests()
|
||||
{
|
||||
_localDb = TestLocalDb.CreateTemp("dm-route-trace-test");
|
||||
@@ -36,6 +37,7 @@ public class DeploymentManagerRouteTraceTests : TestKit, IDisposable
|
||||
_sharedScriptLibrary = new SharedScriptLibrary(_compilationService, NullLogger<SharedScriptLibrary>.Instance);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
Shutdown();
|
||||
@@ -67,6 +69,8 @@ public class DeploymentManagerRouteTraceTests : TestKit, IDisposable
|
||||
return actor;
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a traced route call returns the child execution id and the inline trace events.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task RouteCall_WithTrace_ReturnsChildExecutionId_AndInlineTraceEvents()
|
||||
{
|
||||
@@ -92,6 +96,8 @@ public class DeploymentManagerRouteTraceTests : TestKit, IDisposable
|
||||
Assert.All(rows, r => Assert.Equal(response.ChildExecutionId, r.ExecutionId));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that an untraced route call returns the execution id but no trace events.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task RouteCall_WithoutTrace_ReturnsExecutionId_ButNoTraceEvents()
|
||||
{
|
||||
@@ -105,6 +111,8 @@ public class DeploymentManagerRouteTraceTests : TestKit, IDisposable
|
||||
Assert.Null(response.TraceEvents);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that routing a set-attributes request forwards the trace flag on the command.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task RouteSetAttributes_ForwardsTraceFlag_OnTheCommand()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user