|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jivesoftware.smack.test.SmackTestCase
org.jivesoftware.smackx.bytestreams.socks5.Socks5ByteStreamTest
public class Socks5ByteStreamTest
Test for Socks5 bytestreams with real XMPP servers.
| Constructor Summary | |
|---|---|
Socks5ByteStreamTest(java.lang.String arg0)
Constructor |
|
| Method Summary | |
|---|---|
void |
testBiDirectionalSocks5BytestreamWithRemoteSocks5Proxy()
Socks5 bytestream should be successfully established using a Socks5 proxy provided by the XMPP server. |
void |
testInitializationSocks5FeaturesAndListenerOnStartup()
Socks5 feature should be added to the service discovery on Smack startup. |
void |
testRespondWithErrorOnSocks5BytestreamRequest()
Target should respond with not-acceptable error if no listeners for incoming Socks5 bytestream requests are registered. |
void |
testSocks5BytestreamWithLocalSocks5Proxy()
Socks5 bytestream should be successfully established using the local Socks5 proxy. |
void |
testSocks5BytestreamWithRemoteSocks5Proxy()
Socks5 bytestream should be successfully established using a Socks5 proxy provided by the XMPP server. |
| Methods inherited from class org.jivesoftware.smack.test.SmackTestCase |
|---|
assertEquals |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Socks5ByteStreamTest(java.lang.String arg0)
arg0 - | Method Detail |
|---|
public void testInitializationSocks5FeaturesAndListenerOnStartup()
throws XMPPException
XMPPException - should not happen
public void testRespondWithErrorOnSocks5BytestreamRequest()
throws XMPPException
XMPPException - should not happen
public void testSocks5BytestreamWithLocalSocks5Proxy()
throws java.lang.Exception
java.lang.Exception - should not happen
public void testSocks5BytestreamWithRemoteSocks5Proxy()
throws java.lang.Exception
This test will fail if the XMPP server doesn't provide any Socks5 proxies or the Socks5 proxy only allows Socks5 bytestreams in the context of a file transfer (like Openfire in default configuration, see xmpp.proxy.transfer.required flag).
java.lang.Exception - if no Socks5 proxies found or proxy is unwilling to activate Socks5
bytestream
public void testBiDirectionalSocks5BytestreamWithRemoteSocks5Proxy()
throws java.lang.Exception
Support for bidirectional Socks5 bytestream:
This test will fail if the XMPP server doesn't provide any Socks5 proxies or the Socks5 proxy only allows Socks5 bytestreams in the context of a file transfer (like Openfire in default configuration, see xmpp.proxy.transfer.required flag).
java.lang.Exception - if no Socks5 proxies found or proxy is unwilling to activate Socks5
bytestream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||