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,8 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Tests;
|
||||
/// </summary>
|
||||
public class UnitTest1
|
||||
{
|
||||
/// <summary>Verifies that the central UI assembly is loadable.</summary>
|
||||
/// <returns>The result.</returns>
|
||||
[Fact]
|
||||
public void CentralUI_Assembly_IsLoadable()
|
||||
{
|
||||
@@ -15,6 +17,8 @@ public class UnitTest1
|
||||
Assert.Equal("ZB.MOM.WW.ScadaBridge.CentralUI", assembly.GetName().Name);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that all expected pages exist in the assembly.</summary>
|
||||
/// <returns>The result.</returns>
|
||||
[Fact]
|
||||
public void Pages_AllExist_InAssembly()
|
||||
{
|
||||
@@ -46,6 +50,8 @@ public class UnitTest1
|
||||
Assert.True(types.Length > 15, $"Expected many types in CentralUI assembly, got {types.Length}");
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the expected shared components exist in the assembly.</summary>
|
||||
/// <returns>The result.</returns>
|
||||
[Fact]
|
||||
public void SharedComponents_Exist_InAssembly()
|
||||
{
|
||||
@@ -56,6 +62,8 @@ public class UnitTest1
|
||||
Assert.True(assembly.GetTypes().Length > 0);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the AddCentralUI service collection extension is callable.</summary>
|
||||
/// <returns>The result.</returns>
|
||||
[Fact]
|
||||
public void ServiceCollectionExtensions_AddCentralUI_IsCallable()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user