From 6fe9995893f3d5cb182d49ed03cc569b6e5a24d5 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 17 Aug 2019 14:52:58 +0200 Subject: [PATCH] Renamed tests and sample projects --- .../ComputeSharp.Sample.csproj} | 0 .../Program.cs | 3 +-- src/ComputeSharp.Graphics/Properties/AssemblyInfo.cs | 2 +- src/ComputeSharp.sln | 6 +++--- .../BufferTests.cs | 2 +- .../ComputeSharp.Tests.Internals.csproj} | 0 .../BufferTests.cs | 4 ++-- .../ComputeSharp.Tests.csproj} | 0 .../Extensions/SpanExtensions.cs | 2 +- .../InitializationTests.cs | 4 ++-- .../InvalidShaderTests.cs | 2 +- .../Properties/AssemblyInfo.cs | 0 .../ShaderClosureTests.cs | 4 ++-- .../ShaderDispatchTests.cs | 4 ++-- 14 files changed, 16 insertions(+), 17 deletions(-) rename samples/{NetCoreComputeShaderSample/NetCoreComputeShaderSample.csproj => ComputeSharp.Sample/ComputeSharp.Sample.csproj} (100%) rename samples/{NetCoreComputeShaderSample => ComputeSharp.Sample}/Program.cs (96%) rename tests/{ComputeSharp.NetCore.Tests.Internals => ComputeSharp.Tests.Internals}/BufferTests.cs (96%) rename tests/{ComputeSharp.NetCore.Tests.Internals/ComputeSharp.NetCore.Tests.Internals.csproj => ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj} (100%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/BufferTests.cs (97%) rename tests/{ComputeSharp.NetCore.Tests/ComputeSharp.NetCore.Tests.csproj => ComputeSharp.Tests/ComputeSharp.Tests.csproj} (100%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/Extensions/SpanExtensions.cs (96%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/InitializationTests.cs (93%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/InvalidShaderTests.cs (91%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/Properties/AssemblyInfo.cs (100%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/ShaderClosureTests.cs (97%) rename tests/{ComputeSharp.NetCore.Tests => ComputeSharp.Tests}/ShaderDispatchTests.cs (97%) diff --git a/samples/NetCoreComputeShaderSample/NetCoreComputeShaderSample.csproj b/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj similarity index 100% rename from samples/NetCoreComputeShaderSample/NetCoreComputeShaderSample.csproj rename to samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj diff --git a/samples/NetCoreComputeShaderSample/Program.cs b/samples/ComputeSharp.Sample/Program.cs similarity index 96% rename from samples/NetCoreComputeShaderSample/Program.cs rename to samples/ComputeSharp.Sample/Program.cs index de9ba68f..bfbf7acf 100644 --- a/samples/NetCoreComputeShaderSample/Program.cs +++ b/samples/ComputeSharp.Sample/Program.cs @@ -1,9 +1,8 @@ using System; using System.Linq; -using ComputeSharp; using ComputeSharp.Graphics.Buffers; -namespace NetCoreComputeShaderSample +namespace ComputeSharp.Sample { public class Program { diff --git a/src/ComputeSharp.Graphics/Properties/AssemblyInfo.cs b/src/ComputeSharp.Graphics/Properties/AssemblyInfo.cs index d1a09416..cf072a97 100644 --- a/src/ComputeSharp.Graphics/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Graphics/Properties/AssemblyInfo.cs @@ -2,5 +2,5 @@ [assembly: InternalsVisibleTo("ComputeSharp")] [assembly: InternalsVisibleTo("ComputeSharp.Shaders")] -[assembly: InternalsVisibleTo("ComputeSharp.NetCore.Tests.Internals")] +[assembly: InternalsVisibleTo("ComputeSharp.Tests.Internals")] diff --git a/src/ComputeSharp.sln b/src/ComputeSharp.sln index 6d3cf377..9de1062a 100644 --- a/src/ComputeSharp.sln +++ b/src/ComputeSharp.sln @@ -9,7 +9,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Shaders", "Com EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp", "ComputeSharp\ComputeSharp.csproj", "{314EB353-E7E3-4146-8111-685CC83EC1DE}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetCoreComputeShaderSample", "..\samples\NetCoreComputeShaderSample\NetCoreComputeShaderSample.csproj", "{7A48A85D-8866-4DED-A404-653ED09BF396}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Sample", "..\samples\ComputeSharp.Sample\ComputeSharp.Sample.csproj", "{7A48A85D-8866-4DED-A404-653ED09BF396}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_SolutionItems", "_SolutionItems", "{1A9C4108-F61A-4ABE-B5CF-F524521EAE2D}" ProjectSection(SolutionItems) = preProject @@ -20,9 +20,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{0ED8 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{F8EFBB27-4EE2-4463-A75B-7EFDFB55D0F7}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.NetCore.Tests", "..\tests\ComputeSharp.NetCore.Tests\ComputeSharp.NetCore.Tests.csproj", "{E91F4D24-922A-4921-A8D7-9C45A143C45D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests", "..\tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj", "{E91F4D24-922A-4921-A8D7-9C45A143C45D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.NetCore.Tests.Internals", "..\tests\ComputeSharp.NetCore.Tests.Internals\ComputeSharp.NetCore.Tests.Internals.csproj", "{E889E6D6-A814-4950-AAC1-68F1ECFC5BD6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests.Internals", "..\tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj", "{E889E6D6-A814-4950-AAC1-68F1ECFC5BD6}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/tests/ComputeSharp.NetCore.Tests.Internals/BufferTests.cs b/tests/ComputeSharp.Tests.Internals/BufferTests.cs similarity index 96% rename from tests/ComputeSharp.NetCore.Tests.Internals/BufferTests.cs rename to tests/ComputeSharp.Tests.Internals/BufferTests.cs index cf67acc9..fb146dfe 100644 --- a/tests/ComputeSharp.NetCore.Tests.Internals/BufferTests.cs +++ b/tests/ComputeSharp.Tests.Internals/BufferTests.cs @@ -5,7 +5,7 @@ using ComputeSharp.Graphics.Buffers; using ComputeSharp.Graphics.Buffers.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests.Internals +namespace ComputeSharp.Tests.Internals { [TestClass] [TestCategory("Buffers")] diff --git a/tests/ComputeSharp.NetCore.Tests.Internals/ComputeSharp.NetCore.Tests.Internals.csproj b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj similarity index 100% rename from tests/ComputeSharp.NetCore.Tests.Internals/ComputeSharp.NetCore.Tests.Internals.csproj rename to tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj diff --git a/tests/ComputeSharp.NetCore.Tests/BufferTests.cs b/tests/ComputeSharp.Tests/BufferTests.cs similarity index 97% rename from tests/ComputeSharp.NetCore.Tests/BufferTests.cs rename to tests/ComputeSharp.Tests/BufferTests.cs index 54553917..2b0b00c9 100644 --- a/tests/ComputeSharp.NetCore.Tests/BufferTests.cs +++ b/tests/ComputeSharp.Tests/BufferTests.cs @@ -1,10 +1,10 @@ using System; using System.Linq; using ComputeSharp.Graphics.Buffers; -using ComputeSharp.NetCore.Tests.Extensions; +using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests +namespace ComputeSharp.Tests { [TestClass] [TestCategory("Buffers")] diff --git a/tests/ComputeSharp.NetCore.Tests/ComputeSharp.NetCore.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj similarity index 100% rename from tests/ComputeSharp.NetCore.Tests/ComputeSharp.NetCore.Tests.csproj rename to tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj diff --git a/tests/ComputeSharp.NetCore.Tests/Extensions/SpanExtensions.cs b/tests/ComputeSharp.Tests/Extensions/SpanExtensions.cs similarity index 96% rename from tests/ComputeSharp.NetCore.Tests/Extensions/SpanExtensions.cs rename to tests/ComputeSharp.Tests/Extensions/SpanExtensions.cs index 11ec9ddf..8918c7c7 100644 --- a/tests/ComputeSharp.NetCore.Tests/Extensions/SpanExtensions.cs +++ b/tests/ComputeSharp.Tests/Extensions/SpanExtensions.cs @@ -2,7 +2,7 @@ using System.Diagnostics.Contracts; using System.Runtime.CompilerServices; -namespace ComputeSharp.NetCore.Tests.Extensions +namespace ComputeSharp.Tests.Extensions { /// /// An helper with methods to process fixed-size buffers diff --git a/tests/ComputeSharp.NetCore.Tests/InitializationTests.cs b/tests/ComputeSharp.Tests/InitializationTests.cs similarity index 93% rename from tests/ComputeSharp.NetCore.Tests/InitializationTests.cs rename to tests/ComputeSharp.Tests/InitializationTests.cs index 4e3b4c0f..32848321 100644 --- a/tests/ComputeSharp.NetCore.Tests/InitializationTests.cs +++ b/tests/ComputeSharp.Tests/InitializationTests.cs @@ -2,10 +2,10 @@ using System.Linq; using ComputeSharp.Graphics; using ComputeSharp.Graphics.Buffers; -using ComputeSharp.NetCore.Tests.Extensions; +using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests +namespace ComputeSharp.Tests { [TestClass] [TestCategory("Initialization")] diff --git a/tests/ComputeSharp.NetCore.Tests/InvalidShaderTests.cs b/tests/ComputeSharp.Tests/InvalidShaderTests.cs similarity index 91% rename from tests/ComputeSharp.NetCore.Tests/InvalidShaderTests.cs rename to tests/ComputeSharp.Tests/InvalidShaderTests.cs index a0693718..cfd18b75 100644 --- a/tests/ComputeSharp.NetCore.Tests/InvalidShaderTests.cs +++ b/tests/ComputeSharp.Tests/InvalidShaderTests.cs @@ -1,7 +1,7 @@ using System; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests +namespace ComputeSharp.Tests { [TestClass] [TestCategory("InvalidShader")] diff --git a/tests/ComputeSharp.NetCore.Tests/Properties/AssemblyInfo.cs b/tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from tests/ComputeSharp.NetCore.Tests/Properties/AssemblyInfo.cs rename to tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs diff --git a/tests/ComputeSharp.NetCore.Tests/ShaderClosureTests.cs b/tests/ComputeSharp.Tests/ShaderClosureTests.cs similarity index 97% rename from tests/ComputeSharp.NetCore.Tests/ShaderClosureTests.cs rename to tests/ComputeSharp.Tests/ShaderClosureTests.cs index 9a23fcd5..74917ded 100644 --- a/tests/ComputeSharp.NetCore.Tests/ShaderClosureTests.cs +++ b/tests/ComputeSharp.Tests/ShaderClosureTests.cs @@ -2,10 +2,10 @@ using System.Linq; using System.Numerics; using ComputeSharp.Graphics.Buffers; -using ComputeSharp.NetCore.Tests.Extensions; +using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests +namespace ComputeSharp.Tests { [TestClass] [TestCategory("ShaderClosure")] diff --git a/tests/ComputeSharp.NetCore.Tests/ShaderDispatchTests.cs b/tests/ComputeSharp.Tests/ShaderDispatchTests.cs similarity index 97% rename from tests/ComputeSharp.NetCore.Tests/ShaderDispatchTests.cs rename to tests/ComputeSharp.Tests/ShaderDispatchTests.cs index 27fa6073..82ac7d77 100644 --- a/tests/ComputeSharp.NetCore.Tests/ShaderDispatchTests.cs +++ b/tests/ComputeSharp.Tests/ShaderDispatchTests.cs @@ -1,10 +1,10 @@ using System; using System.Linq; using ComputeSharp.Graphics.Buffers; -using ComputeSharp.NetCore.Tests.Extensions; +using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace ComputeSharp.NetCore.Tests +namespace ComputeSharp.Tests { [TestClass] [TestCategory("ShaderDispatch")]