org.mule.context.notification
Class AbstractNotificationTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.context.notification.AbstractNotificationTestCase
- All Implemented Interfaces:
- Test, TestCaseWatchdogTimeoutHandler
- Direct Known Subclasses:
- ComponentMessageNotificationTestCase, EndpointMessageNotificationTestCase, ExceptionNotificationTestCase, MessageNotificationTestCase
public abstract class AbstractNotificationTestCase
- extends org.mule.tck.FunctionalTestCase
Tests must define a "notificationLogger" listener
Methods inherited from class org.mule.tck.FunctionalTestCase |
getBuilder, getComponent, getComponent, getConfigResources, getConfigurationResources, loadResource, loadResourceAsString |
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, 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, 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 |
AbstractNotificationTestCase
public AbstractNotificationTestCase()
testNotifications
public final void testNotifications()
throws Exception
- Throws:
Exception
doTest
public abstract void doTest()
throws Exception
- Throws:
Exception
getSpecification
public abstract org.mule.context.notification.RestrictedNode getSpecification()
validateSpecification
public abstract void validateSpecification(org.mule.context.notification.RestrictedNode spec)
throws Exception
- Throws:
Exception
suitePostTearDown
protected void suitePostTearDown()
throws Exception
- Description copied from class:
AbstractMuleTestCase
- Run after all testcase teardowns.
- Overrides:
suitePostTearDown
in class AbstractMuleTestCase
- Throws:
Exception
logNotifications
protected void logNotifications()
assertExpectedNotifications
protected void assertExpectedNotifications(org.mule.context.notification.RestrictedNode spec)
- This is destructive - do not use spec after calling this routine
verifyAllNotifications
protected void verifyAllNotifications(org.mule.context.notification.RestrictedNode spec,
Class clazz,
int from,
int to)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.