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:
@@ -20,6 +20,7 @@ public class TemplateNamingTests
|
||||
return (byId, compById);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a base template's qualified name is just its own name.</summary>
|
||||
[Fact]
|
||||
public void QualifiedName_BaseTemplate_IsJustItsName()
|
||||
{
|
||||
@@ -29,6 +30,7 @@ public class TemplateNamingTests
|
||||
Assert.Equal("Motor Controller", TemplateNaming.QualifiedName(motorController, byId, compById));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a one-level derived template's qualified name is prefixed with its owner.</summary>
|
||||
[Fact]
|
||||
public void QualifiedName_OneLevelDerived_PrefixesTheOwner()
|
||||
{
|
||||
@@ -45,6 +47,7 @@ public class TemplateNamingTests
|
||||
Assert.Equal("Motor Controller.Pump", TemplateNaming.QualifiedName(derivedPump, byId, compById));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a nested derived template's qualified name walks the whole chain.</summary>
|
||||
[Fact]
|
||||
public void QualifiedName_NestedDerived_WalksTheWholeChain()
|
||||
{
|
||||
@@ -71,6 +74,7 @@ public class TemplateNamingTests
|
||||
TemplateNaming.QualifiedName(derivedTempSensor, byId, compById));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a derived template with a missing owner link falls back to its stored name.</summary>
|
||||
[Fact]
|
||||
public void QualifiedName_DerivedWithMissingOwnerLink_FallsBackToStoredName()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user