Formats code comments as sentences in the tests.

Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
This commit is contained in:
BinaryAlley committed 2026-11-16 18:17:29 +02:00
1 parent 727aa33318
commit 057f557791
540 files changed
+3888 -3888

No files matched your search

@@ -79,7 +79,7 @@ public class LibraryScanConfigurationTests
public void Configure_WhenApplied_ShouldConfigureDescendingIndexOnLibraryIdStatusAndCreatedOnUtc()
{
// Arrange
// the read-optimized runtime model does not store the index sort order, so the design-time model is inspected instead
// The read-optimized runtime model does not store the index sort order, so the design-time model is inspected instead.
IDesignTimeModel designTimeModel = _context.GetService<IDesignTimeModel>();
IEntityType entityType = designTimeModel.Model.FindEntityType(typeof(LibraryScanEntity))!;
@@ -25,7 +25,7 @@ public class DataAccessLayerServicesTests
{
// Arrange
ServiceCollection services = new();
string basePath = Path.GetTempPath(); // use a real existing path
string basePath = Path.GetTempPath(); // Use a real existing path.
// Act
DataAccessLayerServices.AddDataAccessLayerServices(services);
@@ -102,8 +102,8 @@ public class EditableValuesCopierTests
}
[Theory]
[InlineData(false)] // the incoming entity carries a different, non-empty key
[InlineData(true)] // the incoming entity carries an unset key
[InlineData(false)] // The incoming entity carries a different, non-empty key.
[InlineData(true)] // The incoming entity carries an unset key.
public async Task CopyEditableValues_WhenTheIncomingKeyDoesNotMatchTheTrackedOne_ShouldPreserveTheTrackedIdentity(bool useUnsetKey)
{
// Arrange
@@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis;
namespace Lumina.DataAccess.UnitTests.Common.Setup;
/// <summary>
/// Service for time related concerns
/// Service for time related concerns.
/// </summary>
[ExcludeFromCodeCoverage]
public class TestDateTimeProvider : IDateTimeProvider