Skip to content

Commit 3f12d8a

Browse files
committed
NuGet v3.0.17, minor fixes and small refactor
1 parent 2a26a5c commit 3f12d8a

24 files changed

+972
-179
lines changed

src/ClientTest/Client.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using SuperSimpleTcp;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Text;
5-
6-
namespace ClientTest
1+
namespace ClientTest
72
{
3+
using SuperSimpleTcp;
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Text;
7+
88
class Program
99
{
1010
static string _ServerIp;

src/ClientTest/ClientTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>netcoreapp3.1;net461;net48;net6.0;net7.0</TargetFrameworks>
5+
<TargetFrameworks>net461;net48;net6.0;net8.0</TargetFrameworks>
66
<AssemblyName>Client</AssemblyName>
77
</PropertyGroup>
88

src/ServerTest/Server.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using SuperSimpleTcp;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
5-
using System.Text;
6-
7-
namespace ServerTest
1+
namespace ServerTest
82
{
3+
using SuperSimpleTcp;
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Linq;
7+
using System.Text;
8+
99
class Program
1010
{
1111
static string _ListenerIp;

src/ServerTest/ServerTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>netcoreapp3.1;net461;net48;net6.0;net7.0</TargetFrameworks>
5+
<TargetFrameworks>net461;net48;net6.0;net8.0</TargetFrameworks>
66
<AssemblyName>Server</AssemblyName>
77
</PropertyGroup>
88

src/SuperSimpleTcp.UnitTest/IntegrationTest.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
using Microsoft.VisualStudio.TestTools.UnitTesting;
2-
using System.Diagnostics;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace SuperSimpleTcp.UnitTest
82
{
3+
using Microsoft.VisualStudio.TestTools.UnitTesting;
4+
using System.Diagnostics;
5+
using System.Linq;
6+
using System.Text;
7+
using System.Threading.Tasks;
8+
9+
using DataReceivedEventArgs = SuperSimpleTcp.DataReceivedEventArgs;
10+
911
[TestClass]
1012
public class IntegrationTest
1113
{

src/SuperSimpleTcp.UnitTest/ServerSettingsTest.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using Microsoft.VisualStudio.TestTools.UnitTesting;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading;
5-
using System.Threading.Tasks;
6-
7-
namespace SuperSimpleTcp.UnitTest
1+
namespace SuperSimpleTcp.UnitTest
82
{
3+
using Microsoft.VisualStudio.TestTools.UnitTesting;
4+
using System.Collections.Generic;
5+
using System.Linq;
6+
using System.Threading;
7+
using System.Threading.Tasks;
8+
99
[TestClass]
1010
public class ServerSettingsTest
1111
{

src/SuperSimpleTcp.UnitTest/ServerTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using Microsoft.VisualStudio.TestTools.UnitTesting;
2-
using System;
3-
using System.Threading.Tasks;
4-
51
namespace SuperSimpleTcp.UnitTest
62
{
3+
using Microsoft.VisualStudio.TestTools.UnitTesting;
4+
using System;
5+
using System.Threading.Tasks;
6+
77
[TestClass]
88
public class ServerTest
99
{

src/SuperSimpleTcp.UnitTest/StringHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using System;
2-
using System.Linq;
3-
4-
namespace SuperSimpleTcp.UnitTest
1+
namespace SuperSimpleTcp.UnitTest
52
{
3+
using System;
4+
using System.Linq;
5+
66
internal static class StringHelper
77
{
88
private static Random _random = new Random();

src/SuperSimpleTcp.UnitTest/TestCertificateHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using System.IO;
2-
3-
namespace SuperSimpleTcp.UnitTest
1+
namespace SuperSimpleTcp.UnitTest
42
{
3+
using System.IO;
4+
55
public static class TestCertificateHelper
66
{
77
public static void CreateCertificate(string certificateFilePath)

src/SuperSimpleTcp/ClientMetadata.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using System;
2-
using System.Net.Security;
3-
using System.Net.Sockets;
4-
using System.Threading;
5-
6-
namespace SuperSimpleTcp
1+
namespace SuperSimpleTcp
72
{
3+
using System;
4+
using System.Net.Security;
5+
using System.Net.Sockets;
6+
using System.Threading;
7+
88
internal class ClientMetadata : IDisposable
99
{
1010
#region Public-Members

0 commit comments

Comments
 (0)