public abstract class QueueStoreTestCase extends AbstractMuleContextTestCase
| Modifier and Type | Field and Description |
|---|---|
static String |
ANOTHER_VALUE |
static int |
LONG_POLL_TIMEOUT |
static int |
NUMBER_OF_ITEMS |
static long |
OFFER_TIMEOUT |
static int |
SHORT_POLL_TIMEOUT |
org.junit.rules.TemporaryFolder |
temporaryFolder |
static String |
VALUE |
BLOCK_TIMEOUT, componentLocator, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, NON_GRACEFUL_SHUTDOWN_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testServicesConfigurationBuilder, testServicesConfigurationBuilderSupplier, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectorychain, DEFAULT_TEST_TIMEOUT_SECS, name, TEST_CONNECTOR, TEST_CONNECTOR_LOCATION, TEST_PAYLOAD, TEST_TIMEOUT_SYSTEM_PROPERTY| Constructor and Description |
|---|
QueueStoreTestCase() |
| Modifier and Type | Method and Description |
|---|---|
void |
allowOfferWhenThereIsCapacity() |
void |
clearEmptiesTheQueue() |
protected QueueStore |
createQueue() |
protected abstract QueueStore |
createQueueInfoDelegate(int capacity,
MuleContext mockMuleContext) |
protected QueueStore |
createQueueWithCapacity(int capacity) |
void |
failIfThereIsNoCapacity() |
void |
offerAndPollSingleValue() |
void |
offerAndPollTwice() |
void |
offerSeveralRetrieveAll() |
void |
offerSeveralRetrieveAllMuleEvents() |
void |
peekDoesNotRemoveElement() |
void |
pollDoesNotReturnsUntilPollTimeout() |
void |
untakeAddsElementFirst() |
addBuilders, awaitLatch, configureMuleContext, createMuleConfiguration, createMuleContext, createMuleContext, disposeContext, disposeContextPerTest, disposeOnlyMuleContext, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, doTestClassInjection, getAppleFlowComponentLocationAnnotations, getBuilder, getConfigurationResources, getDeploymentProperties, getEventBuilder, getExecutionClassLoader, getFileInsideWorkingDirectory, getFlowComponentLocationAnnotations, getObjectSerializer, getPayload, getPayload, getPayloadAsBytes, getPayloadAsString, getSensingNullMessageProcessor, getStartUpRegistryObjects, getTriggerableMessageSource, getWorkingDirectory, isDisposeContextPerClass, isGracefulShutdown, isStartContext, mockExprExecutorService, mockHttpService, process, recordSchedulersOnInit, setDisposeContextPerClass, setStartContext, setUpMuleContext, sleepFor, verifyAndStopSchedulersaddMockComponentLocation, clearRequestContext, clearTestCaseName, clearTestEvents, clearTestFlows, collectThreadNames, createTestTimeoutRule, dumpFilteredThreadsInTest, getFeatureFlaggingService, getMavenProjectVersionProperty, getTestFlow, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isFailOnTimeout, isOffline, newEvent, nullPayloadEvent, shutdownLogging, takeTestCaseName, testEventpublic static final String VALUE
public static final String ANOTHER_VALUE
public static final long OFFER_TIMEOUT
public static final int NUMBER_OF_ITEMS
public static final int LONG_POLL_TIMEOUT
public static final int SHORT_POLL_TIMEOUT
public org.junit.rules.TemporaryFolder temporaryFolder
public void offerAndPollSingleValue()
throws InterruptedException,
org.mule.runtime.api.store.ObjectStoreException
InterruptedExceptionorg.mule.runtime.api.store.ObjectStoreExceptionpublic void allowOfferWhenThereIsCapacity()
throws Exception
Exceptionpublic void pollDoesNotReturnsUntilPollTimeout()
throws Exception
Exceptionpublic void offerSeveralRetrieveAllMuleEvents()
throws Exception
Exceptionprotected QueueStore createQueue()
protected QueueStore createQueueWithCapacity(int capacity)
protected abstract QueueStore createQueueInfoDelegate(int capacity, MuleContext mockMuleContext)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.