AuthenticationPasswordChangeEventArgsTest.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Renci.SshNet.Common;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using System;
  4. using Renci.SshNet.Tests.Common;
  5. namespace Renci.SshNet.Tests.Classes.Common
  6. {
  7. /// <summary>
  8. ///This is a test class for AuthenticationPasswordChangeEventArgsTest and is intended
  9. ///to contain all AuthenticationPasswordChangeEventArgsTest Unit Tests
  10. ///</summary>
  11. [TestClass()]
  12. public class AuthenticationPasswordChangeEventArgsTest : TestBase
  13. {
  14. /// <summary>
  15. ///A test for AuthenticationPasswordChangeEventArgs Constructor
  16. ///</summary>
  17. [TestMethod()]
  18. public void AuthenticationPasswordChangeEventArgsConstructorTest()
  19. {
  20. string username = string.Empty; // TODO: Initialize to an appropriate value
  21. AuthenticationPasswordChangeEventArgs target = new AuthenticationPasswordChangeEventArgs(username);
  22. Assert.Inconclusive("TODO: Implement code to verify target");
  23. }
  24. /// <summary>
  25. ///A test for NewPassword
  26. ///</summary>
  27. [TestMethod()]
  28. public void NewPasswordTest()
  29. {
  30. string username = string.Empty; // TODO: Initialize to an appropriate value
  31. AuthenticationPasswordChangeEventArgs target = new AuthenticationPasswordChangeEventArgs(username); // TODO: Initialize to an appropriate value
  32. byte[] expected = null; // TODO: Initialize to an appropriate value
  33. byte[] actual;
  34. target.NewPassword = expected;
  35. actual = target.NewPassword;
  36. Assert.AreEqual(expected, actual);
  37. Assert.Inconclusive("Verify the correctness of this test method.");
  38. }
  39. }
  40. }