| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | using Renci.SshNet.Security.Cryptography;using Microsoft.VisualStudio.TestTools.UnitTesting;using System;using Renci.SshNet.Tests.Common;namespace Renci.SshNet.Tests{    /// <summary>    ///This is a test class for SymmetricCipherTest and is intended    ///to contain all SymmetricCipherTest Unit Tests    ///</summary>    [TestClass()]    public class SymmetricCipherTest : TestBase    {        internal virtual SymmetricCipher CreateSymmetricCipher()        {            // TODO: Instantiate an appropriate concrete class.            SymmetricCipher target = null;            return target;        }        /// <summary>        ///A test for DecryptBlock        ///</summary>        [TestMethod]        [Ignore] // placeholder for actual test        public void DecryptBlockTest()        {            SymmetricCipher target = CreateSymmetricCipher(); // TODO: Initialize to an appropriate value            byte[] inputBuffer = null; // TODO: Initialize to an appropriate value            int inputOffset = 0; // TODO: Initialize to an appropriate value            int inputCount = 0; // TODO: Initialize to an appropriate value            byte[] outputBuffer = null; // TODO: Initialize to an appropriate value            int outputOffset = 0; // TODO: Initialize to an appropriate value            int expected = 0; // TODO: Initialize to an appropriate value            int actual;            actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);            Assert.AreEqual(expected, actual);            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for EncryptBlock        ///</summary>        [TestMethod]        [Ignore] // placeholder for actual test        public void EncryptBlockTest()        {            SymmetricCipher target = CreateSymmetricCipher(); // TODO: Initialize to an appropriate value            byte[] inputBuffer = null; // TODO: Initialize to an appropriate value            int inputOffset = 0; // TODO: Initialize to an appropriate value            int inputCount = 0; // TODO: Initialize to an appropriate value            byte[] outputBuffer = null; // TODO: Initialize to an appropriate value            int outputOffset = 0; // TODO: Initialize to an appropriate value            int expected = 0; // TODO: Initialize to an appropriate value            int actual;            actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);            Assert.AreEqual(expected, actual);            Assert.Inconclusive("Verify the correctness of this test method.");        }    }}
 |