SessionTest_Connecting_ServerResetsSequenceNumberAfterNewKeys_StrictKex.cs 678 B

12345678910111213141516171819202122232425262728293031
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. namespace Renci.SshNet.Tests.Classes
  3. {
  4. [TestClass]
  5. public class SessionTest_Connecting_ServerResetsSequenceNumberAfterNewKeys_StrictKex : SessionTest_ConnectingBase
  6. {
  7. protected override bool ServerSupportsStrictKex
  8. {
  9. get
  10. {
  11. return true;
  12. }
  13. }
  14. protected override bool ServerResetsSequenceAfterSendingNewKeys
  15. {
  16. get
  17. {
  18. return true;
  19. }
  20. }
  21. [TestMethod]
  22. public void ShouldNotThrowException()
  23. {
  24. Session.Connect();
  25. }
  26. }
  27. }