diff --git a/UnitTests/GlobalSuppressions.cs b/UnitTests/GlobalSuppressions.cs index 5ec1a19..a8560ba 100644 --- a/UnitTests/GlobalSuppressions.cs +++ b/UnitTests/GlobalSuppressions.cs @@ -15,3 +15,4 @@ [assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Some unit tests require reflection")] +[assembly: SuppressMessage("Style", "IDE0053:Use expression body for lambda expression", Justification = "Better readability for Assert.ThrowsException")] diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index 7bfcb3b..e4da092 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -13,11 +13,6 @@ SPDX-License-Identifier: GPL-3.0-only false - - - 17.12.0 - - diff --git a/UnitTests/packages.lock.json b/UnitTests/packages.lock.json index e6b4b9c..f1a7a2d 100644 --- a/UnitTests/packages.lock.json +++ b/UnitTests/packages.lock.json @@ -33,12 +33,12 @@ }, "Microsoft.Testing.Extensions.TrxReport": { "type": "Direct", - "requested": "[1.4.3, )", - "resolved": "1.4.3", - "contentHash": "JSy1dY8ZpNWV00NZBVAQuqJmC18LOszwRsIz4VSROK06FxoPOz5N19D6FHz9ZKJxn3XieoHWhbvuLFWdz9UJiw==", + "requested": "[1.5.0, )", + "resolved": "1.5.0", + "contentHash": "+AW10NEScLAiErRKzek5U1Kv0B337EktcLt6ruzJXFTbtdQgK+3j0jxWbnfSs1N+R1eX2AsNF9/en7hWW8DDfg==", "dependencies": { - "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.4.3", - "Microsoft.Testing.Platform": "1.4.3" + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.5.0", + "Microsoft.Testing.Platform": "1.5.0" } }, "Microsoft.Windows.CsWin32": { @@ -61,27 +61,24 @@ "Castle.Core": "5.1.1" } }, - "MSTest.Analyzers": { - "type": "Direct", - "requested": "[3.6.4, )", - "resolved": "3.6.4", - "contentHash": "4gU/VdItLebmE2+UkOaqffVmVa/in0VeIF9fmN/fG0tj5AHAasjasJcZa9U2uXBNX03cKCWlgWenlhKLz343NQ==" - }, "MSTest.TestAdapter": { "type": "Direct", - "requested": "[3.6.4, )", - "resolved": "3.6.4", - "contentHash": "YdwseRA+nDhRqD2oPHjCE4KzLEN5B10A61lOslE3N3OvUwHJ6ezyZZjYWf7mrZ8jckCcx/UlBclTzgWUpMpPQw==", + "requested": "[3.7.0, )", + "resolved": "3.7.0", + "contentHash": "sq1AOdka70e8lD/mRzaqFfuquOHSUMF+09ACeP1zW9TG053ovVl6gzvi5VoRMxaE+q3rAItC7sx+5B3npK1kqg==", "dependencies": { - "Microsoft.Testing.Extensions.VSTestBridge": "1.4.3", - "Microsoft.Testing.Platform.MSBuild": "1.4.3" + "Microsoft.Testing.Extensions.VSTestBridge": "1.5.0", + "Microsoft.Testing.Platform.MSBuild": "1.5.0" } }, "MSTest.TestFramework": { "type": "Direct", - "requested": "[3.6.4, )", - "resolved": "3.6.4", - "contentHash": "3nV+2CJluKmiJpCSqQfXu5idCq35+vqFywjScyauTIz0Zk7KJw7Qpzv8gtwow0To7pxIlIvwkq9rbMB+V6eOow==" + "requested": "[3.7.0, )", + "resolved": "3.7.0", + "contentHash": "CRHONroYbAaxhVILTNS84gIaI3uRRVmj8Qd3+Mpia1AVwSz2JiQy0LlTqtS8p+TYWgN+8zHG6j17OaTz/P/eHw==", + "dependencies": { + "MSTest.Analyzers": "3.7.0" + } }, "Castle.Core": { "type": "Transitive", @@ -401,44 +398,44 @@ }, "Microsoft.Testing.Extensions.Telemetry": { "type": "Transitive", - "resolved": "1.4.3", - "contentHash": "dh8jnqWikxQXJ4kWy8B82PtSAlQCnvDKh1128arDmSW5OU5xWA84HwruV3TanXi3ZjIHn1wWFCgtMOhcDNwBow==", + "resolved": "1.5.0", + "contentHash": "G6XK8iLDMHIys55Fw7lIudRGrhNo3e/msIGkt6+Fckqggd9xl/nGTawy/4Avb8GFcuPfCwpQUuu8ESCPaxr08Q==", "dependencies": { "Microsoft.ApplicationInsights": "2.22.0", - "Microsoft.Testing.Platform": "1.4.3" + "Microsoft.Testing.Platform": "1.5.0" } }, "Microsoft.Testing.Extensions.TrxReport.Abstractions": { "type": "Transitive", - "resolved": "1.4.3", - "contentHash": "16sWznD6ZMok/zgW+vrO6zerCFMD9N+ey9bi1iV/e9xxsQb4V4y/aW6cY/Y7E9jA7pc+aZ6ffZby43yxQOoYZA==", + "resolved": "1.5.0", + "contentHash": "3vMXWbqqy3rSXYlPshR7CPqG0bgGDOhasyhVtqhAOy2tMED6VKU/IbKNMUmEuqgPNjMkCaicDTfNdXsrJPKcsw==", "dependencies": { - "Microsoft.Testing.Platform": "1.4.3" + "Microsoft.Testing.Platform": "1.5.0" } }, "Microsoft.Testing.Extensions.VSTestBridge": { "type": "Transitive", - "resolved": "1.4.3", - "contentHash": "xZ6oyNYh2aM5Wb+HJAy1fj2C4CNRVhINXHCjlWs/2C8hEIpdqVSpP3y6HWUN40KpFqyGD4myHGR1Rflm28UpcQ==", + "resolved": "1.5.0", + "contentHash": "lLb7JfTDdl6PUU3+Ia2O7+LekAqvyW3C5Rl94f+A/G16g+gxhynRDx73UuCBotjhn+8WGfEEH7Q81LsMCK/O4A==", "dependencies": { "Microsoft.ApplicationInsights": "2.22.0", - "Microsoft.TestPlatform.ObjectModel": "17.11.1", - "Microsoft.Testing.Extensions.Telemetry": "1.4.3", - "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.4.3", - "Microsoft.Testing.Platform": "1.4.3" + "Microsoft.TestPlatform.ObjectModel": "17.12.0", + "Microsoft.Testing.Extensions.Telemetry": "1.5.0", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.5.0", + "Microsoft.Testing.Platform": "1.5.0" } }, "Microsoft.Testing.Platform": { "type": "Transitive", - "resolved": "1.4.3", - "contentHash": "NedIbwl1T7+ZMeg7gwk0Db8/RFLf0siyVpeTcRMMOle6Xl/ujaYOM4Aduo8rEfVqNj3kcQ7blegpyT3dHi+0PA==" + "resolved": "1.5.0", + "contentHash": "L6MsgthfCEuqx4Z3VWmUzilFN4I4hrRIXY0UgGTP9sv9upt1V9m5x9m7fWUKRrnzoE8yTFeRxw1KaI9XmXIzRA==" }, "Microsoft.Testing.Platform.MSBuild": { "type": "Transitive", - "resolved": "1.4.3", - "contentHash": "1gGqgHtiZ6tZn/6Tby+qlKpNe5Ye/5LnxlSsyl4XMZ4m4V+Cu1K1m+gD1zxoxHIvLjgX8mCnQRK95MGBBFuumw==", + "resolved": "1.5.0", + "contentHash": "D3mL4Tz0m6nDkbl0ZdTnHiyKMqxDc84mtDiFzM6HQgfLlc5OIdZgN+MCj6YD1CW/izQO566XHOFImTSxluiLIg==", "dependencies": { - "Microsoft.Testing.Platform": "1.4.3" + "Microsoft.Testing.Platform": "1.5.0" } }, "Microsoft.TestPlatform.ObjectModel": { @@ -476,6 +473,11 @@ "Microsoft.Windows.SDK.Win32Metadata": "60.0.34-preview" } }, + "MSTest.Analyzers": { + "type": "Transitive", + "resolved": "3.7.0", + "contentHash": "6cW8FWzz6gr5MArL8GDNrw5c+afJtOMRyntFEzAdbgPHgH8DuLGMAyz8g38k/LMquewk3tOmbXoDIL/IACLKjg==" + }, "Newtonsoft.Json": { "type": "Transitive", "resolved": "13.0.3", diff --git a/global.json b/global.json index 90d5eb6..beea6e0 100644 --- a/global.json +++ b/global.json @@ -5,7 +5,7 @@ "rollForward": "latestPatch" }, "msbuild-sdks": { - "MSTest.Sdk": "3.6.4", + "MSTest.Sdk": "3.7.0", "WixToolset.Sdk": "5.0.2" } } \ No newline at end of file