From 59923ceca0fc82bf34aa182b4b19284ff84dbbf4 Mon Sep 17 00:00:00 2001 From: drieseng Date: Sat, 23 Jul 2016 17:58:42 +0200 Subject: [PATCH] Added tests and some slashdocs for ForwardedPortStatus. --- .../Renci.SshNet.Tests.NET35.csproj | 14 +- .../Renci.SshNet.Tests.csproj | 12 + src/Renci.SshNet/ForwardedPortStatus.cs | 63 +++-- .../ForwardedPortStatusTest_Started.cs | 243 +++++++++++++++++ .../ForwardedPortStatusTest_Starting.cs | 243 +++++++++++++++++ .../ForwardedPortStatusTest_Stopped.cs | 243 +++++++++++++++++ .../ForwardedPortStatusTest_Stopping.cs | 255 ++++++++++++++++++ .../Renci.SshNet.Shared.Tests.projitems | 4 + 8 files changed, 1061 insertions(+), 16 deletions(-) create mode 100644 test/Renci.SshNet.Shared.Tests/ForwardedPortStatusTest_Started.cs create mode 100644 test/Renci.SshNet.Shared.Tests/ForwardedPortStatusTest_Starting.cs create mode 100644 test/Renci.SshNet.Shared.Tests/ForwardedPortStatusTest_Stopped.cs create mode 100644 test/Renci.SshNet.Shared.Tests/ForwardedPortStatusTest_Stopping.cs diff --git a/src/Renci.SshNet.Tests.NET35/Renci.SshNet.Tests.NET35.csproj b/src/Renci.SshNet.Tests.NET35/Renci.SshNet.Tests.NET35.csproj index 9d96634e..42312eb8 100644 --- a/src/Renci.SshNet.Tests.NET35/Renci.SshNet.Tests.NET35.csproj +++ b/src/Renci.SshNet.Tests.NET35/Renci.SshNet.Tests.NET35.csproj @@ -65,6 +65,18 @@ Classes\Abstraction\ThreadAbstraction_ExecuteThread.cs + + Classes\ForwardedPortStatusTest_Started.cs + + + Classes\ForwardedPortStatusTest_Starting.cs + + + Classes\ForwardedPortStatusTest_Stopped.cs + + + Classes\ForwardedPortStatusTest_Stopping.cs + Classes\Channels\ChannelDirectTcpipTest.cs @@ -1286,7 +1298,7 @@ - +