Class ProxyTest

java.lang.Object
de.iip_ecosphere.platform.deviceMgt.ssh.ProxyTest

public class ProxyTest extends Object
Tests the SSH proxy.
Author:
Dennis Pidun, University of Hildesheim
  • Field Details

  • Constructor Details

    • ProxyTest

      public ProxyTest()
  • Method Details

    • proxy_withDateOnInputStream_proxiesDataToOutputStream

      public void proxy_withDateOnInputStream_proxiesDataToOutputStream() throws IOException, InterruptedException
      Tests that input data goes to output data.
      Throws:
      IOException - IO problems shall not occur
      InterruptedException - timeouts shall not occur
    • proxy_withoutInputStream_wontProxyData

      public void proxy_withoutInputStream_wontProxyData() throws IOException
      Tests that a proxy without input stream does not proxy.
      Throws:
      IOException - IO problems shall not occur
    • proxy_withoutOutputStream_wontProxyData

      public void proxy_withoutOutputStream_wontProxyData() throws IOException
      Tests that a proxy without output stream does not proxy.
      Throws:
      IOException - IO problems shall not occur
    • proxy_withThrowingInputStream_wontProxyData

      public void proxy_withThrowingInputStream_wontProxyData() throws IOException
      Tests that a proxy with errors on the input stream does not proxy.
      Throws:
      IOException - IO problems shall not occur
    • proxy_withThrowingOutputStream_wontProxyData

      public void proxy_withThrowingOutputStream_wontProxyData() throws IOException
      Tests that a proxy with errors on the output stream does not proxy.
      Throws:
      IOException - IO problems shall not occur