using Microsoft.VisualStudio.TestTools.UnitTesting; using Renci.SshNet.Tests.Common; using System; using System.Xml; namespace Renci.SshNet.Tests.Classes { // TODO: Please help with documentation here, as I don't know the details, specially for the methods not documented. /// /// /// [TestClass] public partial class NetConfClientTest : TestBase { /// ///A test for NetConfClient Constructor /// [TestMethod()] 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()] 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()] 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()] 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()] 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()] 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()] 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()] 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()] 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 OperationTimeout /// [TestMethod()] public void OperationTimeoutTest() { ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value NetConfClient target = new NetConfClient(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 ClientCapabilities /// [TestMethod()] 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()] 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."); } } }