KeyExchangeDiffieHellmanGroupSha1Test.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using Renci.SshNet.Common;
  3. using Renci.SshNet.Messages.Transport;
  4. using Renci.SshNet.Security;
  5. using Renci.SshNet.Tests.Common;
  6. namespace Renci.SshNet.Tests.Classes.Security
  7. {
  8. /// <summary>
  9. ///This is a test class for KeyExchangeDiffieHellmanGroupSha1Test and is intended
  10. ///to contain all KeyExchangeDiffieHellmanGroupSha1Test Unit Tests
  11. ///</summary>
  12. [TestClass()]
  13. public class KeyExchangeDiffieHellmanGroupSha1Test : TestBase
  14. {
  15. internal virtual KeyExchangeDiffieHellmanGroupSha1 CreateKeyExchangeDiffieHellmanGroupSha1()
  16. {
  17. // TODO: Instantiate an appropriate concrete class.
  18. KeyExchangeDiffieHellmanGroupSha1 target = null;
  19. return target;
  20. }
  21. /// <summary>
  22. ///A test for Finish
  23. ///</summary>
  24. [TestMethod]
  25. [Ignore] // placeholder for actual test
  26. public void FinishTest()
  27. {
  28. KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
  29. target.Finish();
  30. Assert.Inconclusive("A method that does not return a value cannot be verified.");
  31. }
  32. /// <summary>
  33. ///A test for Start
  34. ///</summary>
  35. [TestMethod]
  36. [Ignore] // placeholder for actual test
  37. public void StartTest()
  38. {
  39. KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
  40. Session session = null; // TODO: Initialize to an appropriate value
  41. KeyExchangeInitMessage message = null; // TODO: Initialize to an appropriate value
  42. target.Start(session, message);
  43. Assert.Inconclusive("A method that does not return a value cannot be verified.");
  44. }
  45. /// <summary>
  46. ///A test for GroupPrime
  47. ///</summary>
  48. [TestMethod]
  49. [Ignore] // placeholder for actual test
  50. public void GroupPrimeTest()
  51. {
  52. KeyExchangeDiffieHellmanGroupSha1 target = CreateKeyExchangeDiffieHellmanGroupSha1(); // TODO: Initialize to an appropriate value
  53. BigInteger actual;
  54. actual = target.GroupPrime;
  55. Assert.Inconclusive("Verify the correctness of this test method.");
  56. }
  57. }
  58. }