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:
+4
@@ -26,6 +26,7 @@ public class NotificationIngestTypeStampingTests : TestKit
|
||||
private readonly INotificationRepository _listRepository =
|
||||
Substitute.For<INotificationRepository>();
|
||||
|
||||
/// <summary>Initializes a new instance of the <c>NotificationIngestTypeStampingTests</c> class.</summary>
|
||||
public NotificationIngestTypeStampingTests()
|
||||
{
|
||||
// Default: a fresh insert succeeds. Individual tests configure the list lookup.
|
||||
@@ -72,6 +73,7 @@ public class NotificationIngestTypeStampingTests : TestKit
|
||||
.Returns(new NotificationList(name) { Type = type });
|
||||
}
|
||||
|
||||
/// <summary>Verifies that ingesting a notification for an email-typed list stamps the type as email.</summary>
|
||||
[Fact]
|
||||
public void Ingest_EmailTypedList_StampsEmail()
|
||||
{
|
||||
@@ -90,6 +92,7 @@ public class NotificationIngestTypeStampingTests : TestKit
|
||||
Arg.Any<CancellationToken>());
|
||||
}
|
||||
|
||||
/// <summary>Verifies that ingesting a notification for an SMS-typed list stamps the type as SMS.</summary>
|
||||
[Fact]
|
||||
public void Ingest_SmsTypedList_StampsSms()
|
||||
{
|
||||
@@ -108,6 +111,7 @@ public class NotificationIngestTypeStampingTests : TestKit
|
||||
Arg.Any<CancellationToken>());
|
||||
}
|
||||
|
||||
/// <summary>Verifies that ingesting a notification for a missing list stamps the default type of email.</summary>
|
||||
[Fact]
|
||||
public void Ingest_MissingList_StampsEmailDefault()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user