|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.bytestreams.socks5.Socks5ClientTest
public class Socks5ClientTest
Test for Socks5Client class.
| Constructor Summary | |
|---|---|
Socks5ClientTest()
|
|
| Method Summary | |
|---|---|
void |
cleanup()
Close fake SOCKS5 proxy. |
void |
setup()
Initialize fields used in the tests. |
void |
shouldCloseSocketIfServerDoesNotAcceptAuthenticationMethod()
A SOCKS5 client MUST close connection if server doesn't accept any of the given authentication methods. |
void |
shouldCloseSocketIfServerRepliesInUnsupportedWay()
The SOCKS5 client should close connection if server replies in an unsupported way. |
void |
shouldCloseSocketIfServerRepliesWithError()
The SOCKS5 client should close connection if server replies with an error. |
void |
shouldSuccessfullyConnectToSocks5Server()
The SOCKS5 client should successfully connect to the SOCKS5 server |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Socks5ClientTest()
| Method Detail |
|---|
public void setup()
throws java.lang.Exception
java.lang.Exception - should not happen
public void shouldCloseSocketIfServerDoesNotAcceptAuthenticationMethod()
throws java.lang.Exception
java.lang.Exception - should not happen
public void shouldCloseSocketIfServerRepliesInUnsupportedWay()
throws java.lang.Exception
java.lang.Exception - should not happen
public void shouldCloseSocketIfServerRepliesWithError()
throws java.lang.Exception
java.lang.Exception - should not happen
public void shouldSuccessfullyConnectToSocks5Server()
throws java.lang.Exception
java.lang.Exception - should not happen
public void cleanup()
throws java.lang.Exception
java.lang.Exception - should not happen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||