Skip to content

Commit

Permalink
Netstandard2.1 test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Nov 1, 2023
1 parent 8f90029 commit ae5e36c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions IcedTasks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "benchmarks", "benchmarks\FS
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "IcedTasks.Tests.NS20", "tests\IcedTasks.Tests.NS20\IcedTasks.Tests.NS20.fsproj", "{446B1378-DDC2-47CD-A6F2-C10F946B7E12}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "IcedTasks.Tests.NS21", "tests\IcedTasks.Tests.NS21\IcedTasks.Tests.NS21.fsproj", "{04D5314E-2B8F-442B-9983-DCD12CC43448}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -154,12 +156,25 @@ Global
{446B1378-DDC2-47CD-A6F2-C10F946B7E12}.Release|x64.Build.0 = Release|Any CPU
{446B1378-DDC2-47CD-A6F2-C10F946B7E12}.Release|x86.ActiveCfg = Release|Any CPU
{446B1378-DDC2-47CD-A6F2-C10F946B7E12}.Release|x86.Build.0 = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|x64.ActiveCfg = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|x64.Build.0 = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|x86.ActiveCfg = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Debug|x86.Build.0 = Debug|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|Any CPU.Build.0 = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|x64.ActiveCfg = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|x64.Build.0 = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|x86.ActiveCfg = Release|Any CPU
{04D5314E-2B8F-442B-9983-DCD12CC43448}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{5D30E174-2538-47AC-8443-318C8C5DC2C9} = {C397A34C-84F1-49E7-AEBC-2F9F2B196216}
{1CA2E092-2320-451D-A4F0-9ED7C7C528CA} = {ACBEE43C-7A88-4FB1-9B06-DB064D22B29F}
{D6F24191-0EA5-4591-908E-C7AB20BF3016} = {ADB30C52-C398-49B6-B757-E8A447890BD0}
{96680B92-6CB6-4DE4-9112-32C70B2A7A60} = {ADB30C52-C398-49B6-B757-E8A447890BD0}
{446B1378-DDC2-47CD-A6F2-C10F946B7E12} = {ACBEE43C-7A88-4FB1-9B06-DB064D22B29F}
{04D5314E-2B8F-442B-9983-DCD12CC43448} = {ACBEE43C-7A88-4FB1-9B06-DB064D22B29F}
EndGlobalSection
EndGlobal
23 changes: 23 additions & 0 deletions tests/IcedTasks.Tests.NS21/IcedTasks.Tests.NS21.fsproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<GenerateProgramFile>false</GenerateProgramFile>
<DefineConstants>$(DefineConstants);NETSTANDARD2_1</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../src/IcedTasks/IcedTasks.fsproj" AdditionalProperties="TargetFramework=netstandard2.1" />
</ItemGroup>
<ItemGroup>
<Compile Include="../IcedTasks.Tests/Expect.fs" />
<Compile Include="../IcedTasks.Tests/AsyncExTests.fs" />
<Compile Include="../IcedTasks.Tests/ValueTaskTests.fs" />
<Compile Include="../IcedTasks.Tests/CancellableTaskTests.fs" />
<Compile Include="../IcedTasks.Tests/CancellableValueTaskTests.fs" />
<Compile Include="../IcedTasks.Tests/ColdTaskTests.fs" />
<Compile Include="../IcedTasks.Tests/ParallelAsyncTests.fs" />
<Compile Include="../IcedTasks.Tests/Main.fs" />
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
7 changes: 7 additions & 0 deletions tests/IcedTasks.Tests.NS21/paket.references
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
group Test
FSharp.Core
Expecto
Microsoft.NET.Test.Sdk
YoloDev.Expecto.TestSdk
altcover
TimeProviderExtensions

0 comments on commit ae5e36c

Please sign in to comment.