org.mule.context.notification
Class ComponentMessageNotificationNoXMLTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
protected  org.mule.context.notification.ComponentMessageNotificationNoXMLTestCase.ComponentListener componentListener
           
protected  org.mule.context.notification.ServerNotificationManager manager
           
protected  org.mule.api.service.Service service
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
ComponentMessageNotificationNoXMLTestCase()
           
 
Method Summary
protected  void configureMuleContext(org.mule.api.context.MuleContextBuilder contextBuilder)
          Override this method to set properties of the MuleContextBuilder before it is used to create the MuleContext.
protected  void doSetUp()
           
 void testComponentNotification()
           
 void testComponentNotificationNotRegistered()
           
 
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.TestCase
countTestCases, createResult, run, runTest, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ComponentMessageNotificationNoXMLTestCase

public ComponentMessageNotificationNoXMLTestCase()
Method Detail

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.