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
@@ -22,6 +22,12 @@ public class NotificationParityTests
return root;
}
/// <summary>Verifies that each invocation sends the dedicated command contract with the expected payload property.</summary>
/// <param name="arguments">The command-line arguments to invoke.</param>
/// <param name="command">The expected command type name.</param>
/// <param name="property">The payload property to check.</param>
/// <param name="expected">The expected value of that property.</param>
/// <returns>A task that represents the asynchronous operation.</returns>
[Theory]
[InlineData("rename --id 7 --name Operators", "RenameNotificationListCommand", "notificationListId", "7")]
[InlineData("recipient add --list-id 7 --name Jane --email jane@example.com", "AddNotificationRecipientCommand", "name", "Jane")]
@@ -50,6 +56,9 @@ public class NotificationParityTests
}
}
/// <summary>Verifies that explicitly supplied SMS policy values, including zero, are forwarded.</summary>
/// <param name="verb">The sms subcommand verb under test.</param>
/// <returns>A task that represents the asynchronous operation.</returns>
[Theory]
[InlineData("create --auth-token secret")]
[InlineData("update --id 8")]
@@ -62,6 +71,8 @@ public class NotificationParityTests
Assert.Equal(JsonValueKind.Null, payload.GetProperty("fromNumber").ValueKind);
}
/// <summary>Verifies that SMTP create forwards all optional fields.</summary>
/// <returns>A task that represents the asynchronous operation.</returns>
[Fact]
public async Task SmtpCreateForwardsAllOptionalFields()
{
@@ -72,6 +83,8 @@ public class NotificationParityTests
Assert.Equal("Smtp", payload.GetProperty("transport").GetString());
}
/// <summary>Verifies that omitted SMTP create options are sent as null so the server applies its defaults.</summary>
/// <returns>A task that represents the asynchronous operation.</returns>
[Fact]
public async Task SmtpCreateOmittedOptionsUseServerDefaults()
{
@@ -80,6 +93,9 @@ public class NotificationParityTests
Assert.Equal(JsonValueKind.Null, payload.GetProperty(name).ValueKind);
}
/// <summary>Verifies that an omitted SMS policy and omitted secrets remain null in the payload.</summary>
/// <param name="verb">The sms subcommand verb under test.</param>
/// <returns>A task that represents the asynchronous operation.</returns>
[Theory]
[InlineData("create --auth-token secret")]
[InlineData("update --id 8")]
@@ -91,6 +107,8 @@ public class NotificationParityTests
if (verb.StartsWith("update")) Assert.Equal(JsonValueKind.Null, payload.GetProperty("authToken").ValueKind);
}
/// <summary>Verifies that invalid input fails argument parsing.</summary>
/// <param name="arguments">The invalid command-line arguments.</param>
[Theory]
[InlineData("sms create --account-sid AC00000000000000000000000000000000 --from-number +15551234567")]
[InlineData("sms update --id 8 --account-sid AC00000000000000000000000000000000 --from-number +15551234567 --max-retries -1")]