eliminates region sections

This commit is contained in:
BinaryAlley committed 2024-10-12 22:03:57 +03:00
1 parent 705c02b90d
commit 405fc1ff9a
370 files changed
+47 -1618

No files matched your search

@@ -12,7 +12,6 @@ namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
[ExcludeFromCodeCoverage]
public static class BogusExtensions
{
#region ===================================================================== METHODS ===================================================================================
/// <summary>
/// Adds <see cref="DateOnly"/> random data generation support to the <see cref="Faker"/> class.
/// </summary>
@@ -36,5 +35,4 @@ public static class BogusExtensions
DateTime endDateTime = end.ToDateTime(TimeOnly.MinValue);
return System.DateOnly.FromDateTime(faker.Date.Between(startDateTime, endDateTime));
}
#endregion
}
@@ -12,7 +12,6 @@ namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
[ExcludeFromCodeCoverage]
public class DateOnlySpecimenBuilder : ISpecimenBuilder
{
#region ===================================================================== METHODS ===================================================================================
/// <summary>
/// Adds <see cref="DateOnly"/> support to the AutoFixture library.
/// </summary>
@@ -25,5 +24,4 @@ public class DateOnlySpecimenBuilder : ISpecimenBuilder
return DateOnly.FromDateTime(DateTime.Now);
return new NoSpecimen();
}
#endregion
}
@@ -20,11 +20,8 @@ namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
[ExcludeFromCodeCoverage]
public class LuminaApiFactory : WebApplicationFactory<Program>, IDisposable
{
#region ================================================================== FIELD MEMBERS ================================================================================
private readonly SqliteConnection _connection;
#endregion
#region ====================================================================== CTOR =====================================================================================
/// <summary>
/// Initializes a new instance of the <see cref="LuminaApiFactory"/> class.
/// </summary>
@@ -33,9 +30,7 @@ public class LuminaApiFactory : WebApplicationFactory<Program>, IDisposable
_connection = new SqliteConnection("DataSource=:memory:");
_connection.Open();
}
#endregion
#region ===================================================================== METHODS ===================================================================================
/// <summary>
/// Configures the web host for the integration tests.
/// </summary>
@@ -69,5 +64,4 @@ public class LuminaApiFactory : WebApplicationFactory<Program>, IDisposable
_connection.Close();
base.Dispose();
}
#endregion
}
@@ -12,7 +12,6 @@ namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
[ExcludeFromCodeCoverage]
public class NullableDateOnlySpecimenBuilder : ISpecimenBuilder
{
#region ===================================================================== METHODS ===================================================================================
/// <summary>
/// Adds <see cref="DateOnly?"/> support to the AutoFixture library.
/// </summary>
@@ -25,5 +24,4 @@ public class NullableDateOnlySpecimenBuilder : ISpecimenBuilder
return (DateOnly?)DateOnly.FromDateTime(DateTime.Now);
return new NoSpecimen();
}
#endregion
}