From ce662dc53aa58a931981ee70f1c8a3f5dc33ff24 Mon Sep 17 00:00:00 2001 From: Chris Pulman Date: Mon, 28 May 2018 23:36:09 +0100 Subject: [PATCH] Removed Tests --- SerialPortRx.Tests/Properties/AssemblyInfo.cs | 15 ---- SerialPortRx.Tests/SerialPortRx.Tests.csproj | 85 ------------------- SerialPortRx.Tests/SerialPortRxTest.cs | 53 ------------ SerialPortRx.Tests/packages.config | 6 -- SerialPortRx.sln | 13 ++- 5 files changed, 5 insertions(+), 167 deletions(-) delete mode 100644 SerialPortRx.Tests/Properties/AssemblyInfo.cs delete mode 100644 SerialPortRx.Tests/SerialPortRx.Tests.csproj delete mode 100644 SerialPortRx.Tests/SerialPortRxTest.cs delete mode 100644 SerialPortRx.Tests/packages.config diff --git a/SerialPortRx.Tests/Properties/AssemblyInfo.cs b/SerialPortRx.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 2907169..0000000 --- a/SerialPortRx.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("SerialPortRx.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ChrisPulman")] -[assembly: AssemblyProduct("SerialPortRx.Tests")] -[assembly: AssemblyCopyright("Copyright © https://github.com/ChrisPulman 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: Guid("155faa12-bec6-45f1-905f-22523e412f47")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file diff --git a/SerialPortRx.Tests/SerialPortRx.Tests.csproj b/SerialPortRx.Tests/SerialPortRx.Tests.csproj deleted file mode 100644 index 2dd9bf7..0000000 --- a/SerialPortRx.Tests/SerialPortRx.Tests.csproj +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debug - AnyCPU - {155FAA12-BEC6-45F1-905F-22523E412F47} - Library - Properties - SerialPortRx.Tests - SerialPortRx.Tests - v4.6.1 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll - - - - - ..\packages\RxProperty.4.2.2\lib\net46\ReactiveProperty.dll - - - ..\packages\RxProperty.4.2.2\lib\net46\ReactiveProperty.NET46.dll - - - - - - ..\packages\System.Reactive.3.1.1\lib\net46\System.Reactive.dll - - - - - - - - - - - - - - - - - - - {cda3585b-d3d6-4be4-9a6b-582ab5de0b8f} - SerialPortRx - - - - - - - - - - - \ No newline at end of file diff --git a/SerialPortRx.Tests/SerialPortRxTest.cs b/SerialPortRx.Tests/SerialPortRxTest.cs deleted file mode 100644 index d0e43ec..0000000 --- a/SerialPortRx.Tests/SerialPortRxTest.cs +++ /dev/null @@ -1,53 +0,0 @@ -namespace SerialPortRx.Tests -{ - using System; - using CP.IO.Ports; - using NUnit.Framework; - - [TestFixture] - [Timeout(10000)] - public class SerialPortRxTest - { - [Test] - [Category("SerialPortRx")] - public void SimpleConstructor() - { - var src = new SerialPortRx(); - src.Dispose(); - Assert.That(src.IsDisposed, Is.True); - } - - [Test] - [Category("SerialPortRx")] - public void SimpleConstructorWithPort() - { - var src = new SerialPortRx("COM1"); - Assert.That(src.PortName, Is.EqualTo("COM1")); - src.Dispose(); - Assert.That(src.IsDisposed, Is.True); - } - - [Test] - [Category("SerialPortRx")] - public void SimpleConstructorWithPortandBaud() - { - var src = new SerialPortRx("COM1", 9600); - Assert.That(src.PortName, Is.EqualTo("COM1")); - Assert.That(src.BaudRate, Is.EqualTo(9600)); - src.Dispose(); - Assert.That(src.IsDisposed, Is.True); - } - - [Test] - [Category("SerialPortRx")] - public void SimpleConstructorWithPortandBaudAndDatabits() - { - var src = new SerialPortRx("COM1", 9600, 8); - Assert.That(src.PortName, Is.EqualTo("COM1")); - Assert.That(src.BaudRate, Is.EqualTo(9600)); - Assert.That(src.DataBits, Is.EqualTo(8)); - src.Dispose(); - Assert.That(src.IsDisposed, Is.True); - } - } -} diff --git a/SerialPortRx.Tests/packages.config b/SerialPortRx.Tests/packages.config deleted file mode 100644 index eadfa93..0000000 --- a/SerialPortRx.Tests/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/SerialPortRx.sln b/SerialPortRx.sln index 7da7c00..2e144a1 100644 --- a/SerialPortRx.sln +++ b/SerialPortRx.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.2018 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SerialPortRx", "SerialPortRx\SerialPortRx.csproj", "{CDA3585B-D3D6-4BE4-9A6B-582AB5DE0B8F}" EndProject @@ -11,8 +11,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConfigFiles", "ConfigFiles" README.md = README.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SerialPortRx.Tests", "SerialPortRx.Tests\SerialPortRx.Tests.csproj", "{155FAA12-BEC6-45F1-905F-22523E412F47}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -23,12 +21,11 @@ Global {CDA3585B-D3D6-4BE4-9A6B-582AB5DE0B8F}.Debug|Any CPU.Build.0 = Debug|Any CPU {CDA3585B-D3D6-4BE4-9A6B-582AB5DE0B8F}.Release|Any CPU.ActiveCfg = Release|Any CPU {CDA3585B-D3D6-4BE4-9A6B-582AB5DE0B8F}.Release|Any CPU.Build.0 = Release|Any CPU - {155FAA12-BEC6-45F1-905F-22523E412F47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {155FAA12-BEC6-45F1-905F-22523E412F47}.Debug|Any CPU.Build.0 = Debug|Any CPU - {155FAA12-BEC6-45F1-905F-22523E412F47}.Release|Any CPU.ActiveCfg = Release|Any CPU - {155FAA12-BEC6-45F1-905F-22523E412F47}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8816E046-4B58-4E9B-8877-26360A8204C6} + EndGlobalSection EndGlobal