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:
@@ -11,6 +11,7 @@ public class InboundApiKeyStoreOptionsTests
|
||||
.Build();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the key store provider defaults to SQLite.</summary>
|
||||
[Fact]
|
||||
public void Provider_DefaultsToSqlite()
|
||||
{
|
||||
@@ -21,6 +22,9 @@ public class InboundApiKeyStoreOptionsTests
|
||||
Assert.Equal(InboundApiKeyStoreProvider.Sqlite, InboundApiKeyStoreOptions.ReadProvider(configuration));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the provider name is parsed case-insensitively.</summary>
|
||||
/// <param name="value">The configured provider text.</param>
|
||||
/// <param name="expected">The provider the text should resolve to.</param>
|
||||
[Theory]
|
||||
[InlineData("sqlserver", InboundApiKeyStoreProvider.SqlServer)]
|
||||
[InlineData("SQLSERVER", InboundApiKeyStoreProvider.SqlServer)]
|
||||
@@ -36,6 +40,8 @@ public class InboundApiKeyStoreOptionsTests
|
||||
Assert.Equal(expected, InboundApiKeyStoreOptions.ReadProvider(configuration));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that an unknown provider value is rejected.</summary>
|
||||
/// <param name="value">The unsupported provider text.</param>
|
||||
[Theory]
|
||||
[InlineData("Postgres")]
|
||||
[InlineData("7")]
|
||||
@@ -52,6 +58,7 @@ public class InboundApiKeyStoreOptionsTests
|
||||
Assert.Contains("SqlServer", ex.Message);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the import-from-SQLite path setting binds from configuration.</summary>
|
||||
[Fact]
|
||||
public void Binds_ImportFromSqlitePath()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user