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:
@@ -7,6 +7,7 @@ public class TemplatePathFormatterTests
|
||||
{
|
||||
private static Dictionary<int, TemplateFolder> Folders(params TemplateFolder[] f) => f.ToDictionary(x => x.Id);
|
||||
|
||||
/// <summary>Verifies that a root template is formatted as its name only.</summary>
|
||||
[Fact]
|
||||
public void RootTemplate_IsNameOnly()
|
||||
{
|
||||
@@ -14,6 +15,7 @@ public class TemplatePathFormatterTests
|
||||
Assert.Equal("Motor Controller", TemplatePathFormatter.Format(t, Folders()));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a nested template is formatted with its folder chain joined by slashes.</summary>
|
||||
[Fact]
|
||||
public void NestedTemplate_JoinsFolderChainWithSlashes()
|
||||
{
|
||||
@@ -24,6 +26,7 @@ public class TemplatePathFormatterTests
|
||||
TemplatePathFormatter.Format(t, Folders(controllers, conveyor)));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that an unknown folder id falls back to the name only without throwing.</summary>
|
||||
[Fact]
|
||||
public void UnknownFolderId_FallsBackToNameOnly_WithoutThrowing()
|
||||
{
|
||||
@@ -31,6 +34,7 @@ public class TemplatePathFormatterTests
|
||||
Assert.Equal("Orphan", TemplatePathFormatter.Format(t, Folders()));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a cycle in the folder chain terminates instead of looping forever.</summary>
|
||||
[Fact]
|
||||
public void FolderCycle_Terminates()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user