|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.tck.MuleTestUtils
public final class MuleTestUtils
Utilities for creating test and Mock Mule objects
Constructor Summary | |
---|---|
MuleTestUtils()
|
Method Summary | |
---|---|
static com.mockobjects.dynamic.Mock |
getMockConnector()
|
static com.mockobjects.dynamic.Mock |
getMockEndpointURI()
|
static com.mockobjects.dynamic.Mock |
getMockEvent()
|
static com.mockobjects.dynamic.Mock |
getMockInboundEndpoint()
|
static com.mockobjects.dynamic.Mock |
getMockMessageDispatcher()
|
static com.mockobjects.dynamic.Mock |
getMockMessageDispatcherFactory()
|
static com.mockobjects.dynamic.Mock |
getMockMuleContext()
|
static com.mockobjects.dynamic.Mock |
getMockOutboundEndpoint()
|
static com.mockobjects.dynamic.Mock |
getMockSession()
|
static com.mockobjects.dynamic.Mock |
getMockTransaction()
|
static com.mockobjects.dynamic.Mock |
getMockTransactionFactory()
|
static TestAgent |
getTestAgent()
|
static TestConnector |
getTestConnector(org.mule.api.MuleContext context)
|
static org.mule.api.MuleEvent |
getTestEvent(Object data,
org.mule.api.endpoint.ImmutableEndpoint endpoint,
org.mule.api.MuleContext context)
Supply endpoint but no service |
static org.mule.api.MuleEvent |
getTestEvent(Object data,
org.mule.api.MuleContext context)
Supply no service, no endpoint |
static org.mule.api.MuleEvent |
getTestEvent(Object data,
org.mule.api.service.Service service,
org.mule.api.endpoint.ImmutableEndpoint endpoint,
org.mule.api.MuleContext context)
|
static org.mule.api.MuleEvent |
getTestEvent(Object data,
org.mule.api.service.Service service,
org.mule.api.MuleContext context)
Supply service but no endpoint |
static org.mule.api.MuleEventContext |
getTestEventContext(Object data,
org.mule.api.MuleContext context)
|
static org.mule.api.endpoint.InboundEndpoint |
getTestInboundEndpoint(String name,
org.mule.api.MuleContext context)
|
static org.mule.api.endpoint.InboundEndpoint |
getTestInboundEndpoint(String name,
org.mule.api.MuleContext context,
String uri,
List transformers,
org.mule.api.routing.filter.Filter filter,
Map properties)
|
static org.mule.api.MuleEvent |
getTestInboundEvent(Object data,
org.mule.api.MuleContext context)
|
static org.mule.api.MuleEvent |
getTestInboundEvent(Object data,
org.mule.api.service.Service service,
org.mule.api.MuleContext context)
|
static org.mule.api.endpoint.OutboundEndpoint |
getTestOutboundEndpoint(String name,
org.mule.api.MuleContext context)
|
static org.mule.api.endpoint.OutboundEndpoint |
getTestOutboundEndpoint(String name,
org.mule.api.MuleContext context,
String uri,
List transformers,
org.mule.api.routing.filter.Filter filter,
Map properties)
|
static org.mule.api.endpoint.ImmutableEndpoint |
getTestSchemeMetaInfoInboundEndpoint(String name,
String protocol,
org.mule.api.MuleContext context)
|
static org.mule.api.endpoint.ImmutableEndpoint |
getTestSchemeMetaInfoOutboundEndpoint(String name,
String protocol,
org.mule.api.MuleContext context)
|
static org.mule.api.service.Service |
getTestService(org.mule.api.MuleContext context)
|
static org.mule.api.service.Service |
getTestService(String name,
Class clazz,
Map props,
org.mule.api.MuleContext context)
|
static org.mule.api.service.Service |
getTestService(String name,
Class clazz,
Map props,
org.mule.api.MuleContext context,
boolean initialize)
|
static org.mule.api.service.Service |
getTestService(String name,
Class clazz,
org.mule.api.MuleContext context)
|
static org.mule.api.MuleSession |
getTestSession(org.mule.api.MuleContext context)
|
static org.mule.api.MuleSession |
getTestSession(org.mule.api.service.Service service,
org.mule.api.MuleContext context)
|
static org.mule.api.transformer.Transformer |
getTestTransformer()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MuleTestUtils()
Method Detail |
---|
public static org.mule.api.endpoint.InboundEndpoint getTestInboundEndpoint(String name, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.endpoint.OutboundEndpoint getTestOutboundEndpoint(String name, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.endpoint.InboundEndpoint getTestInboundEndpoint(String name, org.mule.api.MuleContext context, String uri, List transformers, org.mule.api.routing.filter.Filter filter, Map properties) throws Exception
Exception
public static org.mule.api.endpoint.OutboundEndpoint getTestOutboundEndpoint(String name, org.mule.api.MuleContext context, String uri, List transformers, org.mule.api.routing.filter.Filter filter, Map properties) throws Exception
Exception
public static org.mule.api.endpoint.ImmutableEndpoint getTestSchemeMetaInfoInboundEndpoint(String name, String protocol, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.endpoint.ImmutableEndpoint getTestSchemeMetaInfoOutboundEndpoint(String name, String protocol, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestEvent(Object data, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestInboundEvent(Object data, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestEvent(Object data, org.mule.api.service.Service service, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestInboundEvent(Object data, org.mule.api.service.Service service, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestEvent(Object data, org.mule.api.endpoint.ImmutableEndpoint endpoint, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEvent getTestEvent(Object data, org.mule.api.service.Service service, org.mule.api.endpoint.ImmutableEndpoint endpoint, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.MuleEventContext getTestEventContext(Object data, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.transformer.Transformer getTestTransformer() throws Exception
Exception
public static org.mule.api.MuleSession getTestSession(org.mule.api.service.Service service, org.mule.api.MuleContext context)
public static org.mule.api.MuleSession getTestSession(org.mule.api.MuleContext context)
public static TestConnector getTestConnector(org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.service.Service getTestService(org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.service.Service getTestService(String name, Class clazz, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.service.Service getTestService(String name, Class clazz, Map props, org.mule.api.MuleContext context) throws Exception
Exception
public static org.mule.api.service.Service getTestService(String name, Class clazz, Map props, org.mule.api.MuleContext context, boolean initialize) throws Exception
Exception
public static TestAgent getTestAgent() throws Exception
Exception
public static com.mockobjects.dynamic.Mock getMockSession()
public static com.mockobjects.dynamic.Mock getMockMessageDispatcher()
public static com.mockobjects.dynamic.Mock getMockMessageDispatcherFactory()
public static com.mockobjects.dynamic.Mock getMockConnector()
public static com.mockobjects.dynamic.Mock getMockEvent()
public static com.mockobjects.dynamic.Mock getMockMuleContext()
public static com.mockobjects.dynamic.Mock getMockInboundEndpoint()
public static com.mockobjects.dynamic.Mock getMockOutboundEndpoint()
public static com.mockobjects.dynamic.Mock getMockEndpointURI()
public static com.mockobjects.dynamic.Mock getMockTransaction()
public static com.mockobjects.dynamic.Mock getMockTransactionFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |