Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -6,6 +6,7 @@ using StellaOps.Router.Common.Models;
using StellaOps.Router.Transport.InMemory;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Router.Transport.InMemory.Tests;
public class HelloHeartbeatFlowTests
@@ -26,7 +27,8 @@ public class HelloHeartbeatFlowTests
_client = provider.GetRequiredService<InMemoryTransportClient>();
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ConnectAsync_SendsHelloAndRegistersEndpoints()
{
// Arrange
@@ -61,7 +63,8 @@ public class HelloHeartbeatFlowTests
Assert.Equal(TransportType.InMemory, connections[0].TransportType);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task SendHeartbeatAsync_SendsHeartbeatFrame()
{
// Arrange
@@ -92,7 +95,8 @@ public class HelloHeartbeatFlowTests
Assert.Equal(1, _registry.Count);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task DisconnectAsync_RemovesConnection()
{
// Arrange