From aa34ae4a5b9f8dfcee5858b1a2e53b73ea26e652 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Sat, 5 Oct 2024 18:50:08 +0100 Subject: [PATCH] Add tests project --- Rebound.sln | 62 ++++++++++++++++++++++++++++++++++++++ Tests/MSTestSettings.cs | 1 + Tests/Rebound.Tests.csproj | 15 +++++++++ Tests/Test1.cs | 10 ++++++ 4 files changed, 88 insertions(+) create mode 100644 Tests/MSTestSettings.cs create mode 100644 Tests/Rebound.Tests.csproj create mode 100644 Tests/Test1.cs diff --git a/Rebound.sln b/Rebound.sln index 711317c..c34d295 100644 --- a/Rebound.sln +++ b/Rebound.sln @@ -17,16 +17,23 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rebound.TrustedPlatform", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rebound.About", "About\Rebound.About.csproj", "{BF701670-43B6-4621-9564-84215313590C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rebound.Tests", "Tests\Rebound.Tests.csproj", "{FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU Debug|ARM64 = Debug|ARM64 Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU Release|ARM64 = Release|ARM64 Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|Any CPU.ActiveCfg = Debug|x64 + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|Any CPU.Build.0 = Debug|x64 + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|Any CPU.Deploy.0 = Debug|x64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|ARM64.ActiveCfg = Debug|ARM64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|ARM64.Build.0 = Debug|ARM64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -36,6 +43,9 @@ Global {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|x86.ActiveCfg = Debug|x86 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|x86.Build.0 = Debug|x86 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Debug|x86.Deploy.0 = Debug|x86 + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|Any CPU.ActiveCfg = Release|x64 + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|Any CPU.Build.0 = Release|x64 + {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|Any CPU.Deploy.0 = Release|x64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|ARM64.ActiveCfg = Release|ARM64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|ARM64.Build.0 = Release|ARM64 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -45,6 +55,9 @@ Global {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|x86.ActiveCfg = Release|x86 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|x86.Build.0 = Release|x86 {4C58BAB7-F9D6-48AB-B20D-C8F6413D6E34}.Release|x86.Deploy.0 = Release|x86 + {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|Any CPU.ActiveCfg = Debug|x64 + {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|Any CPU.Build.0 = Debug|x64 + {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|Any CPU.Deploy.0 = Debug|x64 {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|ARM64.ActiveCfg = Debug|ARM64 {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|ARM64.Build.0 = Debug|ARM64 {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -54,6 +67,9 @@ Global {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|x86.ActiveCfg = Debug|x86 {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|x86.Build.0 = Debug|x86 {86C0359D-C08A-4963-9B77-2400F5039232}.Debug|x86.Deploy.0 = Debug|x86 + {86C0359D-C08A-4963-9B77-2400F5039232}.Release|Any CPU.ActiveCfg = Release|x64 + {86C0359D-C08A-4963-9B77-2400F5039232}.Release|Any CPU.Build.0 = Release|x64 + {86C0359D-C08A-4963-9B77-2400F5039232}.Release|Any CPU.Deploy.0 = Release|x64 {86C0359D-C08A-4963-9B77-2400F5039232}.Release|ARM64.ActiveCfg = Release|ARM64 {86C0359D-C08A-4963-9B77-2400F5039232}.Release|ARM64.Build.0 = Release|ARM64 {86C0359D-C08A-4963-9B77-2400F5039232}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -63,6 +79,9 @@ Global {86C0359D-C08A-4963-9B77-2400F5039232}.Release|x86.ActiveCfg = Release|x86 {86C0359D-C08A-4963-9B77-2400F5039232}.Release|x86.Build.0 = Release|x86 {86C0359D-C08A-4963-9B77-2400F5039232}.Release|x86.Deploy.0 = Release|x86 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|Any CPU.ActiveCfg = Debug|x64 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|Any CPU.Build.0 = Debug|x64 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|Any CPU.Deploy.0 = Debug|x64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|ARM64.ActiveCfg = Debug|ARM64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|ARM64.Build.0 = Debug|ARM64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -72,6 +91,9 @@ Global {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|x86.ActiveCfg = Debug|x86 {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|x86.Build.0 = Debug|x86 {C946D646-4659-4B05-91A2-15FF51D736D5}.Debug|x86.Deploy.0 = Debug|x86 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|Any CPU.ActiveCfg = Release|x64 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|Any CPU.Build.0 = Release|x64 + {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|Any CPU.Deploy.0 = Release|x64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|ARM64.ActiveCfg = Release|ARM64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|ARM64.Build.0 = Release|ARM64 {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -81,6 +103,9 @@ Global {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|x86.ActiveCfg = Release|x86 {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|x86.Build.0 = Release|x86 {C946D646-4659-4B05-91A2-15FF51D736D5}.Release|x86.Deploy.0 = Release|x86 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|Any CPU.ActiveCfg = Debug|x64 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|Any CPU.Build.0 = Debug|x64 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|Any CPU.Deploy.0 = Debug|x64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|ARM64.ActiveCfg = Debug|ARM64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|ARM64.Build.0 = Debug|ARM64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -90,6 +115,9 @@ Global {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|x86.ActiveCfg = Debug|x86 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|x86.Build.0 = Debug|x86 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Debug|x86.Deploy.0 = Debug|x86 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|Any CPU.ActiveCfg = Release|x64 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|Any CPU.Build.0 = Release|x64 + {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|Any CPU.Deploy.0 = Release|x64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|ARM64.ActiveCfg = Release|ARM64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|ARM64.Build.0 = Release|ARM64 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -99,6 +127,9 @@ Global {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|x86.ActiveCfg = Release|x86 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|x86.Build.0 = Release|x86 {632D4E75-5E9A-4F8E-A80D-F88C5EB8BD66}.Release|x86.Deploy.0 = Release|x86 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|Any CPU.ActiveCfg = Debug|x64 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|Any CPU.Build.0 = Debug|x64 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|Any CPU.Deploy.0 = Debug|x64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|ARM64.ActiveCfg = Debug|ARM64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|ARM64.Build.0 = Debug|ARM64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -108,6 +139,9 @@ Global {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|x86.ActiveCfg = Debug|x86 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|x86.Build.0 = Debug|x86 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Debug|x86.Deploy.0 = Debug|x86 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|Any CPU.ActiveCfg = Release|x64 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|Any CPU.Build.0 = Release|x64 + {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|Any CPU.Deploy.0 = Release|x64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|ARM64.ActiveCfg = Release|ARM64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|ARM64.Build.0 = Release|ARM64 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -117,6 +151,9 @@ Global {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|x86.ActiveCfg = Release|x86 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|x86.Build.0 = Release|x86 {389B26A3-70CA-4200-8CFA-88A131E909E2}.Release|x86.Deploy.0 = Release|x86 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|Any CPU.ActiveCfg = Debug|x64 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|Any CPU.Build.0 = Debug|x64 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|Any CPU.Deploy.0 = Debug|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|ARM64.ActiveCfg = Debug|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|ARM64.Build.0 = Debug|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|ARM64.Deploy.0 = Debug|x64 @@ -126,6 +163,9 @@ Global {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|x86.ActiveCfg = Debug|x86 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|x86.Build.0 = Debug|x86 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Debug|x86.Deploy.0 = Debug|x86 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|Any CPU.ActiveCfg = Release|x64 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|Any CPU.Build.0 = Release|x64 + {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|Any CPU.Deploy.0 = Release|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|ARM64.ActiveCfg = Release|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|ARM64.Build.0 = Release|x64 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|ARM64.Deploy.0 = Release|x64 @@ -135,6 +175,9 @@ Global {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|x86.ActiveCfg = Release|x86 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|x86.Build.0 = Release|x86 {27052CF4-EC88-4FCB-8B2C-6D45ABFA7BB6}.Release|x86.Deploy.0 = Release|x86 + {BF701670-43B6-4621-9564-84215313590C}.Debug|Any CPU.ActiveCfg = Debug|x64 + {BF701670-43B6-4621-9564-84215313590C}.Debug|Any CPU.Build.0 = Debug|x64 + {BF701670-43B6-4621-9564-84215313590C}.Debug|Any CPU.Deploy.0 = Debug|x64 {BF701670-43B6-4621-9564-84215313590C}.Debug|ARM64.ActiveCfg = Debug|ARM64 {BF701670-43B6-4621-9564-84215313590C}.Debug|ARM64.Build.0 = Debug|ARM64 {BF701670-43B6-4621-9564-84215313590C}.Debug|ARM64.Deploy.0 = Debug|ARM64 @@ -144,6 +187,9 @@ Global {BF701670-43B6-4621-9564-84215313590C}.Debug|x86.ActiveCfg = Debug|x86 {BF701670-43B6-4621-9564-84215313590C}.Debug|x86.Build.0 = Debug|x86 {BF701670-43B6-4621-9564-84215313590C}.Debug|x86.Deploy.0 = Debug|x86 + {BF701670-43B6-4621-9564-84215313590C}.Release|Any CPU.ActiveCfg = Release|x64 + {BF701670-43B6-4621-9564-84215313590C}.Release|Any CPU.Build.0 = Release|x64 + {BF701670-43B6-4621-9564-84215313590C}.Release|Any CPU.Deploy.0 = Release|x64 {BF701670-43B6-4621-9564-84215313590C}.Release|ARM64.ActiveCfg = Release|ARM64 {BF701670-43B6-4621-9564-84215313590C}.Release|ARM64.Build.0 = Release|ARM64 {BF701670-43B6-4621-9564-84215313590C}.Release|ARM64.Deploy.0 = Release|ARM64 @@ -153,6 +199,22 @@ Global {BF701670-43B6-4621-9564-84215313590C}.Release|x86.ActiveCfg = Release|x86 {BF701670-43B6-4621-9564-84215313590C}.Release|x86.Build.0 = Release|x86 {BF701670-43B6-4621-9564-84215313590C}.Release|x86.Deploy.0 = Release|x86 + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|ARM64.Build.0 = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|x64.ActiveCfg = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|x64.Build.0 = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|x86.ActiveCfg = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Debug|x86.Build.0 = Debug|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|Any CPU.Build.0 = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|ARM64.ActiveCfg = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|ARM64.Build.0 = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|x64.ActiveCfg = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|x64.Build.0 = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|x86.ActiveCfg = Release|Any CPU + {FEA248B3-99A2-4AC8-BF50-C261DB4CF2F0}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Tests/MSTestSettings.cs b/Tests/MSTestSettings.cs new file mode 100644 index 0000000..aaf278c --- /dev/null +++ b/Tests/MSTestSettings.cs @@ -0,0 +1 @@ +[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] diff --git a/Tests/Rebound.Tests.csproj b/Tests/Rebound.Tests.csproj new file mode 100644 index 0000000..7f894fb --- /dev/null +++ b/Tests/Rebound.Tests.csproj @@ -0,0 +1,15 @@ + + + + net8.0 + latest + enable + enable + + true + + + diff --git a/Tests/Test1.cs b/Tests/Test1.cs new file mode 100644 index 0000000..40e80c4 --- /dev/null +++ b/Tests/Test1.cs @@ -0,0 +1,10 @@ +namespace Rebound.Tests; + +[TestClass] +public sealed class Test1 +{ + [TestMethod] + public void TestMethod1() + { + } +}