Adds test fixtures and endpoint test coverage

This commit is contained in:
BinaryAlley committed 2026-08-24 14:19:45 -07:00
1 parent c82fadc7a2
commit 7aeed04255
198 files changed
+11649

No files matched your search

@@ -0,0 +1,34 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Application.Core.Plugins.Queries.GetPlugins;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
#endregion
namespace Lumina.Application.Fixtures.Core.Plugins.Queries.GetPlugins;
/// <summary>
/// Fixture class for the <see cref="GetPluginsQuery"/> class.
/// </summary>
[ExcludeFromCodeCoverage]
public class GetPluginsQueryFixture
{
/// <summary>
/// Creates a <see cref="GetPluginsQuery"/>.
/// </summary>
/// <returns>The created <see cref="GetPluginsQuery"/>.</returns>
public GetPluginsQuery Create()
{
return new GetPluginsQuery();
}
/// <summary>
/// Creates a list of <see cref="GetPluginsQuery"/>.
/// </summary>
/// <param name="count">The number of elements to create.</param>
/// <returns>The created list.</returns>
public List<GetPluginsQuery> CreateMany(int count = 3)
{
return [.. Enumerable.Range(0, count).Select(_ => Create())];
}
}