2
0

AuthenticationPromptTest.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 AuthenticationPromptTest and is intended
  9. ///to contain all AuthenticationPromptTest Unit Tests
  10. ///</summary>
  11. [TestClass()]
  12. public class AuthenticationPromptTest : TestBase
  13. {
  14. /// <summary>
  15. ///A test for AuthenticationPrompt Constructor
  16. ///</summary>
  17. [TestMethod()]
  18. public void AuthenticationPromptConstructorTest()
  19. {
  20. int id = 0; // TODO: Initialize to an appropriate value
  21. bool isEchoed = false; // TODO: Initialize to an appropriate value
  22. string request = string.Empty; // TODO: Initialize to an appropriate value
  23. AuthenticationPrompt target = new AuthenticationPrompt(id, isEchoed, request);
  24. Assert.Inconclusive("TODO: Implement code to verify target");
  25. }
  26. /// <summary>
  27. ///A test for Response
  28. ///</summary>
  29. [TestMethod()]
  30. public void ResponseTest()
  31. {
  32. int id = 0; // TODO: Initialize to an appropriate value
  33. bool isEchoed = false; // TODO: Initialize to an appropriate value
  34. string request = string.Empty; // TODO: Initialize to an appropriate value
  35. AuthenticationPrompt target = new AuthenticationPrompt(id, isEchoed, request); // TODO: Initialize to an appropriate value
  36. string expected = string.Empty; // TODO: Initialize to an appropriate value
  37. string actual;
  38. target.Response = expected;
  39. actual = target.Response;
  40. Assert.AreEqual(expected, actual);
  41. Assert.Inconclusive("Verify the correctness of this test method.");
  42. }
  43. }
  44. }