ForwardedPortTest.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Renci.SshNet;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using System;
  4. using Renci.SshNet.Tests.Common;
  5. namespace Renci.SshNet.Tests
  6. {
  7. /// <summary>
  8. ///This is a test class for ForwardedPortTest and is intended
  9. ///to contain all ForwardedPortTest Unit Tests
  10. ///</summary>
  11. [TestClass()]
  12. public class ForwardedPortTest : TestBase
  13. {
  14. internal virtual ForwardedPort CreateForwardedPort()
  15. {
  16. // TODO: Instantiate an appropriate concrete class.
  17. ForwardedPort target = null;
  18. return target;
  19. }
  20. /// <summary>
  21. ///A test for Stop
  22. ///</summary>
  23. [TestMethod()]
  24. public void StopTest()
  25. {
  26. ForwardedPort target = CreateForwardedPort(); // TODO: Initialize to an appropriate value
  27. target.Stop();
  28. Assert.Inconclusive("A method that does not return a value cannot be verified.");
  29. }
  30. /// <summary>
  31. ///A test for Start
  32. ///</summary>
  33. [TestMethod()]
  34. public void StartTest()
  35. {
  36. ForwardedPort target = CreateForwardedPort(); // TODO: Initialize to an appropriate value
  37. target.Start();
  38. Assert.Inconclusive("A method that does not return a value cannot be verified.");
  39. }
  40. }
  41. }