|
||||||||||
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.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.transport.udp.functional.UdpConnectorFunctionalTestCase
public class UdpConnectorFunctionalTestCase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary | |
---|---|
static long |
BETWEEN_BATCH_PAUSE
|
static int |
MAX_NUMBER_OF_BATCHES
|
static long |
MAX_PAUSE_PERIOD
|
static String |
MESSAGE
|
static long |
MIN_PAUSE_PERIOD
|
static int |
TOTAL_MESSAGE_COUNT
|
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
UdpConnectorFunctionalTestCase()
|
Method Summary | |
---|---|
protected boolean |
doTestSome(int numberOfMessages,
int burst)
|
protected String |
getConfigResources()
|
void |
testMany()
We try progressively smaller batches to see if there are issues with internal buffers. |
Methods inherited from class org.mule.tck.FunctionalTestCase |
---|
getBuilder, getComponent, getComponent, getFunctionalTestComponent, loadResource, loadResourceAsString |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String MESSAGE
public static final int TOTAL_MESSAGE_COUNT
public static final int MAX_NUMBER_OF_BATCHES
public static final long MAX_PAUSE_PERIOD
public static final long MIN_PAUSE_PERIOD
public static final long BETWEEN_BATCH_PAUSE
Constructor Detail |
---|
public UdpConnectorFunctionalTestCase()
Method Detail |
---|
protected String getConfigResources()
getConfigResources
in class FunctionalTestCase
public void testMany() throws Exception
Exception
protected boolean doTestSome(int numberOfMessages, int burst) throws Exception
numberOfMessages
- Total number of testsburst
- Number of mesages to send between wait periods
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |