| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 | using Renci.SshNet.Common;using Microsoft.VisualStudio.TestTools.UnitTesting;using System;using Renci.SshNet.Messages.Transport;using System.Runtime.Serialization;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()        {            SshConnectionException target = new SshConnectionException();            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for SshConnectionException Constructor        ///</summary>        [TestMethod()]        public void SshConnectionExceptionConstructorTest1()        {            string message = string.Empty; // TODO: Initialize to an appropriate value            SshConnectionException target = new SshConnectionException(message);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for SshConnectionException Constructor        ///</summary>        [TestMethod()]        public void SshConnectionExceptionConstructorTest2()        {            string message = string.Empty; // TODO: Initialize to an appropriate value            DisconnectReason disconnectReasonCode = new DisconnectReason(); // TODO: Initialize to an appropriate value            SshConnectionException target = new SshConnectionException(message, disconnectReasonCode);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for SshConnectionException Constructor        ///</summary>        [TestMethod()]        public void SshConnectionExceptionConstructorTest3()        {            string message = string.Empty; // TODO: Initialize to an appropriate value            DisconnectReason disconnectReasonCode = new DisconnectReason(); // TODO: Initialize to an appropriate value            Exception inner = null; // TODO: Initialize to an appropriate value            SshConnectionException target = new SshConnectionException(message, disconnectReasonCode, inner);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for SshConnectionException Constructor        ///</summary>        [TestMethod()]        public void SshConnectionExceptionConstructorTest4()        {            string message = string.Empty; // TODO: Initialize to an appropriate value            Exception innerException = null; // TODO: Initialize to an appropriate value            SshConnectionException target = new SshConnectionException(message, innerException);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for GetObjectData        ///</summary>        [TestMethod()]        public void GetObjectDataTest()        {            SshConnectionException target = new SshConnectionException(); // 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.");        }    }}
 |