| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using Renci.SshNet;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System;
- using Renci.SshNet.Tests.Common;
- namespace Renci.SshNet.Tests
- {
- /// <summary>
- ///This is a test class for CommandAsyncResultTest and is intended
- ///to contain all CommandAsyncResultTest Unit Tests
- ///</summary>
- [TestClass()]
- public class CommandAsyncResultTest : TestBase
- {
- /// <summary>
- ///A test for BytesSent
- ///</summary>
- [TestMethod()]
- public void BytesSentTest()
- {
- CommandAsyncResult target = new CommandAsyncResult(); // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.BytesSent = expected;
- actual = target.BytesSent;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- /// <summary>
- ///A test for BytesReceived
- ///</summary>
- [TestMethod()]
- public void BytesReceivedTest()
- {
- CommandAsyncResult target = new CommandAsyncResult(); // TODO: Initialize to an appropriate value
- int expected = 0; // TODO: Initialize to an appropriate value
- int actual;
- target.BytesReceived = expected;
- actual = target.BytesReceived;
- Assert.AreEqual(expected, actual);
- Assert.Inconclusive("Verify the correctness of this test method.");
- }
- }
- }
|