public class StaticResourcesMPFunctionalTestCase extends FunctionalTestCase
Modifier and Type | Field and Description |
---|---|
static DynamicPort |
port1 |
static DynamicPort |
port2 |
static DynamicPort |
port3 |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
StaticResourcesMPFunctionalTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
contentTypeForDefaultResourceShouldBeTextHtml() |
void |
contentTypeShouldBeDetermintedFromResource() |
void |
explicitMimeTypeConfigurationShouldOverrideDefaults() |
protected String |
getConfigFile() |
void |
httpsUrlRequestingExplicitResourceShouldReturnResource() |
void |
httpsUrlRequestingNonexistentResourceShouldReturnNotFoundStatus() |
void |
httpsUrlWithoutExplicitResourceShouldReturnDefaultDocument() |
void |
httpUrlExplicitResourceInRootPathShouldReturnResource() |
void |
httpUrlRequestingExplicitResourceShouldReturnResource() |
void |
httpUrlRequestingNonexistentResourceShouldReturnNotFoundStatus() |
void |
httpUrlWithoutExplicitResourceShouldReturnDefaultDocument() |
void |
httpUrlWithRootAddressShouldReturnDefaultDocument() |
void |
testFlowBindingOnSamePort()
Test that endpoints bound to the same http port but different path work with
the static resource MP
|
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigFiles, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static DynamicPort port1
public static DynamicPort port2
public static DynamicPort port3
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
public void httpUrlWithoutExplicitResourceShouldReturnDefaultDocument() throws Exception
Exception
public void httpUrlRequestingExplicitResourceShouldReturnResource() throws Exception
Exception
public void httpUrlRequestingNonexistentResourceShouldReturnNotFoundStatus() throws Exception
Exception
public void contentTypeForDefaultResourceShouldBeTextHtml() throws Exception
Exception
public void contentTypeShouldBeDetermintedFromResource() throws Exception
Exception
public void explicitMimeTypeConfigurationShouldOverrideDefaults() throws Exception
Exception
public void httpsUrlWithoutExplicitResourceShouldReturnDefaultDocument() throws Exception
Exception
public void httpsUrlRequestingExplicitResourceShouldReturnResource() throws Exception
Exception
public void httpsUrlRequestingNonexistentResourceShouldReturnNotFoundStatus() throws Exception
Exception
public void testFlowBindingOnSamePort() throws Exception
Exception
public void httpUrlWithRootAddressShouldReturnDefaultDocument() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.