From 2c9e40f63e345959f25b92333caf98e043b0d36e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 20 Jan 2024 19:19:43 +0100 Subject: [PATCH] Switch to MSTest --- Iceshrimp.NET.sln | 10 +++++----- Iceshrimp.Tests/Cryptography/LdSignatures.cs | 9 +++++++++ Iceshrimp.Tests/GlobalUsings.cs | 2 +- Iceshrimp.Tests/Iceshrimp.Tests.csproj | 18 ++++-------------- Iceshrimp.Tests/UnitTest1.cs | 9 --------- 5 files changed, 19 insertions(+), 29 deletions(-) create mode 100644 Iceshrimp.Tests/Cryptography/LdSignatures.cs delete mode 100644 Iceshrimp.Tests/UnitTest1.cs diff --git a/Iceshrimp.NET.sln b/Iceshrimp.NET.sln index 486cea81..474f75e1 100644 --- a/Iceshrimp.NET.sln +++ b/Iceshrimp.NET.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iceshrimp.Backend", "Iceshrimp.Backend\Iceshrimp.Backend.csproj", "{74D636F2-3A0B-4214-B302-178C3D5525F5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iceshrimp.Tests", "Iceshrimp.Tests\Iceshrimp.Tests.csproj", "{6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iceshrimp.Tests", "Iceshrimp.Tests\Iceshrimp.Tests.csproj", "{0C93C33B-3D68-41DE-8BD6-2C19EB1C95F7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -14,9 +14,9 @@ Global {74D636F2-3A0B-4214-B302-178C3D5525F5}.Debug|Any CPU.Build.0 = Debug|Any CPU {74D636F2-3A0B-4214-B302-178C3D5525F5}.Release|Any CPU.ActiveCfg = Release|Any CPU {74D636F2-3A0B-4214-B302-178C3D5525F5}.Release|Any CPU.Build.0 = Release|Any CPU - {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Release|Any CPU.Build.0 = Release|Any CPU + {0C93C33B-3D68-41DE-8BD6-2C19EB1C95F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0C93C33B-3D68-41DE-8BD6-2C19EB1C95F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0C93C33B-3D68-41DE-8BD6-2C19EB1C95F7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0C93C33B-3D68-41DE-8BD6-2C19EB1C95F7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/Iceshrimp.Tests/Cryptography/LdSignatures.cs b/Iceshrimp.Tests/Cryptography/LdSignatures.cs new file mode 100644 index 00000000..06330bbe --- /dev/null +++ b/Iceshrimp.Tests/Cryptography/LdSignatures.cs @@ -0,0 +1,9 @@ +namespace Iceshrimp.Tests.Cryptography; + +[TestClass] +public class LdSignatures { + [TestMethod] + public void TestMethod1() { + + } +} \ No newline at end of file diff --git a/Iceshrimp.Tests/GlobalUsings.cs b/Iceshrimp.Tests/GlobalUsings.cs index c802f448..ab67c7ea 100644 --- a/Iceshrimp.Tests/GlobalUsings.cs +++ b/Iceshrimp.Tests/GlobalUsings.cs @@ -1 +1 @@ -global using Xunit; +global using Microsoft.VisualStudio.TestTools.UnitTesting; \ No newline at end of file diff --git a/Iceshrimp.Tests/Iceshrimp.Tests.csproj b/Iceshrimp.Tests/Iceshrimp.Tests.csproj index 841e20d3..9884fad1 100644 --- a/Iceshrimp.Tests/Iceshrimp.Tests.csproj +++ b/Iceshrimp.Tests/Iceshrimp.Tests.csproj @@ -10,20 +10,10 @@ - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - + + + + diff --git a/Iceshrimp.Tests/UnitTest1.cs b/Iceshrimp.Tests/UnitTest1.cs deleted file mode 100644 index 90e45d41..00000000 --- a/Iceshrimp.Tests/UnitTest1.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Iceshrimp.Tests; - -public class UnitTest1 -{ - [Fact] - public void Test1() { - - } -}