|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManagerTest
public class InBandBytestreamManagerTest
Test for InBandBytestreamManager.
| Constructor Summary | |
|---|---|
InBandBytestreamManagerTest()
|
|
| Method Summary | |
|---|---|
void |
setup()
Initialize fields used in the tests. |
void |
shouldCorrectlySetDefaultBlockSize()
|
void |
shouldCorrectlySetMaximumBlockSize()
|
void |
shouldFailIfTargetDoesNotSupportIBB()
Invoking InBandBytestreamManager.establishSession(String) should
throw an exception if the given target does not support in-band
bytestream. |
void |
shouldHaveOneManagerForEveryConnection()
Test that InBandBytestreamManager.getByteStreamManager(Connection) returns
one bytestream manager for every connection |
void |
shouldNotAllowTooBigDefaultBlockSize()
|
void |
shouldNotAllowTooBigMaximumBlockSize()
|
void |
shouldReturnSession()
|
void |
shouldUseConfiguredStanzaType()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InBandBytestreamManagerTest()
| Method Detail |
|---|
public void setup()
public void shouldHaveOneManagerForEveryConnection()
InBandBytestreamManager.getByteStreamManager(Connection) returns
one bytestream manager for every connection
public void shouldFailIfTargetDoesNotSupportIBB()
InBandBytestreamManager.establishSession(String) should
throw an exception if the given target does not support in-band
bytestream.
public void shouldNotAllowTooBigDefaultBlockSize()
public void shouldCorrectlySetDefaultBlockSize()
public void shouldNotAllowTooBigMaximumBlockSize()
public void shouldCorrectlySetMaximumBlockSize()
public void shouldUseConfiguredStanzaType()
public void shouldReturnSession()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||