org.mule.module.json.transformers
Class JsonBeanRoundTripTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.transformer.AbstractTransformerTestCase
org.mule.module.json.transformers.JsonBeanRoundTripTestCase
- Direct Known Subclasses:
- JsonBeanRoundTripNonAsciiTestCase
public class JsonBeanRoundTripTestCase
- extends AbstractTransformerTestCase
For this test I picked difficult beans in that they are not real beans, so I could test how to use
mixins to decorate the objects
FruitCleaner is ignored since there is no concrete implementation to construct
bitten - is ignored because the Orange because there is no setter method. On the apple I tested using a
constructor
Methods inherited from class org.mule.transformer.AbstractTransformerTestCase |
compareRoundtripResults, doSetUp, doTearDown, doTestBadReturnType, doTestClone, normalizeString, testBadReturnType, testRoundTrip, testRoundtripBadReturnType, testRoundtripTransform, testTransform |
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, getBuilder, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext |
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON_STRING
public static final String JSON_STRING
- See Also:
- Constant Field Values
JSON_OBJECT
public static final FruitCollection JSON_OBJECT
JsonBeanRoundTripTestCase
public JsonBeanRoundTripTestCase()
getTransformer
public Transformer getTransformer()
throws Exception
- Specified by:
getTransformer
in class AbstractTransformerTestCase
- Throws:
Exception
getRoundTripTransformer
public Transformer getRoundTripTransformer()
throws Exception
- Specified by:
getRoundTripTransformer
in class AbstractTransformerTestCase
- Throws:
Exception
getTestData
public Object getTestData()
- Specified by:
getTestData
in class AbstractTransformerTestCase
getResultData
public Object getResultData()
- Specified by:
getResultData
in class AbstractTransformerTestCase
compareResults
public boolean compareResults(Object expected,
Object result)
- Overrides:
compareResults
in class AbstractTransformerTestCase
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.