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:
+10
@@ -27,10 +27,15 @@ public sealed class InstanceConfigureFixture : IAsyncLifetime
|
||||
{
|
||||
private const string SiteAIdentifier = "site-a";
|
||||
|
||||
/// <summary>Gets the database id of the site-a site resolved for the fixture.</summary>
|
||||
public int SiteAId { get; private set; }
|
||||
/// <summary>Gets the id of the fixture template.</summary>
|
||||
public int TemplateId { get; private set; }
|
||||
/// <summary>Gets the id of the fixture data connection.</summary>
|
||||
public int ConnectionId { get; private set; }
|
||||
/// <summary>Gets the id of the fixture area.</summary>
|
||||
public int AreaId { get; private set; }
|
||||
/// <summary>Gets the id of the fixture instance.</summary>
|
||||
public int InstanceId { get; private set; }
|
||||
|
||||
/// <summary>The single bindable/overridable attribute name on the fixture template.</summary>
|
||||
@@ -57,8 +62,11 @@ public sealed class InstanceConfigureFixture : IAsyncLifetime
|
||||
/// <summary>The fixture data-connection name (for locating it in the bindings UI dropdown).</summary>
|
||||
public string ConnectionName { get; private set; } = string.Empty;
|
||||
|
||||
/// <summary>Gets a value indicating whether the live cluster was reachable and the fixture data was created.</summary>
|
||||
public bool Available { get; private set; }
|
||||
|
||||
/// <summary>Checks cluster availability and creates the fixture site, template, connection, area and instance.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
public async Task InitializeAsync()
|
||||
{
|
||||
Available = await ClusterAvailability.IsAvailableAsync();
|
||||
@@ -95,6 +103,8 @@ public sealed class InstanceConfigureFixture : IAsyncLifetime
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases the resources held by this fixture asynchronously.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
if (!Available)
|
||||
|
||||
Reference in New Issue
Block a user