org.mule.context.notification
Class ComponentMessageNotificationNoXMLTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.context.notification.ComponentMessageNotificationNoXMLTestCase
- All Implemented Interfaces:
- Test, TestCaseWatchdogTimeoutHandler
public class ComponentMessageNotificationNoXMLTestCase
- extends AbstractMuleTestCase
Test ComponentNotifications/Listeners by sending events to a component. A pre and
post notification should be received by listeners.
Field Summary |
protected org.mule.context.notification.ComponentMessageNotificationNoXMLTestCase.ComponentListener |
componentListener
|
protected org.mule.context.notification.ServerNotificationManager |
manager
|
protected org.mule.api.service.Service |
service
|
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
createMuleContext, createTestInfo, createWatchdog, disposeManager, doTearDown, getBuilder, getConfigurationResources, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
service
protected org.mule.api.service.Service service
manager
protected org.mule.context.notification.ServerNotificationManager manager
componentListener
protected org.mule.context.notification.ComponentMessageNotificationNoXMLTestCase.ComponentListener componentListener
ComponentMessageNotificationNoXMLTestCase
public ComponentMessageNotificationNoXMLTestCase()
configureMuleContext
protected void configureMuleContext(org.mule.api.context.MuleContextBuilder contextBuilder)
- Description copied from class:
AbstractMuleTestCase
- Override this method to set properties of the MuleContextBuilder before it is
used to create the MuleContext.
- Overrides:
configureMuleContext
in class AbstractMuleTestCase
doSetUp
protected void doSetUp()
throws Exception
- Overrides:
doSetUp
in class AbstractMuleTestCase
- Throws:
Exception
testComponentNotificationNotRegistered
public void testComponentNotificationNotRegistered()
throws Exception
- Throws:
Exception
testComponentNotification
public void testComponentNotification()
throws Exception
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.