Skip to content

Commit

Permalink
Add tests project
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Oct 5, 2024
1 parent 3dd2103 commit aa34ae4
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
62 changes: 62 additions & 0 deletions Rebound.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions Tests/MSTestSettings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
15 changes: 15 additions & 0 deletions Tests/Rebound.Tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="MSTest.Sdk/3.5.1">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!--
Displays error on console in addition to the log file. Note that this feature comes with a performance impact.
For more information, visit https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-integration-dotnet-test#show-failure-per-test
-->
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
</PropertyGroup>

</Project>
10 changes: 10 additions & 0 deletions Tests/Test1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Rebound.Tests;

[TestClass]
public sealed class Test1
{
[TestMethod]
public void TestMethod1()
{
}
}

0 comments on commit aa34ae4

Please sign in to comment.