org.mule.extras.spring.events
Class SpringEventsTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.extras.spring.events.SpringEventsTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
AsyncSpringEventsTestCase, SpringEventsWithEmbeddedManagerTestCase

public class SpringEventsTestCase
extends org.mule.tck.AbstractMuleTestCase


Nested Class Summary
static class SpringEventsTestCase.CountingEventCallback
           
static class SpringEventsTestCase.TestApplicationEvent
           
static class SpringEventsTestCase.TestEventAwareTransformer
           
 
Nested classes inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger
 
Constructor Summary
SpringEventsTestCase()
           
 
Method Summary
protected  void doPublish(org.springframework.context.ApplicationEvent event, int count)
           
protected  void doSend(String url, Object payload, int count)
           
protected  void doSetUp()
           
protected  void doTearDown()
           
protected  String getConfigResources()
           
 void testPublishOnly()
           
 void testPublishWithEventAwareTransformer()
           
 void testReceiveAndPublishEvent()
           
 void testReceivingAllEvents()
           
 void testReceivingANonSubscriptionMuleEvent()
           
 void testReceivingASpringEvent()
           
 void testReceivingASubscriptionEvent()
           
 void testRemovingListeners()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addTest, disposeManager, finalize, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, setName, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpringEventsTestCase

public SpringEventsTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Throws:
Exception

doTearDown

protected void doTearDown()
                   throws Exception
Throws:
Exception

getConfigResources

protected String getConfigResources()

testRemovingListeners

public void testRemovingListeners()
                           throws Exception
Throws:
Exception

testReceivingANonSubscriptionMuleEvent

public void testReceivingANonSubscriptionMuleEvent()
                                            throws Exception
Throws:
Exception

testReceivingASpringEvent

public void testReceivingASpringEvent()
                               throws Exception
Throws:
Exception

testReceivingAllEvents

public void testReceivingAllEvents()
                            throws Exception
Throws:
Exception

testReceivingASubscriptionEvent

public void testReceivingASubscriptionEvent()
                                     throws Exception
Throws:
Exception

testReceiveAndPublishEvent

public void testReceiveAndPublishEvent()
                                throws Exception
Throws:
Exception

testPublishOnly

public void testPublishOnly()
                     throws Exception
Throws:
Exception

testPublishWithEventAwareTransformer

public void testPublishWithEventAwareTransformer()
                                          throws Exception
Throws:
Exception

doPublish

protected void doPublish(org.springframework.context.ApplicationEvent event,
                         int count)

doSend

protected void doSend(String url,
                      Object payload,
                      int count)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.