using Microsoft.VisualStudio.TestTools.UnitTesting; using Renci.SshNet.Common; using Renci.SshNet.Security; using Renci.SshNet.Tests.Common; namespace Renci.SshNet.Tests.Classes.Security.Cryptography { /// ///This is a test class for DsaKeyTest and is intended ///to contain all DsaKeyTest Unit Tests /// [TestClass] public class DsaKeyTest : TestBase { /// ///A test for DsaKey Constructor /// [TestMethod] [Ignore] // placeholder for actual test public void DsaKeyConstructorTest() { DsaKey target = new DsaKey(); Assert.Inconclusive("TODO: Implement code to verify target"); } /// ///A test for DsaKey Constructor /// [TestMethod] [Ignore] // placeholder for actual test 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"); } /// ///A test for DsaKey Constructor /// [TestMethod] [Ignore] // placeholder for actual test 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"); } /// ///A test for Dispose /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for G /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for KeyLength /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for P /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for Public /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for Q /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for X /// [TestMethod] [Ignore] // placeholder for actual test 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."); } /// ///A test for Y /// [TestMethod] [Ignore] // placeholder for actual test 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."); } } }