Restructure solution into folders and fix persistence issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
37987a394a
commit
7c39cb5562
62 files changed
+219
-151
No files matched your search
+4
-1
@@ -1,8 +1,11 @@
|
||||
using System.Net;
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Models;
|
||||
using Flypaper.Core.Runtime;
|
||||
using Flypaper.Tests.Fakes;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Core;
|
||||
|
||||
public sealed class ConnectionGovernorTests
|
||||
{
|
||||
+3
-2
@@ -1,8 +1,9 @@
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Models;
|
||||
using Flypaper.Core.Strategies;
|
||||
using Flypaper.Tests.Fakes;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Core;
|
||||
|
||||
public sealed class DripStrategyTests
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Settings;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Core;
|
||||
|
||||
public sealed class RuntimeSettingsParserTests
|
||||
{
|
||||
+5
-1
@@ -1,11 +1,15 @@
|
||||
using System.Net;
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Abstractions;
|
||||
using Flypaper.Core.Models;
|
||||
using Flypaper.Core.Runtime;
|
||||
using Flypaper.Core.Strategies;
|
||||
using Flypaper.Tests.Fakes;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using NSubstitute;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Core;
|
||||
|
||||
public sealed class TrapRunnerTests
|
||||
{
|
||||
+3
-2
@@ -1,8 +1,9 @@
|
||||
using System.Collections.Concurrent;
|
||||
using System.Net;
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Abstractions;
|
||||
using Flypaper.Core.Models;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Fakes;
|
||||
|
||||
internal sealed class FakeTrapChannel : ITrapChannel
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Extensions.Options;
|
||||
using NSubstitute;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Fakes;
|
||||
|
||||
internal static class TestOptions
|
||||
{
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
using System.Net;
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Abstractions;
|
||||
using Flypaper.Http;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
@@ -8,7 +9,7 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using NSubstitute;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Http;
|
||||
|
||||
public sealed class ForwardedHeadersTests
|
||||
{
|
||||
+3
-1
@@ -1,7 +1,9 @@
|
||||
using Flypaper.Http;
|
||||
using Flypaper.Http.Matching;
|
||||
using Flypaper.Tests.Fakes;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Http;
|
||||
|
||||
public sealed class TrapMatcherTests
|
||||
{
|
||||
+5
-1
@@ -1,7 +1,11 @@
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Settings;
|
||||
using Flypaper.Core.Strategies;
|
||||
using Flypaper.Http;
|
||||
using Flypaper.Http.Matching;
|
||||
using Flypaper.Storage;
|
||||
using Flypaper.Storage.Entities;
|
||||
using Flypaper.Storage.Settings;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
@@ -10,7 +14,7 @@ using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
namespace Flypaper.Tests.Storage;
|
||||
|
||||
public sealed class SettingsOverrideTests : IDisposable
|
||||
{
|
||||
Reference in new issue
Block a user