using Microsoft.VisualStudio.TestTools.UnitTesting; using Renci.SshNet.Security; using Renci.SshNet.Tests.Common; namespace Renci.SshNet.Tests.Classes.Security { /// ///This is a test class for CertificateHostAlgorithmTest and is intended ///to contain all CertificateHostAlgorithmTest Unit Tests /// [TestClass()] public class CertificateHostAlgorithmTest : TestBase { /// ///A test for CertificateHostAlgorithm Constructor /// [TestMethod] public void CertificateHostAlgorithmConstructorTest() { string name = string.Empty; // TODO: Initialize to an appropriate value CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); Assert.Inconclusive("TODO: Implement code to verify target"); } /// ///A test for Sign /// [TestMethod] [Ignore] // placeholder for actual test public void SignTest() { string name = string.Empty; // TODO: Initialize to an appropriate value CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value byte[] data = null; // TODO: Initialize to an appropriate value byte[] expected = null; // TODO: Initialize to an appropriate value byte[] actual; actual = target.Sign(data); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for VerifySignature /// [TestMethod] [Ignore] // placeholder for actual test public void VerifySignatureTest() { string name = string.Empty; // TODO: Initialize to an appropriate value CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value byte[] data = null; // TODO: Initialize to an appropriate value byte[] signature = null; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.VerifySignature(data, signature); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for Data /// [TestMethod] [Ignore] // placeholder for actual test public void DataTest() { string name = string.Empty; // TODO: Initialize to an appropriate value CertificateHostAlgorithm target = new CertificateHostAlgorithm(name); // TODO: Initialize to an appropriate value byte[] actual; actual = target.Data; Assert.Inconclusive("Verify the correctness of this test method."); } } }