|
||||||||||
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.providers.udp.functional.UdpConnectorFunctionalTestCase
public class UdpConnectorFunctionalTestCase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
org.mule.tck.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.FunctionalTestCase |
---|
DEFAULT_BUILDER_CLASS |
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
IGNORED_DOT_MULE_DIRS, logger |
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 |
---|
doFunctionalTearDown, doPostFunctionalSetUp, doPreFunctionalSetUp, doSetUp, doTearDown, getBuilder, setupManager, suitePreSetUp |
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
---|
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreTearDown, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, run, runTest, 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 |
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 org.mule.tck.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 |