|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.context.notification.AbstractNotificationTestCase
public abstract class AbstractNotificationTestCase
Tests must define a "notificationLogger" listener
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary |
---|
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
AbstractNotificationTestCase()
|
Method Summary | |
---|---|
protected void |
assertExpectedNotifications(org.mule.context.notification.RestrictedNode spec)
This is destructive - do not use spec after calling this routine |
abstract void |
doTest()
|
abstract org.mule.context.notification.RestrictedNode |
getSpecification()
|
protected void |
logNotifications()
|
protected void |
suitePostTearDown()
Run after all testcase teardowns. |
void |
testNotifications()
|
abstract void |
validateSpecification(org.mule.context.notification.RestrictedNode spec)
|
protected void |
verifyAllNotifications(org.mule.context.notification.RestrictedNode spec,
java.lang.Class clazz,
int from,
int to)
|
protected void |
verifyNotification(org.mule.context.notification.RestrictedNode spec,
java.lang.Class clazz,
int action)
|
Methods inherited from class org.mule.tck.FunctionalTestCase |
---|
getBuilder, getComponent, getComponent, getConfigResources, getFunctionalTestComponent, loadResource, loadResourceAsString |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, 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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractNotificationTestCase()
Method Detail |
---|
public final void testNotifications() throws java.lang.Exception
java.lang.Exception
public abstract void doTest() throws java.lang.Exception
java.lang.Exception
public abstract org.mule.context.notification.RestrictedNode getSpecification()
public abstract void validateSpecification(org.mule.context.notification.RestrictedNode spec) throws java.lang.Exception
java.lang.Exception
protected void suitePostTearDown() throws java.lang.Exception
AbstractMuleTestCase
suitePostTearDown
in class AbstractMuleTestCase
java.lang.Exception
protected void logNotifications()
protected void assertExpectedNotifications(org.mule.context.notification.RestrictedNode spec)
protected void verifyAllNotifications(org.mule.context.notification.RestrictedNode spec, java.lang.Class clazz, int from, int to)
protected void verifyNotification(org.mule.context.notification.RestrictedNode spec, java.lang.Class clazz, int action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |