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:
@@ -18,6 +18,7 @@ public class CreateBindingPlannerTests
|
||||
new BindingRow("Recv.State", "MESReceiver_023.State", null, null),
|
||||
]);
|
||||
|
||||
/// <summary>Verifies that prefill fills blank objects only.</summary>
|
||||
[Fact]
|
||||
public void Prefill_fills_blank_objects_only()
|
||||
{
|
||||
@@ -34,6 +35,7 @@ public class CreateBindingPlannerTests
|
||||
Assert.Equal(CreateBindingPlanner.ObjectSource.FromTemplate, CreateBindingPlanner.SourceOf(Groups()[2], result["Recv"]));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that prefill suggests root dot module for bare defaults.</summary>
|
||||
[Fact]
|
||||
public void Prefill_suggests_root_dot_module_for_bare_defaults()
|
||||
{
|
||||
@@ -42,6 +44,7 @@ public class CreateBindingPlannerTests
|
||||
Assert.Equal(CreateBindingPlanner.ObjectSource.Suggested, CreateBindingPlanner.SourceOf(Groups()[1], result["Left"]));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that prefill with blank root sets connection only.</summary>
|
||||
[Fact]
|
||||
public void Prefill_with_blank_root_sets_connection_only()
|
||||
{
|
||||
@@ -51,6 +54,9 @@ public class CreateBindingPlannerTests
|
||||
Assert.Equal(new CreateBindingPlanner.GroupInput(7, "MESReceiver_023"), result["Recv"]);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that object from pick strips member tail.</summary>
|
||||
/// <param name="picked">The picked value for the case.</param>
|
||||
/// <param name="expected">The expected value for the case.</param>
|
||||
[Theory]
|
||||
[InlineData("Z28063.Left.MoveInFlag", "Z28063.Left")] // leaf under the group → strip tail
|
||||
[InlineData("Z28063.Left", "Z28063.Left")] // object node → as-is
|
||||
@@ -59,6 +65,7 @@ public class CreateBindingPlannerTests
|
||||
public void ObjectFromPick_strips_member_tail(string picked, string expected)
|
||||
=> Assert.Equal(expected, CreateBindingPlanner.ObjectFromPick(Groups()[1], picked));
|
||||
|
||||
/// <summary>Verifies that build bindings skips groups without connection or object.</summary>
|
||||
[Fact]
|
||||
public void BuildBindings_skips_groups_without_connection_or_object()
|
||||
{
|
||||
@@ -73,6 +80,7 @@ public class CreateBindingPlannerTests
|
||||
Assert.Equal(("Running", 7, "Z28063.Running"), (single.AttributeName, single.DataConnectionId, single.DataSourceReferenceOverride));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that build bindings rewrites every member of a bound group.</summary>
|
||||
[Fact]
|
||||
public void BuildBindings_rewrites_every_member_of_a_bound_group()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user