| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using Renci.SshNet.Tests.Common;
- namespace Renci.SshNet.Tests.Classes
- {
- /// <summary>
- /// Provides functionality for dynamic port forwarding
- /// </summary>
- [TestClass]
- public partial class ForwardedPortDynamicTest : TestBase
- {
- /// <summary>
- ///A test for Stop
- ///</summary>
- [TestMethod()]
- public void StopTest()
- {
- uint port = 0; // TODO: Initialize to an appropriate value
- ForwardedPortDynamic target = new ForwardedPortDynamic(port); // TODO: Initialize to an appropriate value
- target.Stop();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- /// <summary>
- ///A test for Start
- ///</summary>
- [TestMethod()]
- public void StartTest()
- {
- uint port = 0; // TODO: Initialize to an appropriate value
- ForwardedPortDynamic target = new ForwardedPortDynamic(port); // TODO: Initialize to an appropriate value
- target.Start();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- /// <summary>
- ///A test for Dispose
- ///</summary>
- [TestMethod()]
- public void DisposeTest()
- {
- uint port = 0; // TODO: Initialize to an appropriate value
- ForwardedPortDynamic target = new ForwardedPortDynamic(port); // TODO: Initialize to an appropriate value
- target.Dispose();
- Assert.Inconclusive("A method that does not return a value cannot be verified.");
- }
- /// <summary>
- ///A test for ForwardedPortDynamic Constructor
- ///</summary>
- [TestMethod()]
- public void ForwardedPortDynamicConstructorTest()
- {
- string host = string.Empty; // TODO: Initialize to an appropriate value
- uint port = 0; // TODO: Initialize to an appropriate value
- ForwardedPortDynamic target = new ForwardedPortDynamic(host, port);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- /// <summary>
- ///A test for ForwardedPortDynamic Constructor
- ///</summary>
- [TestMethod()]
- public void ForwardedPortDynamicConstructorTest1()
- {
- uint port = 0; // TODO: Initialize to an appropriate value
- ForwardedPortDynamic target = new ForwardedPortDynamic(port);
- Assert.Inconclusive("TODO: Implement code to verify target");
- }
- }
- }
|