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:
Joseph Doherty
2026-10-07 15:05:49 -04:00
parent 0ffd4bdbea
commit 513fa1aa16
998 changed files with 17896 additions and 2395 deletions
@@ -31,6 +31,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
private readonly SharedScriptLibrary _sharedScriptLibrary;
private readonly TestLocalDb _localDb;
/// <summary>Initializes the test with a temporary site database and the script services.</summary>
public InstanceActorTraceArmTests()
{
_localDb = TestLocalDb.CreateTemp("instance-tracearm-test");
@@ -40,6 +41,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
_sharedScriptLibrary = new SharedScriptLibrary(_compilationService, NullLogger<SharedScriptLibrary>.Instance);
}
/// <inheritdoc />
void IDisposable.Dispose()
{
Shutdown();
@@ -107,6 +109,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
m => m.AttributeName == "Processed" && Equals(m.Value, value), TimeSpan.FromSeconds(10));
}
/// <summary>Verifies that a traced data write followed by its echo publishes a change stamped with the source and trace.</summary>
[Fact]
public void TracedDataWrite_ThenEcho_PublishesChangeStampedWithSourceAndTrace()
{
@@ -122,6 +125,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
Assert.True(published.SourceExecutionInferred);
}
/// <summary>Verifies that an untraced data write followed by its echo publishes an unstamped change.</summary>
[Fact]
public void UntracedDataWrite_ThenEcho_PublishesUnstampedChange()
{
@@ -183,6 +187,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
Assert.True(published.Trace);
}
/// <summary>Verifies that the trace arm is consumed only once.</summary>
[Fact]
public void Arm_IsConsumedOnce()
{
@@ -199,6 +204,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
Assert.False(second.Trace);
}
/// <summary>Verifies that an expired trace arm is ignored.</summary>
[Fact]
[Trait("Category", "Slow")]
public void Arm_Expired_IsIgnored()
@@ -213,6 +219,7 @@ public class InstanceActorTraceArmTests : TestKit, IDisposable
Assert.False(published.Trace);
}
/// <summary>Verifies that a traced static write publishes the trace flag.</summary>
[Fact]
public void StaticWrite_Traced_PublishesTraceFlag()
{