public class XsltTransformerTestCase extends AbstractXmlTransformerTestCase
Modifier and Type | Field and Description |
---|---|
static String |
VALID_XSL_FILENAME |
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 |
---|
XsltTransformerTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSetUp()
Enables the adding of extra behavior on the set up stage of a test right
after the creation of the mule context in
AbstractMuleContextTestCase.setUpMuleContext() . |
Object |
getResultData() |
Transformer |
getRoundTripTransformer() |
Object |
getTestData() |
Transformer |
getTransformer() |
void |
testAllXmlMessageTypes() |
void |
testCustomTransformerFactoryClass() |
void |
testInitialiseMaintainsUriResolverIfSet() |
void |
testInitialiseMustLoadXsltFile_dontLoadIfThereIsXslText() |
void |
testInitialiseMustLoadXsltFile_LoadsFromXslFile() |
void |
testInitialiseMustLoadXsltFile_ThrowExceptionIfNoXslTextNorFile() |
void |
testInitialiseMustLoadXsltFile_ThrowExceptionIfXslFileDoesNotExist() |
void |
testInitialiseUriResolverIfNotSet() |
void |
testRoundtripTransform() |
void |
testTransformWithDynamicParam() |
void |
testTransformWithStaticParam() |
void |
testTransformXMLStreamReader() |
compareResults
compareRoundtripResults, doTearDown, doTestBadReturnType, doTestClone, normalizeString, testBadReturnType, testRoundTrip, testRoundtripBadReturnType, testTransform
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getBuilder, 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 final String VALID_XSL_FILENAME
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractTransformerTestCase
Exception
- if something fails that should halt the test casepublic Transformer getTransformer() throws Exception
getTransformer
in class AbstractTransformerTestCase
Exception
public Transformer getRoundTripTransformer() throws Exception
getRoundTripTransformer
in class AbstractTransformerTestCase
Exception
public void testRoundtripTransform() throws Exception
testRoundtripTransform
in class AbstractTransformerTestCase
Exception
public Object getTestData()
getTestData
in class AbstractTransformerTestCase
public Object getResultData()
getResultData
in class AbstractTransformerTestCase
public void testTransformXMLStreamReader() throws Exception
Exception
public void testCustomTransformerFactoryClass() throws InitialisationException
InitialisationException
public void testTransformWithStaticParam() throws TransformerException, InitialisationException
public void testTransformWithDynamicParam() throws Exception
Exception
public void testInitialiseMustLoadXsltFile_dontLoadIfThereIsXslText() throws Exception
Exception
public void testInitialiseMustLoadXsltFile_ThrowExceptionIfNoXslTextNorFile() throws Exception
Exception
public void testInitialiseMustLoadXsltFile_ThrowExceptionIfXslFileDoesNotExist() throws Exception
Exception
public void testInitialiseMustLoadXsltFile_LoadsFromXslFile() throws Exception
Exception
public void testInitialiseUriResolverIfNotSet() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.