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:
+3
-1
@@ -1,7 +1,7 @@
|
||||
namespace ZB.MOM.WW.ScadaBridge.HealthMonitoring.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// Bundle C (M5-T7) regression coverage. The canonical audit redactor
|
||||
/// Regression coverage: the canonical audit redactor
|
||||
/// (<see cref="ZB.MOM.WW.ScadaBridge.AuditLog.Redaction.ScadaBridgeAuditRedactor"/>) increments
|
||||
/// <see cref="ZB.MOM.WW.ScadaBridge.AuditLog.Payload.IAuditRedactionFailureCounter"/> every time
|
||||
/// a header/body/SQL-param redactor stage throws and the redactor has to
|
||||
@@ -17,6 +17,7 @@ public class AuditRedactionFailureMetricTests
|
||||
{
|
||||
private readonly SiteHealthCollector _collector = new();
|
||||
|
||||
/// <summary>Verifies that incrementing the counter three times makes it report three.</summary>
|
||||
[Fact]
|
||||
public void Increment_Three_Times_Counter_Reports_3()
|
||||
{
|
||||
@@ -29,6 +30,7 @@ public class AuditRedactionFailureMetricTests
|
||||
Assert.Equal(3, report.AuditRedactionFailure);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the report payload includes the audit redaction failure count as zero by default.</summary>
|
||||
[Fact]
|
||||
public void Report_Payload_Includes_AuditRedactionFailure_AsZeroByDefault()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user