OpenForTest() private method

private OpenForTest ( SSHChannel dummyChannel ) : void
dummyChannel SSHChannel
return void
Example #1
0
 public void Setup()
 {
     _stream = new SCPChannelStream();
     _stream.DataBuffer = new byte[INITAL_BUFFER_SIZE];  // for testing
     _stream.OpenForTest(DummySSHChannel.Create());
 }
 public void Setup()
 {
     _stream = new SCPChannelStream();
     _stream.SetBuffer(INITAL_BUFFER_SIZE);  // for testing
     _stream.OpenForTest(new DummySSHChannel());
 }
 public void Setup()
 {
     _stream            = new SCPChannelStream();
     _stream.DataBuffer = new byte[INITAL_BUFFER_SIZE];  // for testing
     _stream.OpenForTest(DummySSHChannel.Create());
 }