public class NotificationManagerTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
protected Listener1 |
listener1 |
protected Listener2 |
listener2 |
protected ServerNotificationManager |
manager |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
NotificationManagerTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertNoEventsEnabled() |
protected void |
assertNoListenersNotified() |
protected void |
assertStandardEventsEnabled() |
protected void |
registerDefaultEvents() |
protected void |
registerDefaultListeners() |
void |
setUpListeners() |
void |
testAssociationOfInterfacesAndEvents() |
void |
testDynamicManagerDecisions() |
void |
testDynamicResponseToDisablingEvents() |
void |
testDynamicResponseToDisablingInterfaces() |
void |
testNoListenersMeansNoEvents() |
void |
testNonDynamicManagerDecisions()
When the manager is not dynamic (the default), decisions should not change
|
void |
testNotification() |
void |
testPolicyCaching()
A new policy should only be generated when the configuration changes
|
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
protected Listener1 listener1
protected Listener2 listener2
protected ServerNotificationManager manager
public void setUpListeners()
protected void registerDefaultEvents() throws ClassNotFoundException
ClassNotFoundException
public void testNoListenersMeansNoEvents() throws ClassNotFoundException
ClassNotFoundException
protected void assertNoEventsEnabled()
protected void registerDefaultListeners()
public void testAssociationOfInterfacesAndEvents() throws ClassNotFoundException
ClassNotFoundException
protected void assertStandardEventsEnabled()
public void testDynamicResponseToDisablingEvents() throws ClassNotFoundException
ClassNotFoundException
public void testDynamicResponseToDisablingInterfaces() throws ClassNotFoundException
ClassNotFoundException
public void testPolicyCaching() throws ClassNotFoundException
ClassNotFoundException
public void testDynamicManagerDecisions() throws ClassNotFoundException
ClassNotFoundException
public void testNonDynamicManagerDecisions() throws ClassNotFoundException
ClassNotFoundException
public void testNotification() throws ClassNotFoundException
ClassNotFoundException
protected void assertNoListenersNotified()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.