Skip to content

Commit 77e0435

Browse files
committed
Bump unit tests from .NET 7 to .NET 9
1 parent 3e20f0d commit 77e0435

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

tests/CommunityToolkit.Common.UnitTests/CommunityToolkit.Common.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

tests/CommunityToolkit.Diagnostics.UnitTests/CommunityToolkit.Diagnostics.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

tests/CommunityToolkit.HighPerformance.UnitTests/CommunityToolkit.HighPerformance.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
55
<EnablePreviewFeatures>true</EnablePreviewFeatures>
66
<NoWarn>$(NoWarn);CA2252</NoWarn>
77
</PropertyGroup>

tests/CommunityToolkit.HighPerformance.UnitTests/Extensions/Test_SpinLockExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public unsafe void Test_ArrayExtensions_Pointer()
3535
Assert.AreEqual(sum, 1000 * 10);
3636
}
3737

38-
#if NET7_0_OR_GREATER
38+
#if NET8_0_OR_GREATER
3939
[TestMethod]
4040
public void Test_ArrayExtensions_Ref()
4141
{

tests/CommunityToolkit.HighPerformance.UnitTests/Test_NullableReadOnlyRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if NET7_0_OR_GREATER
5+
#if NET8_0_OR_GREATER
66

77
using System;
88
using System.Runtime.CompilerServices;

tests/CommunityToolkit.HighPerformance.UnitTests/Test_NullableRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if NET7_0_OR_GREATER
5+
#if NET8_0_OR_GREATER
66

77
using System;
88
using System.Runtime.CompilerServices;

tests/CommunityToolkit.HighPerformance.UnitTests/Test_ReadOnlyRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if NET7_0_OR_GREATER
5+
#if NET8_0_OR_GREATER
66

77
using System.Runtime.CompilerServices;
88
using Microsoft.VisualStudio.TestTools.UnitTesting;

tests/CommunityToolkit.HighPerformance.UnitTests/Test_Ref{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if NET7_0_OR_GREATER
5+
#if NET8_0_OR_GREATER
66

77
using System.Runtime.CompilerServices;
88
using Microsoft.VisualStudio.TestTools.UnitTesting;

tests/CommunityToolkit.Mvvm.DisableINotifyPropertyChanging.UnitTests/CommunityToolkit.Mvvm.DisableINotifyPropertyChanging.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

tests/CommunityToolkit.Mvvm.Internals.UnitTests/CommunityToolkit.Mvvm.Internals.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)