From 1616d155722f693d5820eae3cd0ff9b02c297aa2 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sat, 20 Jul 2024 17:13:31 +0200 Subject: [PATCH] Move roundtrip tests to their own namespace. This makes it easier to run the fast non-roundtrip tests. --- ICSharpCode.Decompiler.Tests/Helpers/Tester.cs | 2 +- ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs b/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs index 709bf4cae..bdea4570f 100644 --- a/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs +++ b/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs @@ -528,7 +528,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers { CompilerResults results = new CompilerResults(); results.PathToAssembly = outputFileName; - string testBasePath = RoundtripAssembly.TestDir; + string testBasePath = Roundtrip.RoundtripAssembly.TestDir; if (!Directory.Exists(testBasePath)) { Assert.Ignore($"Compilation with mcs ignored: test directory '{testBasePath}' needs to be checked out separately." + Environment.NewLine + diff --git a/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs b/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs index 3043c9246..24d61e081 100644 --- a/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs +++ b/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs @@ -33,7 +33,7 @@ using ICSharpCode.Decompiler.Tests.Helpers; using NUnit.Framework; -namespace ICSharpCode.Decompiler.Tests +namespace ICSharpCode.Decompiler.Tests.Roundtrip { [TestFixture, Parallelizable(ParallelScope.All)] public class RoundtripAssembly