Class ProxyTest
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.ssh.ProxyTest
Tests the SSH proxy.
- Author:
- Dennis Pidun, University of Hildesheim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests that input data goes to output data.voidTests that a proxy without input stream does not proxy.voidTests that a proxy without output stream does not proxy.voidTests that a proxy with errors on the input stream does not proxy.voidTests that a proxy with errors on the output stream does not proxy.
-
Field Details
-
A_MESSAGE
- See Also:
-
-
Constructor Details
-
ProxyTest
public ProxyTest()
-
-
Method Details
-
proxy_withDateOnInputStream_proxiesDataToOutputStream
public void proxy_withDateOnInputStream_proxiesDataToOutputStream() throws IOException, InterruptedExceptionTests that input data goes to output data.- Throws:
IOException- IO problems shall not occurInterruptedException- timeouts shall not occur
-
proxy_withoutInputStream_wontProxyData
Tests that a proxy without input stream does not proxy.- Throws:
IOException- IO problems shall not occur
-
proxy_withoutOutputStream_wontProxyData
Tests that a proxy without output stream does not proxy.- Throws:
IOException- IO problems shall not occur
-
proxy_withThrowingInputStream_wontProxyData
Tests that a proxy with errors on the input stream does not proxy.- Throws:
IOException- IO problems shall not occur
-
proxy_withThrowingOutputStream_wontProxyData
Tests that a proxy with errors on the output stream does not proxy.- Throws:
IOException- IO problems shall not occur
-