RequestMessageTest.cs 1.6 KB

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