Commit b0d66a0c authored by Ray Koopa's avatar Ray Koopa

Move UnitTest projects to Test folder, add Scratchpad project.

parent 7acdd78f
namespace Syroot.BinaryData.Scratchpad
{
internal class Program
{
// ---- METHODS (PRIVATE) --------------------------------------------------------------------------------------
private static void Main(string[] args)
{
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net452;netcoreapp2.1;netstandard2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Syroot.BinaryData.Memory\Syroot.BinaryData.Memory.csproj" />
<ProjectReference Include="..\Syroot.BinaryData.Serialization\Syroot.BinaryData.Serialization.csproj" />
<ProjectReference Include="..\Syroot.BinaryData\Syroot.BinaryData.csproj" />
</ItemGroup>
</Project>
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTests
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsBoolean
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsDateTime
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsDouble
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsEnum
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsInt16
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsInt32
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsInt64
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsSingle
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsString
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsUInt16
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsUInt32
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class BinaryStreamTestsUInt64
......
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class ByteConverterTests
......
using System;
using System.IO;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
internal class NonSeekableStream : Stream
{
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class PerformanceTests
......@@ -13,7 +13,7 @@ namespace Syroot.BinaryData.UnitTest
private static readonly Random _random = new Random();
private static readonly byte[] _buffer = new byte[sizeof(Int32)];
// ---- FIELDS -------------------------------------------------------------------------------------------------
private static MemoryStream _stream = new MemoryStream();
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTests
......
......@@ -3,7 +3,7 @@ using System.IO;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTests7BitInt32
......
......@@ -3,7 +3,7 @@ using System.IO;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsBoolean
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsByte
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsDateTime
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsDecimal
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsDouble
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsEnum
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsInt16
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsInt32
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsInt64
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsSByte
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsSingle
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsString
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsUInt16
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public class StreamExtensionTestsUInt32
......
......@@ -2,7 +2,7 @@
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
[TestClass]
public partial class StreamExtensionTestsUInt64
......
using System;
using System.IO;
namespace Syroot.BinaryData.UnitTest
namespace Syroot.BinaryData.Test
{
internal static class TestTools
{
......
......@@ -5,14 +5,20 @@ VisualStudioVersion = 15.0.27130.2010
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData", "Syroot.BinaryData\Syroot.BinaryData.csproj", "{89B34252-236F-401B-B3FD-D48C9ABD7139}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.UnitTest", "Syroot.BinaryData.UnitTest\Syroot.BinaryData.UnitTest.csproj", "{AEF72396-F3E0-49EB-A45B-3F666B6039E5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.Test", "Syroot.BinaryData.Test\Syroot.BinaryData.Test.csproj", "{AEF72396-F3E0-49EB-A45B-3F666B6039E5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.Serialization", "Syroot.BinaryData.Serialization\Syroot.BinaryData.Serialization.csproj", "{CCE887C9-DB18-401A-91F4-DF3BC4442E68}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.Serialization.UnitTest", "Syroot.BinaryData.Serialization.UnitTest\Syroot.BinaryData.Serialization.UnitTest.csproj", "{CBB0637C-986F-4399-8689-F4F22027D973}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.Serialization.Test", "Syroot.BinaryData.Serialization.Test\Syroot.BinaryData.Serialization.Test.csproj", "{CBB0637C-986F-4399-8689-F4F22027D973}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Syroot.BinaryData.Memory", "Syroot.BinaryData.Memory\Syroot.BinaryData.Memory.csproj", "{C618C9FE-F8AD-40D0-8E7C-608FB938B821}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test Projects", "Test Projects", "{6198E070-1B04-438F-9EDC-A3A8C16A0F64}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Library Projects", "Library Projects", "{651EF913-9C28-49B6-B957-00E958484A0F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Syroot.BinaryData.Scratchpad", "Syroot.BinaryData.Scratchpad\Syroot.BinaryData.Scratchpad.csproj", "{CA2FBEC4-F8F2-4FF7-BD4B-13571F3692B0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
......@@ -39,10 +45,21 @@ Global
{C618C9FE-F8AD-40D0-8E7C-608FB938B821}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C618C9FE-F8AD-40D0-8E7C-608FB938B821}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C618C9FE-F8AD-40D0-8E7C-608FB938B821}.Release|Any CPU.Build.0 = Release|Any CPU
{CA2FBEC4-F8F2-4FF7-BD4B-13571F3692B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA2FBEC4-F8F2-4FF7-BD4B-13571F3692B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA2FBEC4-F8F2-4FF7-BD4B-13571F3692B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA2FBEC4-F8F2-4FF7-BD4B-13571F3692B0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{89B34252-236F-401B-B3FD-D48C9ABD7139} = {651EF913-9C28-49B6-B957-00E958484A0F}
{AEF72396-F3E0-49EB-A45B-3F666B6039E5} = {6198E070-1B04-438F-9EDC-A3A8C16A0F64}
{CCE887C9-DB18-401A-91F4-DF3BC4442E68} = {651EF913-9C28-49B6-B957-00E958484A0F}
{CBB0637C-986F-4399-8689-F4F22027D973} = {6198E070-1B04-438F-9EDC-A3A8C16A0F64}
{C618C9FE-F8AD-40D0-8E7C-608FB938B821} = {651EF913-9C28-49B6-B957-00E958484A0F}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9E175130-7965-40FF-8F75-73EE5334F6CE}
EndGlobalSection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment