2
0

CipherPaddingTest.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using Renci.SshNet.Security.Cryptography.Ciphers;
  3. using Renci.SshNet.Tests.Common;
  4. namespace Renci.SshNet.Tests.Classes.Security.Cryptography.Ciphers
  5. {
  6. /// <summary>
  7. ///This is a test class for CipherPaddingTest and is intended
  8. ///to contain all CipherPaddingTest Unit Tests
  9. ///</summary>
  10. [TestClass()]
  11. public class CipherPaddingTest : TestBase
  12. {
  13. internal virtual CipherPadding CreateCipherPadding()
  14. {
  15. // TODO: Instantiate an appropriate concrete class.
  16. CipherPadding target = null;
  17. return target;
  18. }
  19. /// <summary>
  20. ///A test for Pad
  21. ///</summary>
  22. [TestMethod]
  23. [Ignore] // placeholder for actual test
  24. public void PadTest()
  25. {
  26. CipherPadding target = CreateCipherPadding(); // TODO: Initialize to an appropriate value
  27. int blockSize = 0; // TODO: Initialize to an appropriate value
  28. byte[] input = null; // TODO: Initialize to an appropriate value
  29. byte[] expected = null; // TODO: Initialize to an appropriate value
  30. byte[] actual;
  31. actual = target.Pad(blockSize, input);
  32. Assert.AreEqual(expected, actual);
  33. Assert.Inconclusive("Verify the correctness of this test method.");
  34. }
  35. }
  36. }