using Renci.SshNet.Sftp; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Renci.SshNet.Tests.Common; namespace Renci.SshNet.Tests { /// ///This is a test class for SftpFileAttributesTest and is intended ///to contain all SftpFileAttributesTest Unit Tests /// [TestClass()] public class SftpFileAttributesTest : TestBase { /// ///A test for SetPermissions /// [TestMethod()] public void SetPermissionsTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value short mode = 0; // TODO: Initialize to an appropriate value target.SetPermissions(mode); Assert.Inconclusive("A method that does not return a value cannot be verified."); } /// ///A test for GroupCanExecute /// [TestMethod()] public void GroupCanExecuteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.GroupCanExecute = expected; actual = target.GroupCanExecute; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for GroupCanRead /// [TestMethod()] public void GroupCanReadTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.GroupCanRead = expected; actual = target.GroupCanRead; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for GroupCanWrite /// [TestMethod()] public void GroupCanWriteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.GroupCanWrite = expected; actual = target.GroupCanWrite; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for GroupId /// [TestMethod()] public void GroupIdTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; target.GroupId = expected; actual = target.GroupId; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for LastAccessTime /// [TestMethod()] public void LastAccessTimeTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value DateTime actual; target.LastAccessTime = expected; actual = target.LastAccessTime; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for LastWriteTime /// [TestMethod()] public void LastWriteTimeTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value DateTime actual; target.LastWriteTime = expected; actual = target.LastWriteTime; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OthersCanExecute /// [TestMethod()] public void OthersCanExecuteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OthersCanExecute = expected; actual = target.OthersCanExecute; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OthersCanRead /// [TestMethod()] public void OthersCanReadTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OthersCanRead = expected; actual = target.OthersCanRead; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OthersCanWrite /// [TestMethod()] public void OthersCanWriteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OthersCanWrite = expected; actual = target.OthersCanWrite; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OwnerCanExecute /// [TestMethod()] public void OwnerCanExecuteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OwnerCanExecute = expected; actual = target.OwnerCanExecute; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OwnerCanRead /// [TestMethod()] public void OwnerCanReadTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OwnerCanRead = expected; actual = target.OwnerCanRead; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for OwnerCanWrite /// [TestMethod()] public void OwnerCanWriteTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.OwnerCanWrite = expected; actual = target.OwnerCanWrite; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for Size /// [TestMethod()] public void SizeTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value long expected = 0; // TODO: Initialize to an appropriate value long actual; target.Size = expected; actual = target.Size; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } /// ///A test for UserId /// [TestMethod()] public void UserIdTest() { SftpFileAttributes target = SftpFileAttributes.Empty; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; target.UserId = expected; actual = target.UserId; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); } } }