From 7ecab9ec653312ccc24b3b5bc63c81a6c63adeeb Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Mon, 8 Apr 2024 21:29:47 -0700 Subject: [PATCH] tried to fix the build failures after adjusted namespaces --- test/SuperSocket.Tests/ClientTest.cs | 18 +----------------- test/SuperSocket.Tests/Commands.cs | 2 +- test/SuperSocket.Tests/SessionContainerTest.cs | 7 +------ test/SuperSocket.Tests/UdpHostConfigurator.cs | 1 + 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/test/SuperSocket.Tests/ClientTest.cs b/test/SuperSocket.Tests/ClientTest.cs index 26a25f93d..b36cff6e2 100644 --- a/test/SuperSocket.Tests/ClientTest.cs +++ b/test/SuperSocket.Tests/ClientTest.cs @@ -1,37 +1,21 @@ using System; -using System.Linq; -using System.IO; using System.Net; using System.Net.Sockets; -using System.Text; -using System.Buffers; using System.Threading.Tasks; -using System.Reflection; -using System.Collections.Generic; -using SuperSocket; using SuperSocket.Command; using SuperSocket.ProtoBase; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; using Xunit; using Xunit.Abstractions; using SuperSocket.Client; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Logging.Console; -using System.Net.Security; -using System.Security.Authentication; -using System.Security.Cryptography.X509Certificates; using SuperSocket.Server.Host; using SuperSocket.Tests.Command; using SuperSocket.Connection; +using SuperSocket.Server; using SuperSocket.Server.Abstractions; using SuperSocket.Server.Abstractions.Session; using System.Threading; using Microsoft.Extensions.Logging.Abstractions; using SuperSocket.WebSocket; -using SuperSocket.Kestrel; -using Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets; namespace SuperSocket.Tests { diff --git a/test/SuperSocket.Tests/Commands.cs b/test/SuperSocket.Tests/Commands.cs index 632c70f98..7042ab890 100644 --- a/test/SuperSocket.Tests/Commands.cs +++ b/test/SuperSocket.Tests/Commands.cs @@ -2,8 +2,8 @@ using System.Threading.Tasks; using System.Linq; using System.Text; -using SuperSocket; using SuperSocket.Server; +using SuperSocket.Server.Host; using SuperSocket.Server.Abstractions.Session; using SuperSocket.Command; using SuperSocket.ProtoBase; diff --git a/test/SuperSocket.Tests/SessionContainerTest.cs b/test/SuperSocket.Tests/SessionContainerTest.cs index c59676a43..22eeb785c 100644 --- a/test/SuperSocket.Tests/SessionContainerTest.cs +++ b/test/SuperSocket.Tests/SessionContainerTest.cs @@ -1,23 +1,18 @@ using System; using System.Linq; using System.IO; -using System.Net; using System.Net.Sockets; using System.Text; using System.Buffers; using System.Threading.Tasks; -using System.Reflection; -using System.Collections.Generic; -using SuperSocket; using SuperSocket.Command; using SuperSocket.ProtoBase; -using Microsoft.Extensions.Hosting; using Microsoft.Extensions.DependencyInjection; using Xunit; using Xunit.Abstractions; using System.Threading; using SuperSocket.Connection; -using SuperSocket.Server.Abstractions; +using SuperSocket.Server; using SuperSocket.Server.Abstractions.Session; using SuperSocket.Server.Host; diff --git a/test/SuperSocket.Tests/UdpHostConfigurator.cs b/test/SuperSocket.Tests/UdpHostConfigurator.cs index 988525d78..2ce971122 100644 --- a/test/SuperSocket.Tests/UdpHostConfigurator.cs +++ b/test/SuperSocket.Tests/UdpHostConfigurator.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SuperSocket.Connection; +using SuperSocket.Server; using SuperSocket.Server.Abstractions; using SuperSocket.Server.Abstractions.Host; using SuperSocket.Client;