From 5eea7cc84b00b0cecfec85ea293b4523b0ebb46a Mon Sep 17 00:00:00 2001 From: Craig_Oates Date: Tue, 26 Sep 2017 01:20:40 +0100 Subject: [PATCH] Added a unit test project to solution. This is in preparation of writing unit tests involving the CW_Console test-methods. I have added nothing to the unit test project, as of yet. Please check future commits for this unit test project because I am not sure it will remain at this moment in time. It all depends on how well the testing works out -- in the way I have it set-up right now at least. --- Console.Waterworks/CW_Tests/CW_Tests.csproj | 67 +++++++++++++++++++ .../CW_Tests/Properties/AssemblyInfo.cs | 20 ++++++ Console.Waterworks/CW_Tests/UnitTest1.cs | 14 ++++ Console.Waterworks/CW_Tests/packages.config | 5 ++ 4 files changed, 106 insertions(+) create mode 100644 Console.Waterworks/CW_Tests/CW_Tests.csproj create mode 100644 Console.Waterworks/CW_Tests/Properties/AssemblyInfo.cs create mode 100644 Console.Waterworks/CW_Tests/UnitTest1.cs create mode 100644 Console.Waterworks/CW_Tests/packages.config diff --git a/Console.Waterworks/CW_Tests/CW_Tests.csproj b/Console.Waterworks/CW_Tests/CW_Tests.csproj new file mode 100644 index 0000000..963e0d3 --- /dev/null +++ b/Console.Waterworks/CW_Tests/CW_Tests.csproj @@ -0,0 +1,67 @@ + + + + + Debug + AnyCPU + {F42AB60B-B1AF-41BD-8FFC-85D500D806A7} + Library + Properties + CW_Tests + CW_Tests + v4.6.1 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 15.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + + + ..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + \ No newline at end of file diff --git a/Console.Waterworks/CW_Tests/Properties/AssemblyInfo.cs b/Console.Waterworks/CW_Tests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..74b7f1c --- /dev/null +++ b/Console.Waterworks/CW_Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,20 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("CW_Tests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CW_Tests")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("f42ab60b-b1af-41bd-8ffc-85d500d806a7")] + +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Console.Waterworks/CW_Tests/UnitTest1.cs b/Console.Waterworks/CW_Tests/UnitTest1.cs new file mode 100644 index 0000000..89bcc4f --- /dev/null +++ b/Console.Waterworks/CW_Tests/UnitTest1.cs @@ -0,0 +1,14 @@ +using System; +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace CW_Tests +{ + [TestClass] + public class UnitTest1 + { + [TestMethod] + public void TestMethod1() + { + } + } +} diff --git a/Console.Waterworks/CW_Tests/packages.config b/Console.Waterworks/CW_Tests/packages.config new file mode 100644 index 0000000..d8c1b90 --- /dev/null +++ b/Console.Waterworks/CW_Tests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file