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:
@@ -62,6 +62,7 @@ public class TreeViewMultiSelectTests : BunitContext
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>Verifies that checkbox mode renders a checkbox input for each node.</summary>
|
||||
[Fact]
|
||||
public void Checkbox_mode_renders_input_checkbox_per_node()
|
||||
{
|
||||
@@ -72,6 +73,7 @@ public class TreeViewMultiSelectTests : BunitContext
|
||||
Assert.Equal(5, checkboxes.Count);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that clicking a folder checkbox selects all of its descendant leaves.</summary>
|
||||
[Fact]
|
||||
public void Clicking_folder_checkbox_selects_all_descendant_leaves()
|
||||
{
|
||||
@@ -80,7 +82,7 @@ public class TreeViewMultiSelectTests : BunitContext
|
||||
selectedKeys: new HashSet<object>(),
|
||||
onSelectedKeysChanged: keys => captured = keys);
|
||||
|
||||
// First checkbox is Folder1 (root #1). It has leaves l1a + l1b.
|
||||
// First checkbox is Folder1 (the first root). It has leaves l1a + l1b.
|
||||
var folderCheckbox = cut.FindAll("input.tv-checkbox")[0];
|
||||
folderCheckbox.Change(true);
|
||||
|
||||
@@ -90,6 +92,7 @@ public class TreeViewMultiSelectTests : BunitContext
|
||||
Assert.Contains((object)"l1b", captured);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that clicking a leaf makes its parent indeterminate when a sibling is unchecked.</summary>
|
||||
[Fact]
|
||||
public void Clicking_leaf_makes_parent_indeterminate_when_sibling_unchecked()
|
||||
{
|
||||
@@ -110,6 +113,7 @@ public class TreeViewMultiSelectTests : BunitContext
|
||||
Assert.NotEqual("true", folderCheckbox.GetAttribute("checked"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that single selection mode behaves as before.</summary>
|
||||
[Fact]
|
||||
public void Single_mode_unchanged()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user