From 48adb9da61177cd4edbad9bd3ddd8f8362a2c67f Mon Sep 17 00:00:00 2001 From: Alexander Batishchev Date: Thu, 15 Sep 2016 16:45:46 -0700 Subject: [PATCH] Moving source codes under src\, tests under tests\ (#49) * Moving source codes under src\, tests under tests\ * Cleaning-up AssemblyInfo's --- JWT.sln | 8 ++++---- {JWT => src/JWT}/DefaultJsonSerializer.cs | 0 {JWT => src/JWT}/IJsonSerializer.cs | 0 {JWT => src/JWT}/JWT.cs | 0 {JWT => src/JWT}/JWT.csproj | 0 {JWT => src/JWT}/JwtHashAlgorithm.cs | 0 {JWT => src/JWT}/Properties/AssemblyInfo.cs | 1 - {JWT => src/JWT}/SignatureVerificationException.cs | 0 {JWT => src/JWT}/TokenExpiredException.cs | 0 {JWT.Tests => tests/JWT.Tests}/DecodeTests.cs | 0 {JWT.Tests => tests/JWT.Tests}/EncodeTests.cs | 0 {JWT.Tests => tests/JWT.Tests}/JWT.Tests.csproj | 2 +- {JWT.Tests => tests/JWT.Tests}/Properties/AssemblyInfo.cs | 5 ++--- {JWT.Tests => tests/JWT.Tests}/Serializers.cs | 0 {JWT.Tests => tests/JWT.Tests}/packages.config | 0 15 files changed, 7 insertions(+), 9 deletions(-) rename {JWT => src/JWT}/DefaultJsonSerializer.cs (100%) rename {JWT => src/JWT}/IJsonSerializer.cs (100%) rename {JWT => src/JWT}/JWT.cs (100%) rename {JWT => src/JWT}/JWT.csproj (100%) rename {JWT => src/JWT}/JwtHashAlgorithm.cs (100%) rename {JWT => src/JWT}/Properties/AssemblyInfo.cs (97%) rename {JWT => src/JWT}/SignatureVerificationException.cs (100%) rename {JWT => src/JWT}/TokenExpiredException.cs (100%) rename {JWT.Tests => tests/JWT.Tests}/DecodeTests.cs (100%) rename {JWT.Tests => tests/JWT.Tests}/EncodeTests.cs (100%) rename {JWT.Tests => tests/JWT.Tests}/JWT.Tests.csproj (98%) rename {JWT.Tests => tests/JWT.Tests}/Properties/AssemblyInfo.cs (91%) rename {JWT.Tests => tests/JWT.Tests}/Serializers.cs (100%) rename {JWT.Tests => tests/JWT.Tests}/packages.config (100%) diff --git a/JWT.sln b/JWT.sln index 946e40e05..d9a9a922d 100644 --- a/JWT.sln +++ b/JWT.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JWT", "JWT\JWT.csproj", "{A80B51B8-DDF6-4026-98A4-B59653E50B38}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JWT", "src\JWT\JWT.csproj", "{A80B51B8-DDF6-4026-98A4-B59653E50B38}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JWT.Tests", "JWT.Tests\JWT.Tests.csproj", "{BF568781-D576-4545-A552-4DC839B1AF14}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JWT.Tests", "tests\JWT.Tests\JWT.Tests.csproj", "{BF568781-D576-4545-A552-4DC839B1AF14}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/JWT/DefaultJsonSerializer.cs b/src/JWT/DefaultJsonSerializer.cs similarity index 100% rename from JWT/DefaultJsonSerializer.cs rename to src/JWT/DefaultJsonSerializer.cs diff --git a/JWT/IJsonSerializer.cs b/src/JWT/IJsonSerializer.cs similarity index 100% rename from JWT/IJsonSerializer.cs rename to src/JWT/IJsonSerializer.cs diff --git a/JWT/JWT.cs b/src/JWT/JWT.cs similarity index 100% rename from JWT/JWT.cs rename to src/JWT/JWT.cs diff --git a/JWT/JWT.csproj b/src/JWT/JWT.csproj similarity index 100% rename from JWT/JWT.csproj rename to src/JWT/JWT.csproj diff --git a/JWT/JwtHashAlgorithm.cs b/src/JWT/JwtHashAlgorithm.cs similarity index 100% rename from JWT/JwtHashAlgorithm.cs rename to src/JWT/JwtHashAlgorithm.cs diff --git a/JWT/Properties/AssemblyInfo.cs b/src/JWT/Properties/AssemblyInfo.cs similarity index 97% rename from JWT/Properties/AssemblyInfo.cs rename to src/JWT/Properties/AssemblyInfo.cs index 1af69358d..a9ed1a05a 100644 --- a/JWT/Properties/AssemblyInfo.cs +++ b/src/JWT/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/JWT/SignatureVerificationException.cs b/src/JWT/SignatureVerificationException.cs similarity index 100% rename from JWT/SignatureVerificationException.cs rename to src/JWT/SignatureVerificationException.cs diff --git a/JWT/TokenExpiredException.cs b/src/JWT/TokenExpiredException.cs similarity index 100% rename from JWT/TokenExpiredException.cs rename to src/JWT/TokenExpiredException.cs diff --git a/JWT.Tests/DecodeTests.cs b/tests/JWT.Tests/DecodeTests.cs similarity index 100% rename from JWT.Tests/DecodeTests.cs rename to tests/JWT.Tests/DecodeTests.cs diff --git a/JWT.Tests/EncodeTests.cs b/tests/JWT.Tests/EncodeTests.cs similarity index 100% rename from JWT.Tests/EncodeTests.cs rename to tests/JWT.Tests/EncodeTests.cs diff --git a/JWT.Tests/JWT.Tests.csproj b/tests/JWT.Tests/JWT.Tests.csproj similarity index 98% rename from JWT.Tests/JWT.Tests.csproj rename to tests/JWT.Tests/JWT.Tests.csproj index 25468829f..f0f4ae34e 100644 --- a/JWT.Tests/JWT.Tests.csproj +++ b/tests/JWT.Tests/JWT.Tests.csproj @@ -74,7 +74,7 @@ - + {a80b51b8-ddf6-4026-98a4-b59653e50b38} JWT diff --git a/JWT.Tests/Properties/AssemblyInfo.cs b/tests/JWT.Tests/Properties/AssemblyInfo.cs similarity index 91% rename from JWT.Tests/Properties/AssemblyInfo.cs rename to tests/JWT.Tests/Properties/AssemblyInfo.cs index b6e19a85c..3de2a4124 100644 --- a/JWT.Tests/Properties/AssemblyInfo.cs +++ b/tests/JWT.Tests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following @@ -8,9 +7,9 @@ [assembly: AssemblyTitle("JWT.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("Public Domain")] [assembly: AssemblyProduct("JWT.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyCopyright("Public Domain")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/JWT.Tests/Serializers.cs b/tests/JWT.Tests/Serializers.cs similarity index 100% rename from JWT.Tests/Serializers.cs rename to tests/JWT.Tests/Serializers.cs diff --git a/JWT.Tests/packages.config b/tests/JWT.Tests/packages.config similarity index 100% rename from JWT.Tests/packages.config rename to tests/JWT.Tests/packages.config