diff --git a/src/Renci.SshNet.Benchmarks/Common/ExtensionsBenchmarks.cs b/src/Renci.SshNet.Benchmarks/Common/ExtensionsBenchmarks.cs
new file mode 100644
index 000000000..547c20d6a
--- /dev/null
+++ b/src/Renci.SshNet.Benchmarks/Common/ExtensionsBenchmarks.cs
@@ -0,0 +1,27 @@
+using BenchmarkDotNet.Attributes;
+
+using Renci.SshNet.Common;
+
+namespace Renci.SshNet.Benchmarks.Common
+{
+ public class ExtensionsBenchmarks
+ {
+ private byte[]? _data;
+
+ [Params(1000, 10000)]
+ public int N;
+
+ [GlobalSetup]
+ public void Setup()
+ {
+ _data = new byte[N];
+ new Random(42).NextBytes(_data);
+ }
+
+ [Benchmark]
+ public byte[] Reverse()
+ {
+ return _data.Reverse();
+ }
+ }
+}
diff --git a/src/Renci.SshNet.Tests/Classes/CipherInfoTest.cs b/src/Renci.SshNet.Tests/Classes/CipherInfoTest.cs
deleted file mode 100644
index 832c92f8b..000000000
--- a/src/Renci.SshNet.Tests/Classes/CipherInfoTest.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-using System;
-
-namespace Renci.SshNet.Tests.Classes
-{
- ///
- /// Holds information about key size and cipher to use
- ///
- [TestClass]
- public class CipherInfoTest : TestBase
- {
- ///
- ///A test for CipherInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void CipherInfoConstructorTest()
- {
- var keySize = 0; // TODO: Initialize to an appropriate value
- Func cipher = null; // TODO: Initialize to an appropriate value
- var target = new CipherInfo(keySize, cipher);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs b/src/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs
deleted file mode 100644
index 5a972e69f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Common;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Common
-{
- ///
- ///This is a test class for AsyncResultTest and is intended
- ///to contain all AsyncResultTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholder for actual test
- public class AsyncResultTest : TestBase
- {
- ///
- ///A test for EndInvoke
- ///
- public void EndInvokeTest1Helper()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- var expected = default(TResult); // TODO: Initialize to an appropriate value
- var actual = target.EndInvoke();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- internal virtual AsyncResult CreateAsyncResult()
- {
- // TODO: Instantiate an appropriate concrete class.
- AsyncResult target = null;
- return target;
- }
-
- [TestMethod]
- public void EndInvokeTest1()
- {
- EndInvokeTest1Helper();
- }
-
- ///
- ///A test for SetAsCompleted
- ///
- public void SetAsCompletedTest1Helper()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- TResult result = default; // TODO: Initialize to an appropriate value
- var completedSynchronously = false; // TODO: Initialize to an appropriate value
- target.SetAsCompleted(result, completedSynchronously);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- [TestMethod]
- public void SetAsCompletedTest1()
- {
- SetAsCompletedTest1Helper();
- }
-
- internal virtual AsyncResult CreateAsyncResult()
- {
- // TODO: Instantiate an appropriate concrete class.
- AsyncResult target = null;
- return target;
- }
-
- ///
- ///A test for EndInvoke
- ///
- [TestMethod]
- public void EndInvokeTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- target.EndInvoke();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetAsCompleted
- ///
- [TestMethod]
- public void SetAsCompletedTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- Exception exception = null; // TODO: Initialize to an appropriate value
- var completedSynchronously = false; // TODO: Initialize to an appropriate value
- target.SetAsCompleted(exception, completedSynchronously);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for AsyncState
- ///
- [TestMethod]
- public void AsyncStateTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- var actual = target.AsyncState;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AsyncWaitHandle
- ///
- [TestMethod]
- public void AsyncWaitHandleTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- var actual = target.AsyncWaitHandle;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CompletedSynchronously
- ///
- [TestMethod]
- public void CompletedSynchronouslyTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- var actual = target.CompletedSynchronously;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsCompleted
- ///
- [TestMethod]
- public void IsCompletedTest()
- {
- var target = CreateAsyncResult(); // TODO: Initialize to an appropriate value
- var actual = target.IsCompleted;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Common/DerDataTest.cs b/src/Renci.SshNet.Tests/Classes/Common/DerDataTest.cs
deleted file mode 100644
index d0f567909..000000000
--- a/src/Renci.SshNet.Tests/Classes/Common/DerDataTest.cs
+++ /dev/null
@@ -1,173 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Common;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Common
-{
- ///
- ///This is a test class for DerDataTest and is intended
- ///to contain all DerDataTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholder for actual test
- public class DerDataTest : TestBase
- {
- ///
- ///A test for DerData Constructor
- ///
- [TestMethod]
- public void DerDataConstructorTest()
- {
- DerData target = new DerData();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DerData Constructor
- ///
- [TestMethod]
- public void DerDataConstructorTest1()
- {
- byte[] data = null; // TODO: Initialize to an appropriate value
- DerData target = new DerData(data);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Encode
- ///
- [TestMethod]
- public void EncodeTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Encode();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadBigInteger
- ///
- [TestMethod]
- public void ReadBigIntegerTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- BigInteger expected = new BigInteger(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.ReadBigInteger();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadInteger
- ///
- [TestMethod]
- public void ReadIntegerTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.ReadInteger();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- bool data = false; // TODO: Initialize to an appropriate value
- target.Write(data);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest1()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- uint data = 0; // TODO: Initialize to an appropriate value
- target.Write(data);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest2()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- BigInteger data = new BigInteger(); // TODO: Initialize to an appropriate value
- target.Write(data);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest3()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- target.Write(data);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest4()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- ObjectIdentifier identifier = new ObjectIdentifier(); // TODO: Initialize to an appropriate value
- target.Write(identifier);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- public void WriteTest5()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- DerData data = null; // TODO: Initialize to an appropriate value
- target.Write(data);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteNull
- ///
- [TestMethod]
- public void WriteNullTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- target.WriteNull();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for IsEndOfData
- ///
- [TestMethod]
- public void IsEndOfDataTest()
- {
- DerData target = new DerData(); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsEndOfData;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Common/ExtensionsTest_Reverse.cs b/src/Renci.SshNet.Tests/Classes/Common/ExtensionsTest_Reverse.cs
index 3088d254c..32727ab75 100644
--- a/src/Renci.SshNet.Tests/Classes/Common/ExtensionsTest_Reverse.cs
+++ b/src/Renci.SshNet.Tests/Classes/Common/ExtensionsTest_Reverse.cs
@@ -1,5 +1,4 @@
using System;
-using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
@@ -21,7 +20,7 @@ public void Empty()
Assert.AreEqual(0, actual.Length);
}
- [TestInitialize]
+ [TestMethod]
public void Null()
{
const byte[] value = null;
@@ -61,24 +60,6 @@ public void Small()
Assert.AreEqual(1, value[4]);
Assert.AreEqual(0, value[5]);
}
-
- [TestMethod]
- [Ignore]
- public void Perf_Large()
- {
- var value = new byte[2048];
- new Random().NextBytes(value);
-
- var stopwatch = Stopwatch.StartNew();
-
- for (var i = 0; i < 1000000; i++)
- {
- Extensions.Reverse(value);
- }
-
- stopwatch.Stop();
- Console.WriteLine(stopwatch.ElapsedMilliseconds);
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Common/SshConnectionExceptionTest.cs b/src/Renci.SshNet.Tests/Classes/Common/SshConnectionExceptionTest.cs
index 2a305fcb9..ccb2a643a 100644
--- a/src/Renci.SshNet.Tests/Classes/Common/SshConnectionExceptionTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Common/SshConnectionExceptionTest.cs
@@ -1,5 +1,4 @@
using System;
-using System.Runtime.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -61,19 +60,5 @@ public void SshConnectionExceptionConstructorTest3()
var target = new SshConnectionException(message, disconnectReasonCode, inner);
Assert.Inconclusive("TODO: Implement code to verify target");
}
-
- ///
- ///A test for GetObjectData
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetObjectDataTest()
- {
- var target = new SshConnectionException(); // TODO: Initialize to an appropriate value
- SerializationInfo info = null; // TODO: Initialize to an appropriate value
- var context = new StreamingContext(); // TODO: Initialize to an appropriate value
- target.GetObjectData(info, context);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Common/SshExceptionTest.cs b/src/Renci.SshNet.Tests/Classes/Common/SshExceptionTest.cs
index 435845086..ebf5ca894 100644
--- a/src/Renci.SshNet.Tests/Classes/Common/SshExceptionTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Common/SshExceptionTest.cs
@@ -1,5 +1,4 @@
using System;
-using System.Runtime.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
using Renci.SshNet.Tests.Common;
@@ -45,19 +44,5 @@ public void SshExceptionConstructorTest2()
SshException target = new SshException(message, inner);
Assert.Inconclusive("TODO: Implement code to verify target");
}
-
- ///
- ///A test for GetObjectData
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetObjectDataTest()
- {
- SshException target = new SshException(); // TODO: Initialize to an appropriate value
- SerializationInfo info = null; // TODO: Initialize to an appropriate value
- StreamingContext context = new StreamingContext(); // TODO: Initialize to an appropriate value
- target.GetObjectData(info, context);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Compression/CompressorTest.cs b/src/Renci.SshNet.Tests/Classes/Compression/CompressorTest.cs
deleted file mode 100644
index 9a94f6dc6..000000000
--- a/src/Renci.SshNet.Tests/Classes/Compression/CompressorTest.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using Renci.SshNet.Compression;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Compression
-{
- ///
- ///This is a test class for CompressorTest and is intended
- ///to contain all CompressorTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class CompressorTest : TestBase
- {
- internal virtual Compressor CreateCompressor()
- {
- // TODO: Instantiate an appropriate concrete class.
- Compressor target = null;
- return target;
- }
-
- ///
- ///A test for Compress
- ///
- [TestMethod()]
- public void CompressTest()
- {
- Compressor target = CreateCompressor(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Compress(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Decompress
- ///
- [TestMethod()]
- public void DecompressTest()
- {
- Compressor target = CreateCompressor(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Decompress(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod()]
- public void DisposeTest()
- {
- Compressor target = CreateCompressor(); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Init
- ///
- [TestMethod()]
- public void InitTest()
- {
- Compressor target = CreateCompressor(); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- target.Init(session);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Compression/ZlibOpenSshTest.cs b/src/Renci.SshNet.Tests/Classes/Compression/ZlibOpenSshTest.cs
deleted file mode 100644
index b3e166501..000000000
--- a/src/Renci.SshNet.Tests/Classes/Compression/ZlibOpenSshTest.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Compression;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Compression
-{
- ///
- ///This is a test class for ZlibOpenSshTest and is intended
- ///to contain all ZlibOpenSshTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class ZlibOpenSshTest : TestBase
- {
- ///
- ///A test for ZlibOpenSsh Constructor
- ///
- [TestMethod()]
- public void ZlibOpenSshConstructorTest()
- {
- var target = new ZlibOpenSsh();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Init
- ///
- [TestMethod()]
- public void InitTest()
- {
- var target = new ZlibOpenSsh(); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- target.Init(session);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Name
- ///
- [TestMethod()]
- public void NameTest()
- {
- var target = new ZlibOpenSsh(); // TODO: Initialize to an appropriate value
- var actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Compression/ZlibStreamTest.cs b/src/Renci.SshNet.Tests/Classes/Compression/ZlibStreamTest.cs
deleted file mode 100644
index 6ee6236c2..000000000
--- a/src/Renci.SshNet.Tests/Classes/Compression/ZlibStreamTest.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System.IO;
-
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Compression;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Compression
-{
- ///
- ///This is a test class for ZlibStreamTest and is intended
- ///to contain all ZlibStreamTest Unit Tests
- ///
- [TestClass]
- public class ZlibStreamTest : TestBase
- {
- ///
- ///A test for ZlibStream Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ZlibStreamConstructorTest()
- {
- Stream stream = null; // TODO: Initialize to an appropriate value
- var mode = new CompressionMode(); // TODO: Initialize to an appropriate value
- var target = new ZlibStream(stream, mode);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Write
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void WriteTest()
- {
- Stream stream = null; // TODO: Initialize to an appropriate value
- var mode = new CompressionMode(); // TODO: Initialize to an appropriate value
- var target = new ZlibStream(stream, mode); // TODO: Initialize to an appropriate value
- byte[] buffer = null; // TODO: Initialize to an appropriate value
- var offset = 0; // TODO: Initialize to an appropriate value
- var count = 0; // TODO: Initialize to an appropriate value
- target.Write(buffer, offset, count);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Compression/ZlibTest.cs b/src/Renci.SshNet.Tests/Classes/Compression/ZlibTest.cs
deleted file mode 100644
index d460b3eb4..000000000
--- a/src/Renci.SshNet.Tests/Classes/Compression/ZlibTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Compression
-{
- ///
- /// Represents "zlib" compression implementation
- ///
- [TestClass]
- public class ZlibTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/ForwardedPortRemoteTest.cs b/src/Renci.SshNet.Tests/Classes/ForwardedPortRemoteTest.cs
index be6adef7b..b18e4ab57 100644
--- a/src/Renci.SshNet.Tests/Classes/ForwardedPortRemoteTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/ForwardedPortRemoteTest.cs
@@ -12,21 +12,6 @@ namespace Renci.SshNet.Tests.Classes
[TestClass]
public partial class ForwardedPortRemoteTest : TestBase
{
- ///
- ///A test for Stop
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void StopTest()
- {
- uint boundPort = 0; // TODO: Initialize to an appropriate value
- var host = string.Empty; // TODO: Initialize to an appropriate value
- uint port = 0; // TODO: Initialize to an appropriate value
- var target = new ForwardedPortRemote(boundPort, host, port); // TODO: Initialize to an appropriate value
- target.Stop();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
[TestMethod]
public void Start_NotAddedToClient()
{
@@ -46,49 +31,5 @@ public void Start_NotAddedToClient()
Assert.AreEqual("Forwarded port is not added to a client.", ex.Message);
}
}
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void DisposeTest()
- {
- uint boundPort = 0; // TODO: Initialize to an appropriate value
- var host = string.Empty; // TODO: Initialize to an appropriate value
- uint port = 0; // TODO: Initialize to an appropriate value
- var target = new ForwardedPortRemote(boundPort, host, port); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for ForwardedPortRemote Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ForwardedPortRemoteConstructorTest()
- {
- var boundHost = string.Empty; // TODO: Initialize to an appropriate value
- uint boundPort = 0; // TODO: Initialize to an appropriate value
- var host = string.Empty; // TODO: Initialize to an appropriate value
- uint port = 0; // TODO: Initialize to an appropriate value
- var target = new ForwardedPortRemote(boundHost, boundPort, host, port);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ForwardedPortRemote Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ForwardedPortRemoteConstructorTest1()
- {
- uint boundPort = 0; // TODO: Initialize to an appropriate value
- var host = string.Empty; // TODO: Initialize to an appropriate value
- uint port = 0; // TODO: Initialize to an appropriate value
- var target = new ForwardedPortRemote(boundPort, host, port);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveAuthenticationMethodTest.cs b/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveAuthenticationMethodTest.cs
index b85b88a8c..2940388d1 100644
--- a/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveAuthenticationMethodTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveAuthenticationMethodTest.cs
@@ -29,61 +29,5 @@ public void Keyboard_Test_Pass_Whitespace()
{
new KeyboardInteractiveAuthenticationMethod(string.Empty);
}
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NameTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveAuthenticationMethod target = new KeyboardInteractiveAuthenticationMethod(username); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveAuthenticationMethod target = new KeyboardInteractiveAuthenticationMethod(username); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Authenticate
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AuthenticateTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveAuthenticationMethod target = new KeyboardInteractiveAuthenticationMethod(username); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- AuthenticationResult expected = new AuthenticationResult(); // TODO: Initialize to an appropriate value
- AuthenticationResult actual;
- actual = target.Authenticate(session);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for KeyboardInteractiveAuthenticationMethod Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveAuthenticationMethodConstructorTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveAuthenticationMethod target = new KeyboardInteractiveAuthenticationMethod(username);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
}
-}
\ No newline at end of file
+}
diff --git a/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveConnectionInfoTest.cs b/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveConnectionInfoTest.cs
deleted file mode 100644
index f50aaf9b7..000000000
--- a/src/Renci.SshNet.Tests/Classes/KeyboardInteractiveConnectionInfoTest.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes
-{
- ///
- /// Provides connection information when keyboard interactive authentication method is used
- ///
- [TestClass]
- public class KeyboardInteractiveConnectionInfoTest : TestBase
- {
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, username); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, username, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, username, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest4()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest5()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest6()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, port, username);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for KeyboardInteractiveConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyboardInteractiveConnectionInfoConstructorTest7()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- KeyboardInteractiveConnectionInfo target = new KeyboardInteractiveConnectionInfo(host, username);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/MessageEventArgsTest.cs b/src/Renci.SshNet.Tests/Classes/MessageEventArgsTest.cs
deleted file mode 100644
index da6ab8517..000000000
--- a/src/Renci.SshNet.Tests/Classes/MessageEventArgsTest.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes
-{
- ///
- /// Provides data for message events.
- ///
- [TestClass]
- public class MessageEventArgsTest : TestBase
- {
- ///
- ///A test for MessageEventArgs`1 Constructor
- ///
- public void MessageEventArgsConstructorTestHelper()
- {
- T message = default; // TODO: Initialize to an appropriate value
- var target = new MessageEventArgs(message);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void MessageEventArgsConstructorTest()
- {
- MessageEventArgsConstructorTestHelper();
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/BannerMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/BannerMessageTest.cs
deleted file mode 100644
index 0c1021351..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/BannerMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Messages.Authentication;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Authentication
-{
- ///
- ///This is a test class for BannerMessageTest and is intended
- ///to contain all BannerMessageTest Unit Tests
- ///
- [TestClass]
- public class BannerMessageTest : TestBase
- {
- ///
- ///A test for BannerMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void BannerMessageConstructorTest()
- {
- BannerMessage target = new BannerMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/FailureMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/FailureMessageTest.cs
deleted file mode 100644
index 979b1d750..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/FailureMessageTest.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Authentication;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- ///This is a test class for FailureMessageTest and is intended
- ///to contain all FailureMessageTest Unit Tests
- ///
- [TestClass]
- public class FailureMessageTest : TestBase
- {
- ///
- ///A test for FailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void FailureMessageConstructorTest()
- {
- var target = new FailureMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for AllowedAuthentications
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void AllowedAuthenticationsTest()
- {
- var target = new FailureMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- string[] actual;
- target.AllowedAuthentications = expected;
- actual = target.AllowedAuthentications;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationRequestMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationRequestMessageTest.cs
deleted file mode 100644
index 31dbd4e6e..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationRequestMessageTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents SSH_MSG_USERAUTH_INFO_REQUEST message.
- ///
- [TestClass]
- public class InformationRequestMessageTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationResponseMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationResponseMessageTest.cs
deleted file mode 100644
index f5d0f0ae3..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/InformationResponseMessageTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents SSH_MSG_USERAUTH_INFO_RESPONSE message.
- ///
- [TestClass]
- public class InformationResponseMessageTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PasswordChangeRequiredMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PasswordChangeRequiredMessageTest.cs
deleted file mode 100644
index 3d876373f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PasswordChangeRequiredMessageTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents SSH_MSG_USERAUTH_PASSWD_CHANGEREQ message.
- ///
- [TestClass]
- public class PasswordChangeRequiredMessageTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PublicKeyMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PublicKeyMessageTest.cs
deleted file mode 100644
index 1ab453989..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/PublicKeyMessageTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents SSH_MSG_USERAUTH_PK_OK message.
- ///
- [TestClass]
- public class PublicKeyMessageTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageHostTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageHostTest.cs
deleted file mode 100644
index e50ee295e..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageHostTest.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents "hostbased" SSH_MSG_USERAUTH_REQUEST message.
- ///
- public class RequestMessageHostTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageKeyboardInteractiveTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageKeyboardInteractiveTest.cs
deleted file mode 100644
index b038ed9d9..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageKeyboardInteractiveTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents "keyboard-interactive" SSH_MSG_USERAUTH_REQUEST message.
- ///
- [TestClass]
- public class RequestMessageKeyboardInteractiveTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageNoneTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageNoneTest.cs
deleted file mode 100644
index cfae6875a..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessageNoneTest.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents "none" SSH_MSG_USERAUTH_REQUEST message.
- ///
- public class RequestMessageNoneTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePasswordTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePasswordTest.cs
deleted file mode 100644
index 47ca635d1..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePasswordTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- /// Represents "password" SSH_MSG_USERAUTH_REQUEST message.
- ///
- [TestClass]
- public class RequestMessagePasswordTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePublicKeyTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePublicKeyTest.cs
deleted file mode 100644
index fb4e36af1..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/RequestMessagePublicKeyTest.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages;
-using Renci.SshNet.Messages.Authentication;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Messages.Authentication
-{
- ///
- ///This is a test class for RequestMessagePublicKeyTest and is intended
- ///to contain all RequestMessagePublicKeyTest Unit Tests
- ///
- [TestClass()]
- public class RequestMessagePublicKeyTest : TestBase
- {
- ///
- ///A test for RequestMessagePublicKey Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestMessagePublicKeyConstructorTest()
- {
- var serviceName = new ServiceName(); // TODO: Initialize to an appropriate value
- var username = string.Empty; // TODO: Initialize to an appropriate value
- var keyAlgorithmName = string.Empty; // TODO: Initialize to an appropriate value
- byte[] keyData = null; // TODO: Initialize to an appropriate value
- var target = new RequestMessagePublicKey(serviceName, username, keyAlgorithmName, keyData);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for RequestMessagePublicKey Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestMessagePublicKeyConstructorTest1()
- {
- var serviceName = new ServiceName(); // TODO: Initialize to an appropriate value
- var username = string.Empty; // TODO: Initialize to an appropriate value
- var keyAlgorithmName = string.Empty; // TODO: Initialize to an appropriate value
- byte[] keyData = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- var target = new RequestMessagePublicKey(serviceName, username, keyAlgorithmName, keyData, signature);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for MethodName
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void MethodNameTest()
- {
- var serviceName = new ServiceName(); // TODO: Initialize to an appropriate value
- var username = string.Empty; // TODO: Initialize to an appropriate value
- var keyAlgorithmName = string.Empty; // TODO: Initialize to an appropriate value
- byte[] keyData = null; // TODO: Initialize to an appropriate value
- var target = new RequestMessagePublicKey(serviceName, username, keyAlgorithmName, keyData); // TODO: Initialize to an appropriate value
- var actual = target.MethodName;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Signature
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SignatureTest()
- {
- var serviceName = new ServiceName(); // TODO: Initialize to an appropriate value
- var username = string.Empty; // TODO: Initialize to an appropriate value
- var keyAlgorithmName = string.Empty; // TODO: Initialize to an appropriate value
- byte[] keyData = null; // TODO: Initialize to an appropriate value
- var target = new RequestMessagePublicKey(serviceName, username, keyAlgorithmName, keyData); // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- target.Signature = expected;
- var actual = target.Signature;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/SuccessMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Authentication/SuccessMessageTest.cs
deleted file mode 100644
index 24cdbe3c3..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Authentication/SuccessMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Messages.Authentication;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Authentication
-{
- ///
- ///This is a test class for SuccessMessageTest and is intended
- ///to contain all SuccessMessageTest Unit Tests
- ///
- [TestClass()]
- public class SuccessMessageTest : TestBase
- {
- ///
- ///A test for SuccessMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SuccessMessageConstructorTest()
- {
- SuccessMessage target = new SuccessMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelCloseMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelCloseMessageTest.cs
deleted file mode 100644
index 995981a60..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelCloseMessageTest.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using Renci.SshNet.Messages.Connection;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelCloseMessageTest and is intended
- ///to contain all ChannelCloseMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelCloseMessageTest : TestBase
- {
- ///
- ///A test for ChannelCloseMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelCloseMessageConstructorTest()
- {
- var target = new ChannelCloseMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelCloseMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelCloseMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelCloseMessage(localChannelNumber);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelEofMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelEofMessageTest.cs
deleted file mode 100644
index ad2becd89..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelEofMessageTest.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using Renci.SshNet.Messages.Connection;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelEofMessageTest and is intended
- ///to contain all ChannelEofMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelEofMessageTest : TestBase
- {
- ///
- ///A test for ChannelEofMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelEofMessageConstructorTest()
- {
- var target = new ChannelEofMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelEofMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelEofMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelEofMessage(localChannelNumber);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelExtendedDataMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelExtendedDataMessageTest.cs
deleted file mode 100644
index 65e3dbcc7..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelExtendedDataMessageTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelExtendedDataMessageTest and is intended
- ///to contain all ChannelExtendedDataMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelExtendedDataMessageTest : TestBase
- {
- ///
- ///A test for ChannelExtendedDataMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelExtendedDataMessageConstructorTest()
- {
- var target = new ChannelExtendedDataMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelExtendedDataMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelExtendedDataMessageConstructorTest1()
- {
- //uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- //ChannelExtendedDataMessage target = new ChannelExtendedDataMessage(localChannelNumber, null, null);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelFailureMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelFailureMessageTest.cs
deleted file mode 100644
index 070df2a68..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelFailureMessageTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelFailureMessageTest and is intended
- ///to contain all ChannelFailureMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelFailureMessageTest : TestBase
- {
- ///
- ///A test for ChannelFailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelFailureMessageConstructorTest()
- {
- var target = new ChannelFailureMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelFailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelFailureMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelFailureMessage(localChannelNumber);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelMessageTest.cs
deleted file mode 100644
index 53c56cf7f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelMessageTest.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelMessageTest and is intended
- ///to contain all ChannelMessageTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class ChannelMessageTest : TestBase
- {
- internal virtual ChannelMessage CreateChannelMessage()
- {
- // TODO: Instantiate an appropriate concrete class.
- ChannelMessage target = null;
- return target;
- }
-
- ///
- ///A test for ToString
- ///
- [TestMethod()]
- public void ToStringTest()
- {
- var target = CreateChannelMessage(); // TODO: Initialize to an appropriate value
- var expected = string.Empty; // TODO: Initialize to an appropriate value
- var actual = target.ToString();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/DirectTcpipChannelInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/DirectTcpipChannelInfoTest.cs
deleted file mode 100644
index 8cda173bd..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/DirectTcpipChannelInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Used to open "direct-tcpip" channel type
- ///
- [TestClass]
- public class DirectTcpipChannelInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/ForwardedTcpipChannelInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/ForwardedTcpipChannelInfoTest.cs
deleted file mode 100644
index df38576a6..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/ForwardedTcpipChannelInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Used to open "forwarded-tcpip" channel type
- ///
- [TestClass]
- public class ForwardedTcpipChannelInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/SessionChannelOpenInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/SessionChannelOpenInfoTest.cs
deleted file mode 100644
index f647ed5ce..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/SessionChannelOpenInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Used to open "session" channel type
- ///
- [TestClass]
- public class SessionChannelOpenInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/X11ChannelOpenInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/X11ChannelOpenInfoTest.cs
deleted file mode 100644
index 44f348292..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpen/X11ChannelOpenInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Used to open "x11" channel type
- ///
- [TestClass]
- public class X11ChannelOpenInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenConfirmationMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenConfirmationMessageTest.cs
deleted file mode 100644
index 3ad44b48f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenConfirmationMessageTest.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelOpenConfirmationMessageTest and is intended
- ///to contain all ChannelOpenConfirmationMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelOpenConfirmationMessageTest : TestBase
- {
- ///
- ///A test for ChannelOpenConfirmationMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelOpenConfirmationMessageConstructorTest()
- {
- var target = new ChannelOpenConfirmationMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelOpenConfirmationMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelOpenConfirmationMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- uint initialWindowSize = 0; // TODO: Initialize to an appropriate value
- uint maximumPacketSize = 0; // TODO: Initialize to an appropriate value
- uint remoteChannelNumber = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelOpenConfirmationMessage(localChannelNumber, initialWindowSize, maximumPacketSize, remoteChannelNumber);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenFailureMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenFailureMessageTest.cs
deleted file mode 100644
index 848f81eda..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenFailureMessageTest.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelOpenFailureMessageTest and is intended
- ///to contain all ChannelOpenFailureMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelOpenFailureMessageTest : TestBase
- {
- ///
- ///A test for ChannelOpenFailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelOpenFailureMessageConstructorTest()
- {
- var target = new ChannelOpenFailureMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelOpenFailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelOpenFailureMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- var description = string.Empty; // TODO: Initialize to an appropriate value
- uint reasonCode = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelOpenFailureMessage(localChannelNumber, description, reasonCode);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenInfoTest.cs
deleted file mode 100644
index a28e17ed8..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelOpenInfoTest.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelOpenInfoTest and is intended
- ///to contain all ChannelOpenInfoTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class ChannelOpenInfoTest : TestBase
- {
- internal virtual ChannelOpenInfo CreateChannelOpenInfo()
- {
- // TODO: Instantiate an appropriate concrete class.
- ChannelOpenInfo target = null;
- return target;
- }
-
- ///
- ///A test for ChannelType
- ///
- [TestMethod()]
- public void ChannelTypeTest()
- {
- var target = CreateChannelOpenInfo(); // TODO: Initialize to an appropriate value
- var actual = target.ChannelType;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/BreakRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/BreakRequestInfoTest.cs
deleted file mode 100644
index dd8d7b287..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/BreakRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "break" type channel request information
- ///
- [TestClass]
- public class BreakRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ChannelRequestMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ChannelRequestMessageTest.cs
deleted file mode 100644
index 0c5599975..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ChannelRequestMessageTest.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents SSH_MSG_CHANNEL_REQUEST message.
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class ChannelRequestMessageTest : TestBase
- {
- ///
- ///A test for ChannelRequestMessage Constructor
- ///
- [TestMethod()]
- public void ChannelRequestMessageConstructorTest()
- {
- ChannelRequestMessage target = new ChannelRequestMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelRequestMessage Constructor
- ///
- [TestMethod()]
- public void ChannelRequestMessageConstructorTest1()
- {
- uint localChannelName = 0; // TODO: Initialize to an appropriate value
- RequestInfo info = null; // TODO: Initialize to an appropriate value
- ChannelRequestMessage target = new ChannelRequestMessage(localChannelName, info);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EndOfWriteRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EndOfWriteRequestInfoTest.cs
deleted file mode 100644
index 0573bade7..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EndOfWriteRequestInfoTest.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for EndOfWriteRequestInfoTest and is intended
- ///to contain all EndOfWriteRequestInfoTest Unit Tests
- ///
- [TestClass]
- public class EndOfWriteRequestInfoTest : TestBase
- {
- ///
- ///A test for EndOfWriteRequestInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void EndOfWriteRequestInfoConstructorTest()
- {
- var target = new EndOfWriteRequestInfo();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for RequestName
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestNameTest()
- {
- var target = new EndOfWriteRequestInfo(); // TODO: Initialize to an appropriate value
-
- var actual = target.RequestName;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfoTest.cs
deleted file mode 100644
index 78899d9d2..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "env" type channel request information
- ///
- [TestClass]
- public class EnvironmentVariableRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExecRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExecRequestInfoTest.cs
deleted file mode 100644
index ed030011b..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExecRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "exec" type channel request information
- ///
- [TestClass]
- public class ExecRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitSignalRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitSignalRequestInfoTest.cs
deleted file mode 100644
index 81c00444e..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitSignalRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "exit-signal" type channel request information
- ///
- [TestClass]
- public class ExitSignalRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitStatusRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitStatusRequestInfoTest.cs
deleted file mode 100644
index dd17e684d..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ExitStatusRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "exit-status" type channel request information
- ///
- [TestClass]
- public class ExitStatusRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/KeepAliveRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/KeepAliveRequestInfoTest.cs
deleted file mode 100644
index 77b8cc927..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/KeepAliveRequestInfoTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for KeepAliveRequestInfoTest and is intended
- ///to contain all KeepAliveRequestInfoTest Unit Tests
- ///
- [TestClass]
- public class KeepAliveRequestInfoTest : TestBase
- {
- ///
- ///A test for KeepAliveRequestInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void KeepAliveRequestInfoConstructorTest()
- {
- var target = new KeepAliveRequestInfo();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for RequestName
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestNameTest()
- {
- var target = new KeepAliveRequestInfo(); // TODO: Initialize to an appropriate value
- var actual = target.RequestName;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ShellRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ShellRequestInfoTest.cs
deleted file mode 100644
index 26ef2e97f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/ShellRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "shell" type channel request information
- ///
- [TestClass]
- public class ShellRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SignalRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SignalRequestInfoTest.cs
deleted file mode 100644
index 31df73591..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SignalRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "signal" type channel request information
- ///
- [TestClass]
- public class SignalRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SubsystemRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SubsystemRequestInfoTest.cs
deleted file mode 100644
index 5beaa074f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/SubsystemRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "subsystem" type channel request information
- ///
- [TestClass]
- public class SubsystemRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/WindowChangeRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/WindowChangeRequestInfoTest.cs
deleted file mode 100644
index 15cd2d339..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/WindowChangeRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "window-change" type channel request information
- ///
- [TestClass]
- public class WindowChangeRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/X11ForwardingRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/X11ForwardingRequestInfoTest.cs
deleted file mode 100644
index c5fab8a12..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/X11ForwardingRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "x11-req" type channel request information
- ///
- [TestClass]
- public class X11ForwardingRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/XonXoffRequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/XonXoffRequestInfoTest.cs
deleted file mode 100644
index f6ef5fc56..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/XonXoffRequestInfoTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- /// Represents "xon-xoff" type channel request information
- ///
- [TestClass]
- public class XonXoffRequestInfoTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelSuccessMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelSuccessMessageTest.cs
deleted file mode 100644
index 68efa44c4..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelSuccessMessageTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelSuccessMessageTest and is intended
- ///to contain all ChannelSuccessMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelSuccessMessageTest : TestBase
- {
- ///
- ///A test for ChannelSuccessMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelSuccessMessageConstructorTest()
- {
- var target = new ChannelSuccessMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelSuccessMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelSuccessMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- var target = new ChannelSuccessMessage(localChannelNumber);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelWindowAdjustMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelWindowAdjustMessageTest.cs
deleted file mode 100644
index 12d19a61c..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelWindowAdjustMessageTest.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for ChannelWindowAdjustMessageTest and is intended
- ///to contain all ChannelWindowAdjustMessageTest Unit Tests
- ///
- [TestClass]
- public class ChannelWindowAdjustMessageTest : TestBase
- {
- ///
- ///A test for ChannelWindowAdjustMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelWindowAdjustMessageConstructorTest()
- {
- ChannelWindowAdjustMessage target = new ChannelWindowAdjustMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChannelWindowAdjustMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ChannelWindowAdjustMessageConstructorTest1()
- {
- uint localChannelNumber = 0; // TODO: Initialize to an appropriate value
- uint bytesToAdd = 0; // TODO: Initialize to an appropriate value
- ChannelWindowAdjustMessage target = new ChannelWindowAdjustMessage(localChannelNumber, bytesToAdd);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestFailureMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestFailureMessageTest.cs
deleted file mode 100644
index b482ac0ab..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestFailureMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Renci.SshNet.Messages.Connection;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for RequestFailureMessageTest and is intended
- ///to contain all RequestFailureMessageTest Unit Tests
- ///
- [TestClass]
- public class RequestFailureMessageTest : TestBase
- {
- ///
- ///A test for RequestFailureMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestFailureMessageConstructorTest()
- {
- RequestFailureMessage target = new RequestFailureMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestInfoTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestInfoTest.cs
deleted file mode 100644
index f37ecc183..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestInfoTest.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for RequestInfoTest and is intended
- ///to contain all RequestInfoTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class RequestInfoTest : TestBase
- {
- internal virtual RequestInfo CreateRequestInfo()
- {
- // TODO: Instantiate an appropriate concrete class.
- RequestInfo target = null;
- return target;
- }
-
- ///
- ///A test for RequestName
- ///
- [TestMethod()]
- public void RequestNameTest()
- {
- var target = CreateRequestInfo(); // TODO: Initialize to an appropriate value
- var actual = target.RequestName;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestSuccessMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestSuccessMessageTest.cs
deleted file mode 100644
index fba922456..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Connection/RequestSuccessMessageTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Connection;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Connection
-{
- ///
- ///This is a test class for RequestSuccessMessageTest and is intended
- ///to contain all RequestSuccessMessageTest Unit Tests
- ///
- [TestClass]
- public class RequestSuccessMessageTest : TestBase
- {
- ///
- ///A test for RequestSuccessMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestSuccessMessageConstructorTest()
- {
- var target = new RequestSuccessMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for RequestSuccessMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void RequestSuccessMessageConstructorTest1()
- {
- uint boundPort = 0; // TODO: Initialize to an appropriate value
- var target = new RequestSuccessMessage(boundPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/MessageAttributeTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/MessageAttributeTest.cs
deleted file mode 100644
index eb6118d61..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/MessageAttributeTest.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages
-{
- ///
- ///This is a test class for MessageAttributeTest and is intended
- ///to contain all MessageAttributeTest Unit Tests
- ///
- [TestClass()]
- public class MessageAttributeTest : TestBase
- {
- ///
- ///A test for MessageAttribute Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void MessageAttributeConstructorTest()
- {
- var name = string.Empty; // TODO: Initialize to an appropriate value
- byte number = 0; // TODO: Initialize to an appropriate value
- var target = new MessageAttribute(name, number);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void NameTest()
- {
- var name = string.Empty; // TODO: Initialize to an appropriate value
- byte number = 0; // TODO: Initialize to an appropriate value
- var target = new MessageAttribute(name, number); // TODO: Initialize to an appropriate value
- var expected = string.Empty; // TODO: Initialize to an appropriate value
- target.Name = expected;
- var actual = target.Name;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Number
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void NumberTest()
- {
- var name = string.Empty; // TODO: Initialize to an appropriate value
- byte number = 0; // TODO: Initialize to an appropriate value
- var target = new MessageAttribute(name, number); // TODO: Initialize to an appropriate value
- byte expected = 0; // TODO: Initialize to an appropriate value
- target.Number = expected;
- var actual = target.Number;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/MessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/MessageTest.cs
deleted file mode 100644
index d3290f1f9..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/MessageTest.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages
-{
- ///
- ///This is a test class for MessageTest and is intended
- ///to contain all MessageTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class MessageTest : TestBase
- {
- internal virtual Message CreateMessage()
- {
- // TODO: Instantiate an appropriate concrete class.
- Message target = null;
- return target;
- }
-
- ///
- ///A test for GetBytes
- ///
- [TestMethod]
- public void GetBytesTest()
- {
- var target = CreateMessage(); // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- var actual = target.GetBytes();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ToString
- ///
- [TestMethod]
- public void ToStringTest()
- {
- var target = CreateMessage(); // TODO: Initialize to an appropriate value
- var expected = string.Empty; // TODO: Initialize to an appropriate value
- var actual = target.ToString();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/DebugMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/DebugMessageTest.cs
deleted file mode 100644
index 25f07de37..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/DebugMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Renci.SshNet.Messages.Transport;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for DebugMessageTest and is intended
- ///to contain all DebugMessageTest Unit Tests
- ///
- [TestClass]
- public class DebugMessageTest : TestBase
- {
- ///
- ///A test for DebugMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void DebugMessageConstructorTest()
- {
- DebugMessage target = new DebugMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/DisconnectMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/DisconnectMessageTest.cs
deleted file mode 100644
index 853653826..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/DisconnectMessageTest.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for DisconnectMessageTest and is intended
- ///to contain all DisconnectMessageTest Unit Tests
- ///
- [TestClass]
- public class DisconnectMessageTest : TestBase
- {
- ///
- ///A test for DisconnectMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void DisconnectMessageConstructorTest()
- {
- var target = new DisconnectMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DisconnectMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void DisconnectMessageConstructorTest1()
- {
- var reasonCode = new DisconnectReason(); // TODO: Initialize to an appropriate value
- var message = string.Empty; // TODO: Initialize to an appropriate value
- var target = new DisconnectMessage(reasonCode, message);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhGroupExchangeGroupTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhGroupExchangeGroupTest.cs
deleted file mode 100644
index b5a56f48c..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhGroupExchangeGroupTest.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for KeyExchangeDhGroupExchangeGroupTest and is intended
- ///to contain all KeyExchangeDhGroupExchangeGroupTest Unit Tests
- ///
- [TestClass]
- public class KeyExchangeDhGroupExchangeGroupTest : TestBase
- {
- ///
- ///A test for KeyExchangeDhGroupExchangeGroup Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void KeyExchangeDhGroupExchangeGroupConstructorTest()
- {
- var target = new KeyExchangeDhGroupExchangeGroup();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhInitMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhInitMessageTest.cs
deleted file mode 100644
index 01fd55151..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhInitMessageTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- /// Represents SSH_MSG_KEXDH_INIT message.
- ///
- [TestClass]
- public class KeyExchangeDhInitMessageTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhReplyMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhReplyMessageTest.cs
deleted file mode 100644
index a0d0d2f13..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhReplyMessageTest.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for KeyExchangeDhReplyMessageTest and is intended
- ///to contain all KeyExchangeDhReplyMessageTest Unit Tests
- ///
- [TestClass]
- public class KeyExchangeDhReplyMessageTest : TestBase
- {
- ///
- ///A test for KeyExchangeDhReplyMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void KeyExchangeDhReplyMessageConstructorTest()
- {
- var target = new KeyExchangeDhReplyMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeInitMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeInitMessageTest.cs
index 0ad95267f..e7116dc85 100644
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeInitMessageTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeInitMessageTest.cs
@@ -64,196 +64,5 @@ public void Test_KeyExchangeInitMessage_GetBytes()
Assert.IsTrue(input.Skip(17).SequenceEqual(output.Skip(17)));
}
-
- ///
- ///A test for KeyExchangeInitMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void KeyExchangeInitMessageConstructorTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for CompressionAlgorithmsClientToServer
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void CompressionAlgorithmsClientToServerTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.CompressionAlgorithmsClientToServer = expected;
- var actual = target.CompressionAlgorithmsClientToServer;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CompressionAlgorithmsServerToClient
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void CompressionAlgorithmsServerToClientTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.CompressionAlgorithmsServerToClient = expected;
- var actual = target.CompressionAlgorithmsServerToClient;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptionAlgorithmsClientToServer
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void EncryptionAlgorithmsClientToServerTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.EncryptionAlgorithmsClientToServer = expected;
- var actual = target.EncryptionAlgorithmsClientToServer;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptionAlgorithmsServerToClient
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void EncryptionAlgorithmsServerToClientTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.EncryptionAlgorithmsServerToClient = expected;
- var actual = target.EncryptionAlgorithmsServerToClient;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for FirstKexPacketFollows
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void FirstKexPacketFollowsTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- target.FirstKexPacketFollows = expected;
- var actual = target.FirstKexPacketFollows;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for KeyExchangeAlgorithms
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void KeyExchangeAlgorithmsTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.KeyExchangeAlgorithms = expected;
- var actual = target.KeyExchangeAlgorithms;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LanguagesClientToServer
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void LanguagesClientToServerTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.LanguagesClientToServer = expected;
- var actual = target.LanguagesClientToServer;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LanguagesServerToClient
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void LanguagesServerToClientTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.LanguagesServerToClient = expected;
- var actual = target.LanguagesServerToClient;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for MacAlgorithmsClientToServer
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void MacAlgorithmsClientToServerTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.MacAlgorithmsClientToServer = expected;
- var actual = target.MacAlgorithmsClientToServer;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for MacAlgorithmsServerToClient
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void MacAlgorithmsServerToClientTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.MacAlgorithmsServerToClient = expected;
- var actual = target.MacAlgorithmsServerToClient;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Reserved
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ReservedTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- uint expected = 0; // TODO: Initialize to an appropriate value
- target.Reserved = expected;
- var actual = target.Reserved;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ServerHostKeyAlgorithms
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ServerHostKeyAlgorithmsTest()
- {
- KeyExchangeInitMessage target = new KeyExchangeInitMessage(); // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- target.ServerHostKeyAlgorithms = expected;
- var actual = target.ServerHostKeyAlgorithms;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
-}
\ No newline at end of file
+}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/NewKeysMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/NewKeysMessageTest.cs
deleted file mode 100644
index 430c2151f..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/NewKeysMessageTest.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for NewKeysMessageTest and is intended
- ///to contain all NewKeysMessageTest Unit Tests
- ///
- [TestClass]
- public class NewKeysMessageTest : TestBase
- {
- ///
- ///A test for NewKeysMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void NewKeysMessageConstructorTest()
- {
- var target = new NewKeysMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceAcceptMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceAcceptMessageTest.cs
deleted file mode 100644
index 143cd7003..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceAcceptMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for ServiceAcceptMessageTest and is intended
- ///to contain all ServiceAcceptMessageTest Unit Tests
- ///
- [TestClass]
- public class ServiceAcceptMessageTest
- {
- ///
- ///A test for ServiceAcceptMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ServiceAcceptMessageConstructorTest()
- {
- var target = new ServiceAcceptMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceRequestMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceRequestMessageTest.cs
deleted file mode 100644
index 9806fb862..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/ServiceRequestMessageTest.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Messages;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for ServiceRequestMessageTest and is intended
- ///to contain all ServiceRequestMessageTest Unit Tests
- ///
- [TestClass]
- public class ServiceRequestMessageTest
- {
- ///
- ///A test for ServiceRequestMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void ServiceRequestMessageConstructorTest()
- {
- var serviceName = new ServiceName(); // TODO: Initialize to an appropriate value
- var target = new ServiceRequestMessage(serviceName);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Messages/Transport/UnimplementedMessageTest.cs b/src/Renci.SshNet.Tests/Classes/Messages/Transport/UnimplementedMessageTest.cs
deleted file mode 100644
index 5e8d53add..000000000
--- a/src/Renci.SshNet.Tests/Classes/Messages/Transport/UnimplementedMessageTest.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Renci.SshNet.Messages.Transport;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Messages.Transport
-{
- ///
- ///This is a test class for UnimplementedMessageTest and is intended
- ///to contain all UnimplementedMessageTest Unit Tests
- ///
- [TestClass]
- public class UnimplementedMessageTest : TestBase
- {
- ///
- ///A test for UnimplementedMessage Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void UnimplementedMessageConstructorTest()
- {
- var target = new UnimplementedMessage();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/NetConfClientTest.cs b/src/Renci.SshNet.Tests/Classes/NetConfClientTest.cs
index 0a76674be..d86ca2e37 100644
--- a/src/Renci.SshNet.Tests/Classes/NetConfClientTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/NetConfClientTest.cs
@@ -1,7 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Tests.Common;
using System;
-using System.Xml;
namespace Renci.SshNet.Tests.Classes
{
@@ -109,170 +108,5 @@ public void OperationTimeout_GreaterThanLowerLimit()
Assert.AreEqual("value", ex.ParamName);
}
}
-
- ///
- ///A test for NetConfClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NetConfClientConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(host, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for NetConfClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NetConfClientConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(host, port, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for NetConfClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NetConfClientConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(host, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for NetConfClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NetConfClientConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(host, port, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for NetConfClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NetConfClientConstructorTest4()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SendReceiveRpc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SendReceiveRpcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- string xml = string.Empty; // TODO: Initialize to an appropriate value
- XmlDocument expected = null; // TODO: Initialize to an appropriate value
- XmlDocument actual;
- actual = target.SendReceiveRpc(xml);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for SendReceiveRpc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SendReceiveRpcTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- XmlDocument rpc = null; // TODO: Initialize to an appropriate value
- XmlDocument expected = null; // TODO: Initialize to an appropriate value
- XmlDocument actual;
- actual = target.SendReceiveRpc(rpc);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for SendCloseRpc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SendCloseRpcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- XmlDocument expected = null; // TODO: Initialize to an appropriate value
- XmlDocument actual;
- actual = target.SendCloseRpc();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ServerCapabilities
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ServerCapabilitiesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- XmlDocument actual;
- actual = target.ServerCapabilities;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ClientCapabilities
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ClientCapabilitiesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- XmlDocument actual;
- actual = target.ClientCapabilities;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AutomaticMessageIdHandling
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AutomaticMessageIdHandlingTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- NetConfClient target = new NetConfClient(connectionInfo); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.AutomaticMessageIdHandling = expected;
- actual = target.AutomaticMessageIdHandling;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
-}
\ No newline at end of file
+}
diff --git a/src/Renci.SshNet.Tests/Classes/NoneAuthenticationMethodTest.cs b/src/Renci.SshNet.Tests/Classes/NoneAuthenticationMethodTest.cs
index 3dc69e319..377ff89a5 100644
--- a/src/Renci.SshNet.Tests/Classes/NoneAuthenticationMethodTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/NoneAuthenticationMethodTest.cs
@@ -48,47 +48,5 @@ public void Username()
Assert.AreSame(username, target.Username);
}
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- NoneAuthenticationMethod target = new NoneAuthenticationMethod(username); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Authenticate
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AuthenticateTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- NoneAuthenticationMethod target = new NoneAuthenticationMethod(username); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- AuthenticationResult expected = new AuthenticationResult(); // TODO: Initialize to an appropriate value
- AuthenticationResult actual;
- actual = target.Authenticate(session);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for NoneAuthenticationMethod Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NoneAuthenticationMethodConstructorTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- NoneAuthenticationMethod target = new NoneAuthenticationMethod(username);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
}
-}
\ No newline at end of file
+}
diff --git a/src/Renci.SshNet.Tests/Classes/PasswordAuthenticationMethodTest.cs b/src/Renci.SshNet.Tests/Classes/PasswordAuthenticationMethodTest.cs
index 951314d1c..7ad141adf 100644
--- a/src/Renci.SshNet.Tests/Classes/PasswordAuthenticationMethodTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/PasswordAuthenticationMethodTest.cs
@@ -57,78 +57,5 @@ public void Password_Test_Pass_Valid()
{
new PasswordAuthenticationMethod("valid", string.Empty);
}
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NameTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordAuthenticationMethod target = new PasswordAuthenticationMethod(username, password); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordAuthenticationMethod target = new PasswordAuthenticationMethod(username, password); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Authenticate
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AuthenticateTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordAuthenticationMethod target = new PasswordAuthenticationMethod(username, password); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- AuthenticationResult expected = new AuthenticationResult(); // TODO: Initialize to an appropriate value
- AuthenticationResult actual;
- actual = target.Authenticate(session);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for PasswordAuthenticationMethod Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordAuthenticationMethodConstructorTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordAuthenticationMethod target = new PasswordAuthenticationMethod(username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordAuthenticationMethod Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordAuthenticationMethodConstructorTest1()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- PasswordAuthenticationMethod target = new PasswordAuthenticationMethod(username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/PasswordConnectionInfoTest.cs b/src/Renci.SshNet.Tests/Classes/PasswordConnectionInfoTest.cs
index 56a510140..dbaa340f8 100644
--- a/src/Renci.SshNet.Tests/Classes/PasswordConnectionInfoTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/PasswordConnectionInfoTest.cs
@@ -69,281 +69,5 @@ public void Test_ConnectionInfo_BigPortNumber()
{
_ = new PasswordConnectionInfo(Resources.HOST, IPEndPoint.MaxPort + 1, Resources.USERNAME, Resources.PASSWORD);
}
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- var host = string.Empty; // TODO: Initialize to an appropriate value
- var username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- var target = new PasswordConnectionInfo(host, username, password); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest4()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest5()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest6()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest7()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- byte[] password = null; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest8()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest9()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest10()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest11()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password, proxyType, proxyHost, proxyPort, proxyUsername);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest12()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password, proxyType, proxyHost, proxyPort);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest13()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, port, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PasswordConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PasswordConnectionInfoConstructorTest14()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- PasswordConnectionInfo target = new PasswordConnectionInfo(host, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/PrivateKeyAuthenticationMethodTest.cs b/src/Renci.SshNet.Tests/Classes/PrivateKeyAuthenticationMethodTest.cs
index 6ea7a33ff..aa713dc96 100644
--- a/src/Renci.SshNet.Tests/Classes/PrivateKeyAuthenticationMethodTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/PrivateKeyAuthenticationMethodTest.cs
@@ -42,65 +42,5 @@ public void PrivateKey_Test_Pass_Whitespace()
{
new PrivateKeyAuthenticationMethod(string.Empty, null);
}
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NameTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyAuthenticationMethod target = new PrivateKeyAuthenticationMethod(username, keyFiles); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyAuthenticationMethod target = new PrivateKeyAuthenticationMethod(username, keyFiles); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Authenticate
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AuthenticateTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyAuthenticationMethod target = new PrivateKeyAuthenticationMethod(username, keyFiles); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- AuthenticationResult expected = new AuthenticationResult(); // TODO: Initialize to an appropriate value
- AuthenticationResult actual;
- actual = target.Authenticate(session);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for PrivateKeyAuthenticationMethod Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyAuthenticationMethodConstructorTest()
- {
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyAuthenticationMethod target = new PrivateKeyAuthenticationMethod(username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
}
-}
\ No newline at end of file
+}
diff --git a/src/Renci.SshNet.Tests/Classes/PrivateKeyConnectionInfoTest.cs b/src/Renci.SshNet.Tests/Classes/PrivateKeyConnectionInfoTest.cs
deleted file mode 100644
index 40a781174..000000000
--- a/src/Renci.SshNet.Tests/Classes/PrivateKeyConnectionInfoTest.cs
+++ /dev/null
@@ -1,167 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes
-{
- ///
- /// Provides connection information when private key authentication method is used
- ///
- [TestClass]
- public class PrivateKeyConnectionInfoTest : TestBase
- {
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, username, keyFiles); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- string proxyPassword = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, username, proxyType, proxyHost, proxyPort, proxyUsername, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, username, proxyType, proxyHost, proxyPort, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest4()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- string proxyUsername = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest5()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- ProxyTypes proxyType = new ProxyTypes(); // TODO: Initialize to an appropriate value
- string proxyHost = string.Empty; // TODO: Initialize to an appropriate value
- int proxyPort = 0; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, port, username, proxyType, proxyHost, proxyPort, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest6()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, port, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for PrivateKeyConnectionInfo Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PrivateKeyConnectionInfoConstructorTest7()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- PrivateKeyConnectionInfo target = new PrivateKeyConnectionInfo(host, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/ScpClientTest.cs b/src/Renci.SshNet.Tests/Classes/ScpClientTest.cs
index bcdf93966..786e408d4 100644
--- a/src/Renci.SshNet.Tests/Classes/ScpClientTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/ScpClientTest.cs
@@ -1,5 +1,4 @@
using System;
-using System.IO;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -215,129 +214,6 @@ public void RemotePathTransformation_Value_Null()
Assert.AreSame(RemotePathTransformation.ShellQuote, client.RemotePathTransformation);
}
- ///
- ///A test for OperationTimeout
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OperationTimeoutTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- var expected = new TimeSpan(); // TODO: Initialize to an appropriate value
- target.OperationTimeout = expected;
- var actual = target.OperationTimeout;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for BufferSize
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BufferSizeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- uint expected = 0; // TODO: Initialize to an appropriate value
- uint actual;
- target.BufferSize = expected;
- actual = target.BufferSize;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Upload
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UploadTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- DirectoryInfo directoryInfo = null; // TODO: Initialize to an appropriate value
- var filename = string.Empty; // TODO: Initialize to an appropriate value
- target.Upload(directoryInfo, filename);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Upload
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UploadTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- FileInfo fileInfo = null; // TODO: Initialize to an appropriate value
- var filename = string.Empty; // TODO: Initialize to an appropriate value
- target.Upload(fileInfo, filename);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Upload
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UploadTest2()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream source = null; // TODO: Initialize to an appropriate value
- var filename = string.Empty; // TODO: Initialize to an appropriate value
- target.Upload(source, filename);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Download
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DownloadTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- var directoryName = string.Empty; // TODO: Initialize to an appropriate value
- DirectoryInfo directoryInfo = null; // TODO: Initialize to an appropriate value
- target.Download(directoryName, directoryInfo);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Download
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DownloadTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- var filename = string.Empty; // TODO: Initialize to an appropriate value
- FileInfo fileInfo = null; // TODO: Initialize to an appropriate value
- target.Download(filename, fileInfo);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Download
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DownloadTest2()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- var target = new ScpClient(connectionInfo); // TODO: Initialize to an appropriate value
- var filename = string.Empty; // TODO: Initialize to an appropriate value
- Stream destination = null; // TODO: Initialize to an appropriate value
- target.Download(filename, destination);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
private PrivateKeyFile GetRsaKey()
{
using (var stream = GetData("Key.RSA.txt"))
diff --git a/src/Renci.SshNet.Tests/Classes/Security/AlgorithmTest.cs b/src/Renci.SshNet.Tests/Classes/Security/AlgorithmTest.cs
deleted file mode 100644
index 00c9d5d24..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/AlgorithmTest.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for AlgorithmTest and is intended
- ///to contain all AlgorithmTest Unit Tests
- ///
- [TestClass()]
- public class AlgorithmTest : TestBase
- {
- internal virtual Algorithm CreateAlgorithm()
- {
- // TODO: Instantiate an appropriate concrete class.
- Algorithm target = null;
- return target;
- }
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NameTest()
- {
- Algorithm target = CreateAlgorithm(); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/CertificateHostAlgorithmTest.cs b/src/Renci.SshNet.Tests/Classes/Security/CertificateHostAlgorithmTest.cs
deleted file mode 100644
index 31beb9f27..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/CertificateHostAlgorithmTest.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for CertificateHostAlgorithmTest and is intended
- ///to contain all CertificateHostAlgorithmTest Unit Tests
- ///
- [TestClass()]
- public class CertificateHostAlgorithmTest : TestBase
- {
- ///
- ///A test for CertificateHostAlgorithm Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void CertificateHostAlgorithmConstructorTest()
- {
- string name = string.Empty; // TODO: Initialize to an appropriate value
- CertificateHostAlgorithm target = new CertificateHostAlgorithm(name);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- string name = string.Empty; // TODO: Initialize to an appropriate value
- CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Sign(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for VerifySignature
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifySignatureTest()
- {
- string name = string.Empty; // TODO: Initialize to an appropriate value
- CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.VerifySignature(data, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Data
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DataTest()
- {
- string name = string.Empty; // TODO: Initialize to an appropriate value
- CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Data;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherDigitalSignatureTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherDigitalSignatureTest.cs
deleted file mode 100644
index 2bdce8e15..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherDigitalSignatureTest.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography
-{
- ///
- ///This is a test class for CipherDigitalSignatureTest and is intended
- ///to contain all CipherDigitalSignatureTest Unit Tests
- ///
- [TestClass()]
- public class CipherDigitalSignatureTest : TestBase
- {
- internal virtual CipherDigitalSignature CreateCipherDigitalSignature()
- {
- // TODO: Instantiate an appropriate concrete class.
- CipherDigitalSignature target = null;
- return target;
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- CipherDigitalSignature target = CreateCipherDigitalSignature(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Sign(input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Verify
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifyTest()
- {
- CipherDigitalSignature target = CreateCipherDigitalSignature(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.Verify(input, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherTest.cs
deleted file mode 100644
index 8af4f653c..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/CipherTest.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography
-{
- ///
- ///This is a test class for CipherTest and is intended
- ///to contain all CipherTest Unit Tests
- ///
- [TestClass()]
- public class CipherTest : TestBase
- {
- internal virtual Cipher CreateCipher()
- {
- // TODO: Instantiate an appropriate concrete class.
- Cipher target = null;
- return target;
- }
-
- ///
- ///A test for Decrypt
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptTest()
- {
- Cipher target = CreateCipher(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Decrypt(input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Encrypt
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptTest()
- {
- Cipher target = CreateCipher(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Encrypt(input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.cs
index 03a2e34e9..b439b67a4 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.cs
@@ -82,65 +82,5 @@ public void Decrypt_InputAndOffsetAndLength_128_CTR()
Assert.IsTrue(expected.IsEqualTo(actual));
}
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- AesCipher target = new AesCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AesCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AesCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- AesCipher target = new AesCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- AesCipher target = new AesCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Arc4CipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Arc4CipherTest.cs
index 5b972021b..144524ed7 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Arc4CipherTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Arc4CipherTest.cs
@@ -12,18 +12,6 @@ namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
[TestClass]
public class Arc4CipherTest : TestBase
{
- ///
- ///A test for Arc4Cipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void Arc4CipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- Arc4Cipher target = new Arc4Cipher(key, true);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
[TestMethod]
public void Decrypt_DischargeFirstBytes_False1()
{
@@ -66,27 +54,6 @@ public void Decrypt_InputAndOffsetAndLength()
Assert.AreEqual(expectedPlainText, encoding.GetString(actualPlainText));
}
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- Arc4Cipher target = new Arc4Cipher(key, true); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
[TestMethod]
public void Encrypt_DischargeFirstBytes_False1()
{
@@ -134,26 +101,5 @@ public void Encrypt_InputAndOffsetAndLength()
Assert.IsTrue(plainTextBytes.IsEqualTo(encoding.GetBytes(plainText)));
}
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- Arc4Cipher target = new Arc4Cipher(key, true); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/BlowfishCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/BlowfishCipherTest.cs
index 168b1eaf8..bb31dbc98 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/BlowfishCipherTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/BlowfishCipherTest.cs
@@ -28,64 +28,5 @@ public void Test_Cipher_Blowfish_128_CBC()
Assert.Fail("Invalid encryption");
}
}
-
- ///
- ///A test for BlowfishCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BlowfishCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- var target = new BlowfishCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- var target = new BlowfishCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- var inputOffset = 0; // TODO: Initialize to an appropriate value
- var inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- var outputOffset = 0; // TODO: Initialize to an appropriate value
- var expected = 0; // TODO: Initialize to an appropriate value
- var actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- var target = new BlowfishCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- var inputOffset = 0; // TODO: Initialize to an appropriate value
- var inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- var outputOffset = 0; // TODO: Initialize to an appropriate value
- var expected = 0; // TODO: Initialize to an appropriate value
- var actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CastCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CastCipherTest.cs
index a04c5f2db..74aaec9be 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CastCipherTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CastCipherTest.cs
@@ -38,65 +38,5 @@ public void Decrypt_128_CBC()
Assert.IsTrue(r.SequenceEqual(input));
}
-
- ///
- ///A test for CastCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CastCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- CastCipher target = new CastCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- CastCipher target = new CastCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- CastCipher target = new CastCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherModeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherModeTest.cs
deleted file mode 100644
index d3b4c0adb..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherModeTest.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
-{
- ///
- ///This is a test class for CipherModeTest and is intended
- ///to contain all CipherModeTest Unit Tests
- ///
- [TestClass()]
- public class CipherModeTest : TestBase
- {
- internal virtual CipherMode CreateCipherMode()
- {
- // TODO: Instantiate an appropriate concrete class.
- CipherMode target = null;
- return target;
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- CipherMode target = CreateCipherMode(); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- CipherMode target = CreateCipherMode(); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherPaddingTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherPaddingTest.cs
deleted file mode 100644
index c923584a0..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/CipherPaddingTest.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
-{
- ///
- ///This is a test class for CipherPaddingTest and is intended
- ///to contain all CipherPaddingTest Unit Tests
- ///
- [TestClass()]
- public class CipherPaddingTest : TestBase
- {
- internal virtual CipherPadding CreateCipherPadding()
- {
- // TODO: Instantiate an appropriate concrete class.
- CipherPadding target = null;
- return target;
- }
-
- ///
- ///A test for Pad
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PadTest()
- {
- CipherPadding target = CreateCipherPadding(); // TODO: Initialize to an appropriate value
- int blockSize = 0; // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Pad(blockSize, input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CbcCipherModeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CbcCipherModeTest.cs
deleted file mode 100644
index c43191c28..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CbcCipherModeTest.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers.Modes;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers.Modes
-{
- ///
- ///This is a test class for CbcCipherModeTest and is intended
- ///to contain all CbcCipherModeTest Unit Tests
- ///
- [TestClass()]
- public class CbcCipherModeTest : TestBase
- {
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CbcCipherMode target = new CbcCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CbcCipherMode target = new CbcCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CbcCipherMode Constructor
- ///
- [TestMethod()]
- public void CbcCipherModeConstructorTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CbcCipherMode target = new CbcCipherMode(iv);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CfbCipherModeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CfbCipherModeTest.cs
deleted file mode 100644
index f7dd046d6..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CfbCipherModeTest.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers.Modes;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers.Modes
-{
- ///
- ///This is a test class for CfbCipherModeTest and is intended
- ///to contain all CfbCipherModeTest Unit Tests
- ///
- [TestClass()]
- public class CfbCipherModeTest : TestBase
- {
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CfbCipherMode target = new CfbCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CfbCipherMode target = new CfbCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CfbCipherMode Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CfbCipherModeConstructorTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CfbCipherMode target = new CfbCipherMode(iv);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CtrCipherModeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CtrCipherModeTest.cs
deleted file mode 100644
index 23e0391e2..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/CtrCipherModeTest.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers.Modes;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers.Modes
-{
- ///
- ///This is a test class for CtrCipherModeTest and is intended
- ///to contain all CtrCipherModeTest Unit Tests
- ///
- [TestClass()]
- public class CtrCipherModeTest : TestBase
- {
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CtrCipherMode target = new CtrCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CtrCipherMode target = new CtrCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CtrCipherMode Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CtrCipherModeConstructorTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- CtrCipherMode target = new CtrCipherMode(iv);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/OfbCipherModeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/OfbCipherModeTest.cs
deleted file mode 100644
index d4719e256..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/Modes/OfbCipherModeTest.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers.Modes;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers.Modes
-{
- ///
- ///This is a test class for OfbCipherModeTest and is intended
- ///to contain all OfbCipherModeTest Unit Tests
- ///
- [TestClass()]
- public class OfbCipherModeTest : TestBase
- {
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- OfbCipherMode target = new OfbCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- OfbCipherMode target = new OfbCipherMode(iv); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OfbCipherMode Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OfbCipherModeConstructorTest()
- {
- byte[] iv = null; // TODO: Initialize to an appropriate value
- OfbCipherMode target = new OfbCipherMode(iv);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/RsaCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/RsaCipherTest.cs
deleted file mode 100644
index 2de87cdde..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/RsaCipherTest.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security;
-using Renci.SshNet.Security.Cryptography.Ciphers;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
-{
- ///
- /// Implements RSA cipher algorithm.
- ///
- [TestClass]
- public class RsaCipherTest : TestBase
- {
- ///
- ///A test for RsaCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void RsaCipherConstructorTest()
- {
- RsaKey key = null; // TODO: Initialize to an appropriate value
- RsaCipher target = new RsaCipher(key);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Decrypt
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptTest()
- {
- RsaKey key = null; // TODO: Initialize to an appropriate value
- RsaCipher target = new RsaCipher(key); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Decrypt(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Encrypt
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptTest()
- {
- RsaKey key = null; // TODO: Initialize to an appropriate value
- RsaCipher target = new RsaCipher(key); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Encrypt(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/SerpentCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/SerpentCipherTest.cs
deleted file mode 100644
index f604f5dc9..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/SerpentCipherTest.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
-{
- ///
- /// Implements Serpent cipher algorithm.
- ///
- [TestClass]
- public class SerpentCipherTest : TestBase
- {
- ///
- ///A test for SerpentCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SerpentCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- SerpentCipher target = new SerpentCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- SerpentCipher target = new SerpentCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- SerpentCipher target = new SerpentCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TripleDesCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TripleDesCipherTest.cs
index 9dc6a2b65..da340cd9d 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TripleDesCipherTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TripleDesCipherTest.cs
@@ -29,65 +29,5 @@ public void Test_Cipher_3DES_CBC()
Assert.Fail("Invalid encryption");
}
}
-
- ///
- ///A test for TripleDesCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void TripleDesCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TripleDesCipher target = new TripleDesCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TripleDesCipher target = new TripleDesCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TripleDesCipher target = new TripleDesCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TwofishCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TwofishCipherTest.cs
deleted file mode 100644
index e0693e971..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/TwofishCipherTest.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography.Ciphers;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
-{
- ///
- /// Implements Twofish cipher algorithm
- ///
- [TestClass]
- public class TwofishCipherTest : TestBase
- {
- ///
- ///A test for TwofishCipher Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void TwofishCipherConstructorTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TwofishCipher target = new TwofishCipher(key, mode, padding);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TwofishCipher target = new TwofishCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- byte[] key = null; // TODO: Initialize to an appropriate value
- CipherMode mode = null; // TODO: Initialize to an appropriate value
- CipherPadding padding = null; // TODO: Initialize to an appropriate value
- TwofishCipher target = new TwofishCipher(key, mode, padding); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- int inputOffset = 0; // TODO: Initialize to an appropriate value
- int inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- int outputOffset = 0; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DigitalSignatureTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DigitalSignatureTest.cs
deleted file mode 100644
index efe45c9ca..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DigitalSignatureTest.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography
-{
- ///
- ///This is a test class for DigitalSignatureTest and is intended
- ///to contain all DigitalSignatureTest Unit Tests
- ///
- [TestClass()]
- public class DigitalSignatureTest : TestBase
- {
- internal virtual DigitalSignature CreateDigitalSignature()
- {
- // TODO: Instantiate an appropriate concrete class.
- DigitalSignature target = null;
- return target;
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- DigitalSignature target = CreateDigitalSignature(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Sign(input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Verify
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifyTest()
- {
- DigitalSignature target = CreateDigitalSignature(); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.Verify(input, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaDigitalSignatureTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaDigitalSignatureTest.cs
deleted file mode 100644
index 947ec9c76..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaDigitalSignatureTest.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security;
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography
-{
- ///
- /// Implements DSA digital signature algorithm.
- ///
- [TestClass]
- public class DsaDigitalSignatureTest : TestBase
- {
- ///
- ///A test for DsaDigitalSignature Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DsaDigitalSignatureConstructorTest()
- {
- DsaKey key = null; // TODO: Initialize to an appropriate value
- var target = new DsaDigitalSignature(key);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- DsaKey key = null; // TODO: Initialize to an appropriate value
- var target = new DsaDigitalSignature(key); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- DsaKey key = null; // TODO: Initialize to an appropriate value
- var target = new DsaDigitalSignature(key); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- var actual = target.Sign(input);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Verify
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifyTest()
- {
- DsaKey key = null; // TODO: Initialize to an appropriate value
- var target = new DsaDigitalSignature(key); // TODO: Initialize to an appropriate value
- byte[] input = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- var expected = false; // TODO: Initialize to an appropriate value
- var actual = target.Verify(input, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaKeyTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaKeyTest.cs
deleted file mode 100644
index 57fe73f5d..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/DsaKeyTest.cs
+++ /dev/null
@@ -1,160 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Common;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security.Cryptography
-{
- ///
- ///This is a test class for DsaKeyTest and is intended
- ///to contain all DsaKeyTest Unit Tests
- ///
- [TestClass]
- public class DsaKeyTest : TestBase
- {
- ///
- ///A test for DsaKey Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DsaKeyConstructorTest()
- {
- DsaKey target = new DsaKey();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DsaKey Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DsaKeyConstructorTest1()
- {
- byte[] data = null; // TODO: Initialize to an appropriate value
- DsaKey target = new DsaKey(data);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for DsaKey Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DsaKeyConstructorTest2()
- {
- BigInteger p = new BigInteger(); // TODO: Initialize to an appropriate value
- BigInteger q = new BigInteger(); // TODO: Initialize to an appropriate value
- BigInteger g = new BigInteger(); // TODO: Initialize to an appropriate value
- BigInteger y = new BigInteger(); // TODO: Initialize to an appropriate value
- BigInteger x = new BigInteger(); // TODO: Initialize to an appropriate value
- DsaKey target = new DsaKey(p, q, g, y, x);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for G
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.G;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for KeyLength
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyLengthTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- int actual;
- actual = target.KeyLength;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for P
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.P;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Public
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PublicTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger[] expected = null; // TODO: Initialize to an appropriate value
- BigInteger[] actual;
- target.Public = expected;
- actual = target.Public;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Q
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void QTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.Q;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for X
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void XTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.X;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Y
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void YTest()
- {
- DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.Y;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaDigitalSignatureTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaDigitalSignatureTest.cs
index 4691fef27..d7558c2c4 100644
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaDigitalSignatureTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaDigitalSignatureTest.cs
@@ -167,18 +167,5 @@ private static RsaKey GetRsaKey()
return (RsaKey) new PrivateKeyFile(stream).Key;
}
}
-
- ///
- ///A test for Dispose
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DisposeTest()
- {
- RsaKey rsaKey = null; // TODO: Initialize to an appropriate value
- RsaDigitalSignature target = new RsaDigitalSignature(rsaKey); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaKeyTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaKeyTest.cs
deleted file mode 100644
index 89323337a..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/RsaKeyTest.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- /// Contains RSA private and public key
- ///
- [TestClass]
- public class RsaKeyTest : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/SymmetricCipherTest.cs b/src/Renci.SshNet.Tests/Classes/Security/Cryptography/SymmetricCipherTest.cs
deleted file mode 100644
index 92f9da374..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/Cryptography/SymmetricCipherTest.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Security.Cryptography;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests
-{
- ///
- ///This is a test class for SymmetricCipherTest and is intended
- ///to contain all SymmetricCipherTest Unit Tests
- ///
- [TestClass()]
- public class SymmetricCipherTest : TestBase
- {
- internal virtual SymmetricCipher CreateSymmetricCipher()
- {
- // TODO: Instantiate an appropriate concrete class.
- SymmetricCipher target = null;
- return target;
- }
-
- ///
- ///A test for DecryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DecryptBlockTest()
- {
- var target = CreateSymmetricCipher(); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- var inputOffset = 0; // TODO: Initialize to an appropriate value
- var inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- var outputOffset = 0; // TODO: Initialize to an appropriate value
- var expected = 0; // TODO: Initialize to an appropriate value
- var actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EncryptBlock
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EncryptBlockTest()
- {
- var target = CreateSymmetricCipher(); // TODO: Initialize to an appropriate value
- byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
- var inputOffset = 0; // TODO: Initialize to an appropriate value
- var inputCount = 0; // TODO: Initialize to an appropriate value
- byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
- var outputOffset = 0; // TODO: Initialize to an appropriate value
- var expected = 0; // TODO: Initialize to an appropriate value
- var actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/HostAlgorithmTest.cs b/src/Renci.SshNet.Tests/Classes/Security/HostAlgorithmTest.cs
deleted file mode 100644
index a9547a54b..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/HostAlgorithmTest.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for HostAlgorithmTest and is intended
- ///to contain all HostAlgorithmTest Unit Tests
- ///
- [TestClass()]
- public class HostAlgorithmTest : TestBase
- {
- internal virtual HostAlgorithm CreateHostAlgorithm()
- {
- // TODO: Instantiate an appropriate concrete class.
- HostAlgorithm target = null;
- return target;
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- HostAlgorithm target = CreateHostAlgorithm(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Sign(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for VerifySignature
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifySignatureTest()
- {
- HostAlgorithm target = CreateHostAlgorithm(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.VerifySignature(data, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Data
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DataTest()
- {
- HostAlgorithm target = CreateHostAlgorithm(); // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Data;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha1Test.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha1Test.cs
deleted file mode 100644
index 980733e09..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha1Test.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- /// Represents "diffie-hellman-group-exchange-sha1" algorithm implementation.
- ///
- [TestClass]
- public class KeyExchangeDiffieHellmanGroupExchangeSha1Test : TestBase
- {
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha256Test.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha256Test.cs
deleted file mode 100644
index 5a0baf353..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupExchangeSha256Test.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for KeyExchangeDiffieHellmanGroupExchangeSha256Test and is intended
- ///to contain all KeyExchangeDiffieHellmanGroupExchangeSha256Test Unit Tests
- ///
- [TestClass]
- public class KeyExchangeDiffieHellmanGroupExchangeSha256Test : TestBase
- {
- ///
- ///A test for KeyExchangeDiffieHellmanGroupExchangeSha256 Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyExchangeDiffieHellmanGroupExchangeSha256ConstructorTest()
- {
- KeyExchangeDiffieHellmanGroupExchangeSha256 target = new KeyExchangeDiffieHellmanGroupExchangeSha256();
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for Finish
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void FinishTest()
- {
- KeyExchangeDiffieHellmanGroupExchangeSha256 target = new KeyExchangeDiffieHellmanGroupExchangeSha256(); // TODO: Initialize to an appropriate value
- target.Finish();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Start
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void StartTest()
- {
- KeyExchangeDiffieHellmanGroupExchangeSha256 target = new KeyExchangeDiffieHellmanGroupExchangeSha256(); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- KeyExchangeInitMessage message = null; // TODO: Initialize to an appropriate value
- target.Start(session, message);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Name
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void NameTest()
- {
- KeyExchangeDiffieHellmanGroupExchangeSha256 target = new KeyExchangeDiffieHellmanGroupExchangeSha256(); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Name;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupSha1Test.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupSha1Test.cs
deleted file mode 100644
index 40d6b3b80..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanGroupSha1Test.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Common;
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for KeyExchangeDiffieHellmanGroupSha1Test and is intended
- ///to contain all KeyExchangeDiffieHellmanGroupSha1Test Unit Tests
- ///
- [TestClass()]
- public class KeyExchangeDiffieHellmanGroupSha1Test : TestBase
- {
- internal virtual KeyExchangeDiffieHellmanGroupSha1 CreateKeyExchangeDiffieHellmanGroupSha1()
- {
- // TODO: Instantiate an appropriate concrete class.
- KeyExchangeDiffieHellmanGroupSha1 target = null;
- return target;
- }
-
- ///
- ///A test for Finish
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void FinishTest()
- {
- KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
- target.Finish();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Start
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void StartTest()
- {
- KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- KeyExchangeInitMessage message = null; // TODO: Initialize to an appropriate value
- target.Start(session, message);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for GroupPrime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GroupPrimeTest()
- {
- KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
- BigInteger actual;
- actual = target.GroupPrime;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanTest.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanTest.cs
deleted file mode 100644
index 98b738588..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeDiffieHellmanTest.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Messages.Transport;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for KeyExchangeDiffieHellmanTest and is intended
- ///to contain all KeyExchangeDiffieHellmanTest Unit Tests
- ///
- [TestClass()]
- public class KeyExchangeDiffieHellmanTest : TestBase
- {
- internal virtual KeyExchangeDiffieHellman CreateKeyExchangeDiffieHellman()
- {
- // TODO: Instantiate an appropriate concrete class.
- KeyExchangeDiffieHellman target = null;
- return target;
- }
-
- ///
- ///A test for Start
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void StartTest()
- {
- KeyExchangeDiffieHellman target = CreateKeyExchangeDiffieHellman(); // TODO: Initialize to an appropriate value
- Session session = null; // TODO: Initialize to an appropriate value
- KeyExchangeInitMessage message = null; // TODO: Initialize to an appropriate value
- target.Start(session, message);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeTest.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeTest.cs
deleted file mode 100644
index a288292ee..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyExchangeTest.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests
-{
- ///
- ///This is a test class for KeyExchangeTest and is intended
- ///to contain all KeyExchangeTest Unit Tests
- ///
- [TestClass()]
- public class KeyExchangeTest : TestBase
- {
-
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Security/KeyTest.cs b/src/Renci.SshNet.Tests/Classes/Security/KeyTest.cs
deleted file mode 100644
index bbbbacff1..000000000
--- a/src/Renci.SshNet.Tests/Classes/Security/KeyTest.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Common;
-using Renci.SshNet.Security;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Security
-{
- ///
- ///This is a test class for KeyTest and is intended
- ///to contain all KeyTest Unit Tests
- ///
- [TestClass()]
- public class KeyTest : TestBase
- {
- internal virtual Key CreateKey()
- {
- // TODO: Instantiate an appropriate concrete class.
- Key target = null;
- return target;
- }
-
- ///
- ///A test for Sign
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SignTest()
- {
- Key target = CreateKey(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.Sign(data);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for VerifySignature
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void VerifySignatureTest()
- {
- Key target = CreateKey(); // TODO: Initialize to an appropriate value
- byte[] data = null; // TODO: Initialize to an appropriate value
- byte[] signature = null; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.VerifySignature(data, signature);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for KeyLength
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void KeyLengthTest()
- {
- Key target = CreateKey(); // TODO: Initialize to an appropriate value
- int actual;
- actual = target.KeyLength;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Public
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void PublicTest()
- {
- Key target = CreateKey(); // TODO: Initialize to an appropriate value
- BigInteger[] expected = null; // TODO: Initialize to an appropriate value
- BigInteger[] actual;
- target.Public = expected;
- actual = target.Public;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileAttributesTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileAttributesTest.cs
deleted file mode 100644
index db54be81b..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileAttributesTest.cs
+++ /dev/null
@@ -1,238 +0,0 @@
-using System;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Sftp;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Sftp
-{
- ///
- ///This is a test class for SftpFileAttributesTest and is intended
- ///to contain all SftpFileAttributesTest Unit Tests
- ///
- [TestClass]
- [Ignore] // placeholders only
- public class SftpFileAttributesTest : TestBase
- {
- ///
- ///A test for SetPermissions
- ///
- [TestMethod()]
- public void SetPermissionsTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- short mode = 0; // TODO: Initialize to an appropriate value
- target.SetPermissions(mode);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for GroupCanExecute
- ///
- [TestMethod()]
- public void GroupCanExecuteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanExecute = expected;
- actual = target.GroupCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupCanRead
- ///
- [TestMethod()]
- public void GroupCanReadTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanRead = expected;
- actual = target.GroupCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupCanWrite
- ///
- [TestMethod()]
- public void GroupCanWriteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanWrite = expected;
- actual = target.GroupCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupId
- ///
- [TestMethod()]
- public void GroupIdTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.GroupId = expected;
- actual = target.GroupId;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastAccessTime
- ///
- [TestMethod()]
- public void LastAccessTimeTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastAccessTime = expected;
- actual = target.LastAccessTime;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastWriteTime
- ///
- [TestMethod()]
- public void LastWriteTimeTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastWriteTime = expected;
- actual = target.LastWriteTime;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanExecute
- ///
- [TestMethod()]
- public void OthersCanExecuteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanExecute = expected;
- actual = target.OthersCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanRead
- ///
- [TestMethod()]
- public void OthersCanReadTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanRead = expected;
- actual = target.OthersCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanWrite
- ///
- [TestMethod()]
- public void OthersCanWriteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanWrite = expected;
- actual = target.OthersCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanExecute
- ///
- [TestMethod()]
- public void OwnerCanExecuteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanExecute = expected;
- actual = target.OwnerCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanRead
- ///
- [TestMethod()]
- public void OwnerCanReadTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanRead = expected;
- actual = target.OwnerCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanWrite
- ///
- [TestMethod()]
- public void OwnerCanWriteTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanWrite = expected;
- actual = target.OwnerCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Size
- ///
- [TestMethod()]
- public void SizeTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- long expected = 0; // TODO: Initialize to an appropriate value
- long actual;
- target.Size = expected;
- actual = target.Size;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for UserId
- ///
- [TestMethod()]
- public void UserIdTest()
- {
- SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.UserId = expected;
- actual = target.UserId;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_NoBuffering.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_NoBuffering.cs
index 29b683375..87a7df9ad 100644
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_NoBuffering.cs
+++ b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_NoBuffering.cs
@@ -7,7 +7,6 @@
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
- //[Ignore]
public class SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_NoBuffering : SftpFileStreamTestBase
{
private Random _random;
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_ReadBuffer.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_ReadBuffer.cs
index c5efd3ad8..3e4702e17 100644
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_ReadBuffer.cs
+++ b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_ReadBuffer.cs
@@ -8,7 +8,6 @@
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestClass]
- //[Ignore]
public class SftpFileStreamTest_Seek_PositionedAtMiddleOfStream_OriginBeginAndOffsetZero_ReadBuffer : SftpFileStreamTestBase
{
private Random _random;
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileSystemInformationTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileSystemInformationTest.cs
deleted file mode 100644
index 22262af79..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileSystemInformationTest.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Sftp;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Sftp
-{
- ///
- ///This is a test class for SftpFileSytemInformationTest and is intended
- ///to contain all SftpFileSytemInformationTest Unit Tests
- ///
- [TestClass]
- public class SftpFileSystemInformationTest : TestBase
- {
- ///
- ///A test for IsReadOnly
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void IsReadOnlyTest()
- {
- ulong bsize = 0; // TODO: Initialize to an appropriate value
- ulong frsize = 0; // TODO: Initialize to an appropriate value
- ulong blocks = 0; // TODO: Initialize to an appropriate value
- ulong bfree = 0; // TODO: Initialize to an appropriate value
- ulong bavail = 0; // TODO: Initialize to an appropriate value
- ulong files = 0; // TODO: Initialize to an appropriate value
- ulong ffree = 0; // TODO: Initialize to an appropriate value
- ulong favail = 0; // TODO: Initialize to an appropriate value
- ulong sid = 0; // TODO: Initialize to an appropriate value
- ulong flag = 0; // TODO: Initialize to an appropriate value
- ulong namemax = 0; // TODO: Initialize to an appropriate value
- SftpFileSytemInformation target = new SftpFileSytemInformation(bsize, frsize, blocks, bfree, bavail, files, ffree, favail, sid, flag, namemax); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsReadOnly;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for SupportsSetUid
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SupportsSetUidTest()
- {
- ulong bsize = 0; // TODO: Initialize to an appropriate value
- ulong frsize = 0; // TODO: Initialize to an appropriate value
- ulong blocks = 0; // TODO: Initialize to an appropriate value
- ulong bfree = 0; // TODO: Initialize to an appropriate value
- ulong bavail = 0; // TODO: Initialize to an appropriate value
- ulong files = 0; // TODO: Initialize to an appropriate value
- ulong ffree = 0; // TODO: Initialize to an appropriate value
- ulong favail = 0; // TODO: Initialize to an appropriate value
- ulong sid = 0; // TODO: Initialize to an appropriate value
- ulong flag = 0; // TODO: Initialize to an appropriate value
- ulong namemax = 0; // TODO: Initialize to an appropriate value
- SftpFileSytemInformation target = new SftpFileSytemInformation(bsize, frsize, blocks, bfree, bavail, files, ffree, favail, sid, flag, namemax); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.SupportsSetUid;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileTest.cs
deleted file mode 100644
index 285d4aa51..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpFileTest.cs
+++ /dev/null
@@ -1,510 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-using Renci.SshNet.Sftp;
-using Renci.SshNet.Tests.Common;
-
-using System;
-
-namespace Renci.SshNet.Tests.Classes.Sftp
-{
- ///
- /// Represents SFTP file information
- ///
- [TestClass]
- public class SftpFileTest : TestBase
- {
- ///
- ///A test for Delete
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DeleteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- target.Delete();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for MoveTo
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void MoveToTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- string destFileName = string.Empty; // TODO: Initialize to an appropriate value
- target.MoveTo(destFileName);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetPermissions
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetPermissionsTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- short mode = 0; // TODO: Initialize to an appropriate value
- target.SetPermissions(mode);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for ToString
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ToStringTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- string expected = string.Empty; // TODO: Initialize to an appropriate value
- string actual;
- actual = target.ToString();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for UpdateStatus
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UpdateStatusTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- target.UpdateStatus();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for GroupCanExecute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GroupCanExecuteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanExecute = expected;
- actual = target.GroupCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupCanRead
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GroupCanReadTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanRead = expected;
- actual = target.GroupCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupCanWrite
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GroupCanWriteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.GroupCanWrite = expected;
- actual = target.GroupCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GroupId
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GroupIdTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.GroupId = expected;
- actual = target.GroupId;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsBlockDevice
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsBlockDeviceTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsBlockDevice;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsCharacterDevice
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsCharacterDeviceTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsCharacterDevice;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsDirectoryTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsDirectory;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsNamedPipe
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsNamedPipeTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsNamedPipe;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsRegularFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsRegularFileTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsRegularFile;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsSocket
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsSocketTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsSocket;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for IsSymbolicLink
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void IsSymbolicLinkTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.IsSymbolicLink;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastAccessTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void LastAccessTimeTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastAccessTime = expected;
- actual = target.LastAccessTime;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastAccessTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void LastAccessTimeUtcTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastAccessTimeUtc = expected;
- actual = target.LastAccessTimeUtc;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastWriteTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void LastWriteTimeTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastWriteTime = expected;
- actual = target.LastWriteTime;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for LastWriteTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void LastWriteTimeUtcTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- target.LastWriteTimeUtc = expected;
- actual = target.LastWriteTimeUtc;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Length
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void LengthTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- long actual;
- actual = target.Length;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanExecute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OthersCanExecuteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanExecute = expected;
- actual = target.OthersCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanRead
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OthersCanReadTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanRead = expected;
- actual = target.OthersCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OthersCanWrite
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OthersCanWriteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OthersCanWrite = expected;
- actual = target.OthersCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanExecute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OwnerCanExecuteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanExecute = expected;
- actual = target.OwnerCanExecute;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanRead
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OwnerCanReadTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanRead = expected;
- actual = target.OwnerCanRead;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OwnerCanWrite
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OwnerCanWriteTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- target.OwnerCanWrite = expected;
- actual = target.OwnerCanWrite;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for UserId
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UserIdTest()
- {
- SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
- string fullName = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
- SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.UserId = expected;
- actual = target.UserId;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpListDirectoryAsyncResultTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpListDirectoryAsyncResultTest.cs
deleted file mode 100644
index 8195330a9..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpListDirectoryAsyncResultTest.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using Renci.SshNet.Sftp;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using System;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests
-{
- ///
- ///This is a test class for SftpListDirectoryAsyncResultTest and is intended
- ///to contain all SftpListDirectoryAsyncResultTest Unit Tests
- ///
- [TestClass]
- public class SftpListDirectoryAsyncResultTest : TestBase
- {
- ///
- ///A test for SftpListDirectoryAsyncResult Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SftpListDirectoryAsyncResultConstructorTest()
- {
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- SftpListDirectoryAsyncResult target = new SftpListDirectoryAsyncResult(asyncCallback, state);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpSynchronizeDirectoriesAsyncResultTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpSynchronizeDirectoriesAsyncResultTest.cs
deleted file mode 100644
index a2230ea05..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpSynchronizeDirectoriesAsyncResultTest.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Sftp;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Sftp
-{
- ///
- ///This is a test class for SftpSynchronizeDirectoriesAsyncResultTest and is intended
- ///to contain all SftpSynchronizeDirectoriesAsyncResultTest Unit Tests
- ///
- [TestClass]
- public class SftpSynchronizeDirectoriesAsyncResultTest : TestBase
- {
- ///
- ///A test for SftpSynchronizeDirectoriesAsyncResult Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SftpSynchronizeDirectoriesAsyncResultConstructorTest()
- {
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- SftpSynchronizeDirectoriesAsyncResult target = new SftpSynchronizeDirectoriesAsyncResult(asyncCallback, state);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpUploadAsyncResultTest.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpUploadAsyncResultTest.cs
deleted file mode 100644
index 20cd7dc89..000000000
--- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpUploadAsyncResultTest.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Sftp;
-using Renci.SshNet.Tests.Common;
-
-namespace Renci.SshNet.Tests.Classes.Sftp
-{
- ///
- ///This is a test class for SftpUploadAsyncResultTest and is intended
- ///to contain all SftpUploadAsyncResultTest Unit Tests
- ///
- [TestClass]
- public class SftpUploadAsyncResultTest : TestBase
- {
- ///
- ///A test for SftpUploadAsyncResult Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder
- public void SftpUploadAsyncResultConstructorTest()
- {
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- SftpUploadAsyncResult target = new SftpUploadAsyncResult(asyncCallback, state);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
-}
diff --git a/src/Renci.SshNet.Tests/Classes/SftpClientTest.cs b/src/Renci.SshNet.Tests/Classes/SftpClientTest.cs
index 9e1c1f3c7..25624dcc7 100644
--- a/src/Renci.SshNet.Tests/Classes/SftpClientTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/SftpClientTest.cs
@@ -1,10 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Sftp;
using Renci.SshNet.Tests.Common;
using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Text;
namespace Renci.SshNet.Tests.Classes
{
@@ -147,1211 +143,5 @@ public void OperationTimeout_Disposed()
Assert.AreEqual(typeof(SftpClient).FullName, ex.ObjectName);
}
}
-
- ///
- ///A test for SftpClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SftpClientConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(host, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SftpClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SftpClientConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(host, port, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SftpClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SftpClientConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(host, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SftpClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SftpClientConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(host, port, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SftpClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SftpClientConstructorTest4()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for ChangePermissions
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ChangePermissionsTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- short mode = 0; // TODO: Initialize to an appropriate value
- target.ChangePermissions(path, mode);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for ChangeDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ChangeDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- target.ChangeDirectory(path);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for BeginUploadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginUploadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- Action uploadCallback = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginUploadFile(input, path, asyncCallback, state, uploadCallback);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for BeginUploadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginUploadFileTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- bool canOverride = false; // TODO: Initialize to an appropriate value
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- Action uploadCallback = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginUploadFile(input, path, canOverride, asyncCallback, state, uploadCallback);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for BeginSynchronizeDirectories
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginSynchronizeDirectoriesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string sourcePath = string.Empty; // TODO: Initialize to an appropriate value
- string destinationPath = string.Empty; // TODO: Initialize to an appropriate value
- string searchPattern = string.Empty; // TODO: Initialize to an appropriate value
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginSynchronizeDirectories(sourcePath, destinationPath, searchPattern, asyncCallback, state);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for BeginListDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginListDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- Action listCallback = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginListDirectory(path, asyncCallback, state, listCallback);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for BeginDownloadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginDownloadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- Action downloadCallback = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginDownloadFile(path, output, asyncCallback, state, downloadCallback);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AppendText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- StreamWriter expected = null; // TODO: Initialize to an appropriate value
- StreamWriter actual;
- actual = target.AppendText(path, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AppendText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendTextTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- StreamWriter expected = null; // TODO: Initialize to an appropriate value
- StreamWriter actual;
- actual = target.AppendText(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for AppendAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendAllTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string contents = string.Empty; // TODO: Initialize to an appropriate value
- target.AppendAllText(path, contents);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for AppendAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendAllTextTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string contents = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- target.AppendAllText(path, contents, encoding);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for AppendAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendAllLinesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable contents = null; // TODO: Initialize to an appropriate value
- target.AppendAllLines(path, contents);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for AppendAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AppendAllLinesTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable contents = null; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- target.AppendAllLines(path, contents, encoding);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for CreateText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- StreamWriter expected = null; // TODO: Initialize to an appropriate value
- StreamWriter actual;
- actual = target.CreateText(path, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateTextTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- StreamWriter expected = null; // TODO: Initialize to an appropriate value
- StreamWriter actual;
- actual = target.CreateText(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- target.CreateDirectory(path);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Create
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.Create(path, bufferSize);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Create
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.Create(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EndSynchronizeDirectories
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EndSynchronizeDirectoriesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.EndSynchronizeDirectories(asyncResult);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EndListDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EndListDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.EndListDirectory(asyncResult);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EndDownloadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EndDownloadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
- target.EndDownloadFile(asyncResult);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for DownloadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DownloadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Action downloadCallback = null; // TODO: Initialize to an appropriate value
- target.DownloadFile(path, output, downloadCallback);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for DeleteFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DeleteFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- target.DeleteFile(path);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for DeleteDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DeleteDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- target.DeleteDirectory(path);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Delete
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void DeleteTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- target.Delete(path);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for GetLastAccessTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetLastAccessTimeUtcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- actual = target.GetLastAccessTimeUtc(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GetLastAccessTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetLastAccessTimeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- actual = target.GetLastAccessTime(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GetAttributes
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetAttributesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes expected = null; // TODO: Initialize to an appropriate value
- SftpFileAttributes actual;
- actual = target.GetAttributes(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Get
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- ISftpFile expected = null; // TODO: Initialize to an appropriate value
- ISftpFile actual;
- actual = target.Get(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Exists
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ExistsTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- bool expected = false; // TODO: Initialize to an appropriate value
- bool actual;
- actual = target.Exists(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for EndUploadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void EndUploadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
- target.EndUploadFile(asyncResult);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for GetLastWriteTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetLastWriteTimeUtcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- actual = target.GetLastWriteTimeUtc(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GetLastWriteTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetLastWriteTimeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
- DateTime actual;
- actual = target.GetLastWriteTime(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for GetStatus
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void GetStatusTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileSytemInformation expected = null; // TODO: Initialize to an appropriate value
- SftpFileSytemInformation actual;
- actual = target.GetStatus(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ListDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ListDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Action listCallback = null; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.ListDirectory(path, listCallback);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Open
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OpenTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- FileMode mode = new FileMode(); // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.Open(path, mode);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Open
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OpenTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- FileMode mode = new FileMode(); // TODO: Initialize to an appropriate value
- FileAccess access = new FileAccess(); // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.Open(path, mode, access);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OpenRead
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OpenReadTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.OpenRead(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OpenText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OpenTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- StreamReader expected = null; // TODO: Initialize to an appropriate value
- StreamReader actual;
- actual = target.OpenText(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OpenWrite
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OpenWriteTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileStream expected = null; // TODO: Initialize to an appropriate value
- SftpFileStream actual;
- actual = target.OpenWrite(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadAllBytes
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadAllBytesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- byte[] expected = null; // TODO: Initialize to an appropriate value
- byte[] actual;
- actual = target.ReadAllBytes(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadAllLinesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- string[] actual;
- actual = target.ReadAllLines(path, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadAllLinesTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string[] expected = null; // TODO: Initialize to an appropriate value
- string[] actual;
- actual = target.ReadAllLines(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadAllTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- string expected = string.Empty; // TODO: Initialize to an appropriate value
- string actual;
- actual = target.ReadAllText(path, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadAllTextTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string expected = string.Empty; // TODO: Initialize to an appropriate value
- string actual;
- actual = target.ReadAllText(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadLinesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.ReadLines(path);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ReadLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ReadLinesTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.ReadLines(path, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for RenameFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void RenameFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string oldPath = string.Empty; // TODO: Initialize to an appropriate value
- string newPath = string.Empty; // TODO: Initialize to an appropriate value
- target.RenameFile(oldPath, newPath);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for RenameFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void RenameFileTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string oldPath = string.Empty; // TODO: Initialize to an appropriate value
- string newPath = string.Empty; // TODO: Initialize to an appropriate value
- bool isPosix = false; // TODO: Initialize to an appropriate value
- target.RenameFile(oldPath, newPath, isPosix);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetAttributes
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetAttributesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- SftpFileAttributes fileAttributes = null; // TODO: Initialize to an appropriate value
- target.SetAttributes(path, fileAttributes);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetLastAccessTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetLastAccessTimeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime lastAccessTime = new DateTime(); // TODO: Initialize to an appropriate value
-#pragma warning disable CS0618 // Type or member is obsolete
- target.SetLastAccessTime(path, lastAccessTime);
-#pragma warning restore CS0618 // Type or member is obsolete
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetLastAccessTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetLastAccessTimeUtcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime lastAccessTimeUtc = new DateTime(); // TODO: Initialize to an appropriate value
-#pragma warning disable CS0618 // Type or member is obsolete
- target.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
-#pragma warning restore CS0618 // Type or member is obsolete
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetLastWriteTime
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetLastWriteTimeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime lastWriteTime = new DateTime(); // TODO: Initialize to an appropriate value
-#pragma warning disable CS0618 // Type or member is obsolete
- target.SetLastWriteTime(path, lastWriteTime);
-#pragma warning restore CS0618 // Type or member is obsolete
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SetLastWriteTimeUtc
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SetLastWriteTimeUtcTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- DateTime lastWriteTimeUtc = new DateTime(); // TODO: Initialize to an appropriate value
-#pragma warning disable CS0618 // Type or member is obsolete
- target.SetLastWriteTimeUtc(path, lastWriteTimeUtc);
-#pragma warning restore CS0618 // Type or member is obsolete
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SymbolicLink
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SymbolicLinkTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string linkPath = string.Empty; // TODO: Initialize to an appropriate value
- target.SymbolicLink(path, linkPath);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SynchronizeDirectories
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SynchronizeDirectoriesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string sourcePath = string.Empty; // TODO: Initialize to an appropriate value
- string destinationPath = string.Empty; // TODO: Initialize to an appropriate value
- string searchPattern = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable expected = null; // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.SynchronizeDirectories(sourcePath, destinationPath, searchPattern);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for UploadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UploadFileTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- Action uploadCallback = null; // TODO: Initialize to an appropriate value
- target.UploadFile(input, path, uploadCallback);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for UploadFile
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void UploadFileTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- bool canOverride = false; // TODO: Initialize to an appropriate value
- Action uploadCallback = null; // TODO: Initialize to an appropriate value
- target.UploadFile(input, path, canOverride, uploadCallback);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllBytes
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllBytesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- byte[] bytes = null; // TODO: Initialize to an appropriate value
- target.WriteAllBytes(path, bytes);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllLinesTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable contents = null; // TODO: Initialize to an appropriate value
- target.WriteAllLines(path, contents);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllLinesTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string[] contents = null; // TODO: Initialize to an appropriate value
- target.WriteAllLines(path, contents);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllLinesTest2()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- IEnumerable contents = null; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- target.WriteAllLines(path, contents, encoding);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllLines
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllLinesTest3()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string[] contents = null; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- target.WriteAllLines(path, contents, encoding);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllTextTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string contents = string.Empty; // TODO: Initialize to an appropriate value
- target.WriteAllText(path, contents);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for WriteAllText
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WriteAllTextTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string path = string.Empty; // TODO: Initialize to an appropriate value
- string contents = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- target.WriteAllText(path, contents, encoding);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for BufferSize
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BufferSizeTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- uint expected = 0; // TODO: Initialize to an appropriate value
- uint actual;
- target.BufferSize = expected;
- actual = target.BufferSize;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for OperationTimeout
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void OperationTimeoutTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- TimeSpan expected = new TimeSpan(); // TODO: Initialize to an appropriate value
- TimeSpan actual;
- target.OperationTimeout = expected;
- actual = target.OperationTimeout;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for WorkingDirectory
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void WorkingDirectoryTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.WorkingDirectory;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/ShellTestTest.cs b/src/Renci.SshNet.Tests/Classes/ShellTestTest.cs
deleted file mode 100644
index c7eceb1e6..000000000
--- a/src/Renci.SshNet.Tests/Classes/ShellTestTest.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshNet.Common;
-using Renci.SshNet.Tests.Common;
-using System.Collections.Generic;
-using System.IO;
-
-namespace Renci.SshNet.Tests.Classes
-{
- ///
- /// Represents instance of the SSH shell object
- ///
- [TestClass]
- [Ignore] // class contains just for unit tests
- public partial class ShellTestTest : TestBase
- {
- ///
- ///A test for Dispose
- ///
- [TestMethod()]
- public void DisposeTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- Shell target = new Shell(session, input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes, bufferSize); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Start
- ///
- [TestMethod()]
- public void StartTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- Shell target = new Shell(session, input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes, bufferSize); // TODO: Initialize to an appropriate value
- target.Start();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for Stop
- ///
- [TestMethod()]
- public void StopTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- Shell target = new Shell(session, input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes, bufferSize); // TODO: Initialize to an appropriate value
- target.Stop();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- }
-}
\ No newline at end of file
diff --git a/src/Renci.SshNet.Tests/Classes/SshClientTest.cs b/src/Renci.SshNet.Tests/Classes/SshClientTest.cs
index 8ee74c2ca..e0012d7bd 100644
--- a/src/Renci.SshNet.Tests/Classes/SshClientTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/SshClientTest.cs
@@ -66,51 +66,6 @@ public void CreateShellStream2_NeverConnected()
}
}
- ///
- ///A test for CreateShellStream
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellStreamTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModeValues = null; // TODO: Initialize to an appropriate value
- ShellStream expected = null; // TODO: Initialize to an appropriate value
- ShellStream actual;
- actual = target.CreateShellStream(terminalName, columns, rows, width, height, bufferSize, terminalModeValues);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShellStream
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellStreamTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- ShellStream expected = null; // TODO: Initialize to an appropriate value
- ShellStream actual;
- actual = target.CreateShellStream(terminalName, columns, rows, width, height, bufferSize);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
[TestMethod]
public void CreateShell1_NeverConnected()
{
@@ -316,149 +271,6 @@ public void CreateShell6_NeverConnected()
}
}
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- string input = string.Empty; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(encoding, input, output, extendedOutput);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- string input = string.Empty; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(encoding, input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest2()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- string input = string.Empty; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(encoding, input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes, bufferSize);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest3()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(input, output, extendedOutput);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest4()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateShell
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateShellTest5()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- Stream input = null; // TODO: Initialize to an appropriate value
- Stream output = null; // TODO: Initialize to an appropriate value
- Stream extendedOutput = null; // TODO: Initialize to an appropriate value
- string terminalName = string.Empty; // TODO: Initialize to an appropriate value
- uint columns = 0; // TODO: Initialize to an appropriate value
- uint rows = 0; // TODO: Initialize to an appropriate value
- uint width = 0; // TODO: Initialize to an appropriate value
- uint height = 0; // TODO: Initialize to an appropriate value
- IDictionary terminalModes = null; // TODO: Initialize to an appropriate value
- int bufferSize = 0; // TODO: Initialize to an appropriate value
- Shell expected = null; // TODO: Initialize to an appropriate value
- Shell actual;
- actual = target.CreateShell(input, output, extendedOutput, terminalName, columns, rows, width, height, terminalModes, bufferSize);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
[TestMethod]
public void CreateCommand_CommandText_NeverConnected()
{
@@ -495,42 +307,6 @@ public void CreateCommand_CommandTextAndEncoding_NeverConnected()
}
}
- ///
- ///A test for CreateCommand
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateCommandTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- Encoding encoding = null; // TODO: Initialize to an appropriate value
- SshCommand expected = null; // TODO: Initialize to an appropriate value
- SshCommand actual;
- actual = target.CreateCommand(commandText, encoding);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CreateCommand
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CreateCommandTest1()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- SshCommand expected = null; // TODO: Initialize to an appropriate value
- SshCommand actual;
- actual = target.CreateCommand(commandText);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
-
[TestMethod]
public void AddForwardedPort_NeverConnected()
{
@@ -551,105 +327,6 @@ public void AddForwardedPort_NeverConnected()
}
}
-
- ///
- ///A test for AddForwardedPort
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void AddForwardedPortTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- ForwardedPort port = null; // TODO: Initialize to an appropriate value
- target.AddForwardedPort(port);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
- ///
- ///A test for SshClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SshClientConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(host, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SshClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SshClientConstructorTest1()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(host, port, username, keyFiles);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SshClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SshClientConstructorTest2()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(host, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SshClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SshClientConstructorTest3()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- int port = 0; // TODO: Initialize to an appropriate value
- string username = string.Empty; // TODO: Initialize to an appropriate value
- string password = string.Empty; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(host, port, username, password);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for SshClient Constructor
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void SshClientConstructorTest4()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
-
- ///
- ///A test for RemoveForwardedPort
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void RemoveForwardedPortTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- ForwardedPort port = null; // TODO: Initialize to an appropriate value
- target.RemoveForwardedPort(port);
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
[TestMethod]
public void RunCommand_CommandText_NeverConnected()
{
@@ -667,37 +344,5 @@ public void RunCommand_CommandText_NeverConnected()
}
}
}
-
- ///
- ///A test for RunCommand
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void RunCommandTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- SshCommand expected = null; // TODO: Initialize to an appropriate value
- SshCommand actual;
- actual = target.RunCommand(commandText);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for ForwardedPorts
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ForwardedPortsTest()
- {
- ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
- SshClient target = new SshClient(connectionInfo); // TODO: Initialize to an appropriate value
- IEnumerable actual;
- actual = target.ForwardedPorts;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
}
}
diff --git a/src/Renci.SshNet.Tests/Classes/SshCommandTest.cs b/src/Renci.SshNet.Tests/Classes/SshCommandTest.cs
index 3f5450952..13419a0da 100644
--- a/src/Renci.SshNet.Tests/Classes/SshCommandTest.cs
+++ b/src/Renci.SshNet.Tests/Classes/SshCommandTest.cs
@@ -3,7 +3,6 @@
using Renci.SshNet.Tests.Common;
using Renci.SshNet.Tests.Properties;
using System;
-using System.Text;
namespace Renci.SshNet.Tests.Classes
{
@@ -25,131 +24,6 @@ public void Test_Execute_SingleCommand_Without_Connecting()
}
}
- ///
- ///A test for BeginExecute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void BeginExecuteTest1()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- string commandText1 = string.Empty; // TODO: Initialize to an appropriate value
- AsyncCallback callback = null; // TODO: Initialize to an appropriate value
- object state = null; // TODO: Initialize to an appropriate value
- IAsyncResult expected = null; // TODO: Initialize to an appropriate value
- IAsyncResult actual;
- actual = target.BeginExecute(commandText1, callback, state);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CancelAsync
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CancelAsyncTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- target.CancelAsync();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
-
-
- ///
- ///A test for Execute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ExecuteTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- string expected = string.Empty; // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Execute();
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Execute
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ExecuteTest1()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- string commandText1 = string.Empty; // TODO: Initialize to an appropriate value
- string expected = string.Empty; // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Execute(commandText1);
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for CommandTimeout
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void CommandTimeoutTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- TimeSpan expected = new TimeSpan(); // TODO: Initialize to an appropriate value
- TimeSpan actual;
- target.CommandTimeout = expected;
- actual = target.CommandTimeout;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Error
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ErrorTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Error;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
- ///
- ///A test for Result
- ///
- [TestMethod]
- [Ignore] // placeholder for actual test
- public void ResultTest()
- {
- Session session = null; // TODO: Initialize to an appropriate value
- string commandText = string.Empty; // TODO: Initialize to an appropriate value
- var encoding = Encoding.UTF8;
- SshCommand target = new SshCommand(session, commandText, encoding); // TODO: Initialize to an appropriate value
- string actual;
- actual = target.Result;
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
-
private static bool ExecuteTestCommand(SshClient s)
{
var testValue = Guid.NewGuid().ToString();
diff --git a/src/Renci.SshNet/Properties/AssemblyInfo.cs b/src/Renci.SshNet/Properties/AssemblyInfo.cs
index 07f66e5fe..fe5eac0d1 100644
--- a/src/Renci.SshNet/Properties/AssemblyInfo.cs
+++ b/src/Renci.SshNet/Properties/AssemblyInfo.cs
@@ -6,4 +6,5 @@
[assembly: Guid("ad816c5e-6f13-4589-9f3e-59523f8b77a4")]
[assembly: InternalsVisibleTo("Renci.SshNet.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e43992d6f668f9737de8b9c7ae892b62b8a36dd1d57929ff1541665d101dc476d6e02390846efae7e5186eec409710fdb596e3f83740afef0d4443055937649bc5a773175b61c57615dac0f0fd10f52b52fedf76c17474cc567b3f7a79de95dde842509fb39aaf69c6c2")]
[assembly: InternalsVisibleTo("Renci.SshNet.IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e43992d6f668f9737de8b9c7ae892b62b8a36dd1d57929ff1541665d101dc476d6e02390846efae7e5186eec409710fdb596e3f83740afef0d4443055937649bc5a773175b61c57615dac0f0fd10f52b52fedf76c17474cc567b3f7a79de95dde842509fb39aaf69c6c2")]
+[assembly: InternalsVisibleTo("Renci.SshNet.Benchmarks, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e43992d6f668f9737de8b9c7ae892b62b8a36dd1d57929ff1541665d101dc476d6e02390846efae7e5186eec409710fdb596e3f83740afef0d4443055937649bc5a773175b61c57615dac0f0fd10f52b52fedf76c17474cc567b3f7a79de95dde842509fb39aaf69c6c2")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]