GlobalRequestMessageTest.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using Renci.SshNet.Messages.Connection;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using System;
  4. using Renci.SshNet.Tests.Common;
  5. namespace Renci.SshNet.Tests.Classes.Messages.Connection
  6. {
  7. /// <summary>
  8. ///This is a test class for GlobalRequestMessageTest and is intended
  9. ///to contain all GlobalRequestMessageTest Unit Tests
  10. ///</summary>
  11. [TestClass()]
  12. public class GlobalRequestMessageTest : TestBase
  13. {
  14. /// <summary>
  15. ///A test for GlobalRequestMessage Constructor
  16. ///</summary>
  17. [TestMethod()]
  18. public void GlobalRequestMessageConstructorTest()
  19. {
  20. GlobalRequestMessage target = new GlobalRequestMessage();
  21. Assert.Inconclusive("TODO: Implement code to verify target");
  22. }
  23. /// <summary>
  24. ///A test for GlobalRequestMessage Constructor
  25. ///</summary>
  26. [TestMethod()]
  27. public void GlobalRequestMessageConstructorTest1()
  28. {
  29. GlobalRequestName requestName = new GlobalRequestName(); // TODO: Initialize to an appropriate value
  30. bool wantReply = false; // TODO: Initialize to an appropriate value
  31. GlobalRequestMessage target = new GlobalRequestMessage(requestName, wantReply);
  32. Assert.Inconclusive("TODO: Implement code to verify target");
  33. }
  34. /// <summary>
  35. ///A test for GlobalRequestMessage Constructor
  36. ///</summary>
  37. [TestMethod()]
  38. public void GlobalRequestMessageConstructorTest2()
  39. {
  40. GlobalRequestName requestName = new GlobalRequestName(); // TODO: Initialize to an appropriate value
  41. bool wantReply = false; // TODO: Initialize to an appropriate value
  42. string addressToBind = string.Empty; // TODO: Initialize to an appropriate value
  43. uint portToBind = 0; // TODO: Initialize to an appropriate value
  44. GlobalRequestMessage target = new GlobalRequestMessage(requestName, wantReply, addressToBind, portToBind);
  45. Assert.Inconclusive("TODO: Implement code to verify target");
  46. }
  47. }
  48. }