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
@@ -20,6 +20,7 @@ public class NotificationListFormTests : BunitContext
{
private readonly INotificationRepository _repo = Substitute.For<INotificationRepository>();
/// <summary>Initializes the test context with a substitute repository, a channel catalog and test authentication.</summary>
public NotificationListFormTests()
{
Services.AddSingleton(_repo);
@@ -46,6 +47,7 @@ public class NotificationListFormTests : BunitContext
Services.AddTestConfigurationMutations();
}
/// <summary>Verifies that the type selector renders the registered channels.</summary>
[Fact]
public void TypeSelector_RendersRegisteredChannels()
{
@@ -61,6 +63,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that the type selector is enabled when creating a list.</summary>
[Fact]
public void TypeSelector_IsEnabled_OnCreate()
{
@@ -73,6 +76,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that selecting the email type shows the email input and not the phone input.</summary>
[Fact]
public void SelectingEmail_ShowsEmailInput_NotPhone()
{
@@ -93,6 +97,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that selecting the SMS type shows the phone input and not the email input.</summary>
[Fact]
public void SelectingSms_ShowsPhoneInput_NotEmail()
{
@@ -111,6 +116,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that the type selector is disabled when editing an existing list.</summary>
[Fact]
public void TypeSelector_IsDisabled_OnEdit()
{
@@ -128,6 +134,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that creating an SMS list persists the SMS type.</summary>
[Fact]
public void CreatingSmsList_PersistsTypeSms()
{
@@ -150,6 +157,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that adding an SMS recipient creates an SMS recipient with its phone number set.</summary>
[Fact]
public void AddingSmsRecipient_CreatesForSmsRecipient_WithPhoneSet()
{
@@ -179,6 +187,7 @@ public class NotificationListFormTests : BunitContext
});
}
/// <summary>Verifies that adding an SMS recipient with an invalid phone number is rejected.</summary>
[Fact]
public void AddingSmsRecipient_RejectsInvalidPhone()
{