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:
@@ -5,6 +5,9 @@ namespace ZB.MOM.WW.ScadaBridge.NotificationService.Tests;
|
||||
/// </summary>
|
||||
public class EmailTransportParserTests
|
||||
{
|
||||
/// <summary>Verifies that parsing a known transport name returns the expected transport.</summary>
|
||||
/// <param name="input">The input text to parse.</param>
|
||||
/// <param name="expected">The expected parsed transport.</param>
|
||||
[Theory]
|
||||
[InlineData("Smtp", EmailTransport.Smtp)]
|
||||
[InlineData("smtp", EmailTransport.Smtp)]
|
||||
@@ -18,6 +21,8 @@ public class EmailTransportParserTests
|
||||
Assert.Equal(expected, EmailTransportParser.Parse(input));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that parsing a null or empty value defaults to SMTP.</summary>
|
||||
/// <param name="input">The input text to parse.</param>
|
||||
[Theory]
|
||||
[InlineData(null)]
|
||||
[InlineData("")]
|
||||
@@ -28,6 +33,8 @@ public class EmailTransportParserTests
|
||||
Assert.Equal(EmailTransport.Smtp, EmailTransportParser.Parse(input));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that parsing an unknown transport name throws.</summary>
|
||||
/// <param name="input">The input text to parse.</param>
|
||||
[Theory]
|
||||
[InlineData("Graph")]
|
||||
[InlineData("smtps")]
|
||||
|
||||
Reference in New Issue
Block a user