|
@@ -1,64 +0,0 @@
|
|
|
-using System;
|
|
|
|
|
-
|
|
|
|
|
-using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
|
-
|
|
|
|
|
-using Renci.SshNet.Common;
|
|
|
|
|
-using Renci.SshNet.Messages.Transport;
|
|
|
|
|
-using Renci.SshNet.Tests.Common;
|
|
|
|
|
-
|
|
|
|
|
-namespace Renci.SshNet.Tests.Classes.Common
|
|
|
|
|
-{
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- ///This is a test class for SshConnectionExceptionTest and is intended
|
|
|
|
|
- ///to contain all SshConnectionExceptionTest Unit Tests
|
|
|
|
|
- ///</summary>
|
|
|
|
|
- [TestClass]
|
|
|
|
|
- public class SshConnectionExceptionTest : TestBase
|
|
|
|
|
- {
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- ///A test for SshConnectionException Constructor
|
|
|
|
|
- ///</summary>
|
|
|
|
|
- [TestMethod]
|
|
|
|
|
- public void SshConnectionExceptionConstructorTest()
|
|
|
|
|
- {
|
|
|
|
|
- var target = new SshConnectionException();
|
|
|
|
|
- Assert.Inconclusive("TODO: Implement code to verify target");
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- ///A test for SshConnectionException Constructor
|
|
|
|
|
- ///</summary>
|
|
|
|
|
- [TestMethod]
|
|
|
|
|
- public void SshConnectionExceptionConstructorTest1()
|
|
|
|
|
- {
|
|
|
|
|
- var message = string.Empty; // TODO: Initialize to an appropriate value
|
|
|
|
|
- var target = new SshConnectionException(message);
|
|
|
|
|
- Assert.Inconclusive("TODO: Implement code to verify target");
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- ///A test for SshConnectionException Constructor
|
|
|
|
|
- ///</summary>
|
|
|
|
|
- [TestMethod]
|
|
|
|
|
- public void SshConnectionExceptionConstructorTest2()
|
|
|
|
|
- {
|
|
|
|
|
- var message = string.Empty; // TODO: Initialize to an appropriate value
|
|
|
|
|
- var disconnectReasonCode = new DisconnectReason(); // TODO: Initialize to an appropriate value
|
|
|
|
|
- var target = new SshConnectionException(message, disconnectReasonCode);
|
|
|
|
|
- Assert.Inconclusive("TODO: Implement code to verify target");
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- ///A test for SshConnectionException Constructor
|
|
|
|
|
- ///</summary>
|
|
|
|
|
- [TestMethod]
|
|
|
|
|
- public void SshConnectionExceptionConstructorTest3()
|
|
|
|
|
- {
|
|
|
|
|
- var message = string.Empty; // TODO: Initialize to an appropriate value
|
|
|
|
|
- var disconnectReasonCode = new DisconnectReason(); // TODO: Initialize to an appropriate value
|
|
|
|
|
- Exception inner = null; // TODO: Initialize to an appropriate value
|
|
|
|
|
- var target = new SshConnectionException(message, disconnectReasonCode, inner);
|
|
|
|
|
- Assert.Inconclusive("TODO: Implement code to verify target");
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|