org.mule.transport.udp.functional
Class UdpConnectorFunctionalTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.transport.udp.functional.UdpConnectorFunctionalTestCase
- All Implemented Interfaces:
- Test, TestCaseWatchdogTimeoutHandler
public class UdpConnectorFunctionalTestCase
- extends org.mule.tck.FunctionalTestCase
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, getConfigurationResources, loadResource, loadResourceAsString |
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown |
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 |
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
TOTAL_MESSAGE_COUNT
public static final int TOTAL_MESSAGE_COUNT
- See Also:
- Constant Field Values
MAX_NUMBER_OF_BATCHES
public static final int MAX_NUMBER_OF_BATCHES
- See Also:
- Constant Field Values
MAX_PAUSE_PERIOD
public static final long MAX_PAUSE_PERIOD
- See Also:
- Constant Field Values
MIN_PAUSE_PERIOD
public static final long MIN_PAUSE_PERIOD
- See Also:
- Constant Field Values
BETWEEN_BATCH_PAUSE
public static final long BETWEEN_BATCH_PAUSE
- See Also:
- Constant Field Values
UdpConnectorFunctionalTestCase
public UdpConnectorFunctionalTestCase()
getConfigResources
protected String getConfigResources()
- Specified by:
getConfigResources
in class org.mule.tck.FunctionalTestCase
testMany
public void testMany()
throws Exception
- We try progressively smaller batches to see if there are issues with internal
buffers. If we don't get 100% success eventually, we fail.
- Throws:
Exception
doTestSome
protected boolean doTestSome(int numberOfMessages,
int burst)
throws Exception
- Parameters:
numberOfMessages
- Total number of testsburst
- Number of mesages to send between wait periods
- Returns:
- true if all messages received
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.