| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 | using Renci.SshNet.Security;using Microsoft.VisualStudio.TestTools.UnitTesting;using System;using Renci.SshNet.Common;using Renci.SshNet.Tests.Common;namespace Renci.SshNet.Tests{    /// <summary>    ///This is a test class for DsaKeyTest and is intended    ///to contain all DsaKeyTest Unit Tests    ///</summary>    [TestClass()]    public class DsaKeyTest : TestBase    {        /// <summary>        ///A test for DsaKey Constructor        ///</summary>        [TestMethod()]        public void DsaKeyConstructorTest()        {            DsaKey target = new DsaKey();            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for DsaKey Constructor        ///</summary>        [TestMethod()]        public void DsaKeyConstructorTest1()        {            byte[] data = null; // TODO: Initialize to an appropriate value            DsaKey target = new DsaKey(data);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for DsaKey Constructor        ///</summary>        [TestMethod()]        public void DsaKeyConstructorTest2()        {            BigInteger p = new BigInteger(); // TODO: Initialize to an appropriate value            BigInteger q = new BigInteger(); // TODO: Initialize to an appropriate value            BigInteger g = new BigInteger(); // TODO: Initialize to an appropriate value            BigInteger y = new BigInteger(); // TODO: Initialize to an appropriate value            BigInteger x = new BigInteger(); // TODO: Initialize to an appropriate value            DsaKey target = new DsaKey(p, q, g, y, x);            Assert.Inconclusive("TODO: Implement code to verify target");        }        /// <summary>        ///A test for Dispose        ///</summary>        [TestMethod()]        public void DisposeTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            target.Dispose();            Assert.Inconclusive("A method that does not return a value cannot be verified.");        }        /// <summary>        ///A test for G        ///</summary>        [TestMethod()]        public void GTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger actual;            actual = target.G;            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for KeyLength        ///</summary>        [TestMethod()]        public void KeyLengthTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            int actual;            actual = target.KeyLength;            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for P        ///</summary>        [TestMethod()]        public void PTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger actual;            actual = target.P;            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for Public        ///</summary>        [TestMethod()]        public void PublicTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger[] expected = null; // TODO: Initialize to an appropriate value            BigInteger[] actual;            target.Public = expected;            actual = target.Public;            Assert.AreEqual(expected, actual);            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for Q        ///</summary>        [TestMethod()]        public void QTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger actual;            actual = target.Q;            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for X        ///</summary>        [TestMethod()]        public void XTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger actual;            actual = target.X;            Assert.Inconclusive("Verify the correctness of this test method.");        }        /// <summary>        ///A test for Y        ///</summary>        [TestMethod()]        public void YTest()        {            DsaKey target = new DsaKey(); // TODO: Initialize to an appropriate value            BigInteger actual;            actual = target.Y;            Assert.Inconclusive("Verify the correctness of this test method.");        }    }}
 |