SshExceptionTest.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using Renci.SshNet.Common;
  4. using Renci.SshNet.Tests.Common;
  5. namespace Renci.SshNet.Tests.Classes.Common
  6. {
  7. /// <summary>
  8. ///This is a test class for SshExceptionTest and is intended
  9. ///to contain all SshExceptionTest Unit Tests
  10. ///</summary>
  11. [TestClass]
  12. public class SshExceptionTest : TestBase
  13. {
  14. /// <summary>
  15. ///A test for SshException Constructor
  16. ///</summary>
  17. [TestMethod]
  18. public void SshExceptionConstructorTest()
  19. {
  20. SshException target = new SshException();
  21. Assert.Inconclusive("TODO: Implement code to verify target");
  22. }
  23. /// <summary>
  24. ///A test for SshException Constructor
  25. ///</summary>
  26. [TestMethod]
  27. public void SshExceptionConstructorTest1()
  28. {
  29. string message = string.Empty; // TODO: Initialize to an appropriate value
  30. SshException target = new SshException(message);
  31. Assert.Inconclusive("TODO: Implement code to verify target");
  32. }
  33. /// <summary>
  34. ///A test for SshException Constructor
  35. ///</summary>
  36. [TestMethod]
  37. public void SshExceptionConstructorTest2()
  38. {
  39. string message = string.Empty; // TODO: Initialize to an appropriate value
  40. Exception inner = null; // TODO: Initialize to an appropriate value
  41. SshException target = new SshException(message, inner);
  42. Assert.Inconclusive("TODO: Implement code to verify target");
  43. }
  44. }
  45. }