Example #1
0
        public void BeginReadTest()
        {
            SftpSession    session = null;                                    // TODO: Initialize to an appropriate value
            string         path    = string.Empty;                            // TODO: Initialize to an appropriate value
            FileMode       mode    = new FileMode();                          // TODO: Initialize to an appropriate value
            SftpFileStream target  = new SftpFileStream(session, path, mode); // TODO: Initialize to an appropriate value

            byte[]        buffer   = null;                                    // TODO: Initialize to an appropriate value
            int           offset   = 0;                                       // TODO: Initialize to an appropriate value
            int           count    = 0;                                       // TODO: Initialize to an appropriate value
            AsyncCallback callback = null;                                    // TODO: Initialize to an appropriate value
            object        state    = null;                                    // TODO: Initialize to an appropriate value
            IAsyncResult  expected = null;                                    // TODO: Initialize to an appropriate value
            IAsyncResult  actual;

            actual = target.BeginRead(buffer, offset, count, callback, state);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }