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
@@ -73,6 +73,7 @@ public class EwsResponseParserTests
</s:Envelope>
""";
/// <summary>Verifies that a success response parses to a success result with no error.</summary>
[Fact]
public void Parse_SuccessResponse_ReturnsSuccessWithNoError()
{
@@ -82,6 +83,7 @@ public class EwsResponseParserTests
Assert.Equal("NoError", result.ResponseCode);
}
/// <summary>Verifies that an error response parses to an error result with its code and message.</summary>
[Fact]
public void Parse_ErrorResponse_ReturnsErrorWithCodeAndMessage()
{
@@ -92,6 +94,7 @@ public class EwsResponseParserTests
Assert.Equal("server busy", result.MessageText);
}
/// <summary>Verifies that a SOAP fault with a detail response code parses to a fault carrying that code.</summary>
[Fact]
public void Parse_SoapFaultWithDetailResponseCode_ReturnsFaultWithCode()
{
@@ -102,6 +105,7 @@ public class EwsResponseParserTests
Assert.Equal("The request failed schema validation.", result.MessageText);
}
/// <summary>Verifies that a SOAP fault without a response code parses to a fault with a null code.</summary>
[Fact]
public void Parse_SoapFaultWithoutResponseCode_ReturnsFaultWithNullCode()
{
@@ -112,6 +116,7 @@ public class EwsResponseParserTests
Assert.Equal("An internal server error occurred.", result.MessageText);
}
/// <summary>Verifies that a payload containing a DTD entity declaration is rejected as unparseable.</summary>
[Fact]
public void Parse_PayloadWithDtdEntityDeclaration_IsRejectedAsUnparseable()
{
@@ -152,6 +157,8 @@ public class EwsResponseParserTests
Assert.Null(result.MessageText);
}
/// <summary>Verifies that a garbage or unrelated payload is reported as unparseable.</summary>
/// <param name="body">The response body under test.</param>
[Theory]
[InlineData("not xml")]
[InlineData("")]