public abstract class AbstractEventPublisherLegacyCompatibilityTest extends Object
LegacyListenerHandler
at runtime here (and not a stub/mock). It essentially ensure that we get the same behavior at the legacy event manager.| Constructor and Description |
|---|
AbstractEventPublisherLegacyCompatibilityTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
getEvent() |
protected EventListener |
getListener(Class<?>... classes) |
void |
setUp() |
void |
tearDown() |
void |
testAddValidKeyWithNullListener() |
void |
testChildrenHandled() |
void |
testDuplicateKeysForListeners() |
void |
testGrandChildrenHandled() |
void |
testInterfacesHandled() |
void |
testListenerWithoutMatchingEventClass() |
void |
testListensForEverything() |
void |
testListensForEverythingDoesNotReceiveNonEventClasses() |
void |
testOneEventForTwoHandledClasses() |
void |
testPublishNullEvent() |
void |
testRegisterListener() |
void |
testRemoveNonExistentListener() |
void |
testUnregisterListener() |
public AbstractEventPublisherLegacyCompatibilityTest()
public final void setUp()
public final void testPublishNullEvent()
public final void testRegisterListener()
public final void testListenerWithoutMatchingEventClass()
public final void testUnregisterListener()
public final void testListensForEverything()
public final void testListensForEverythingDoesNotReceiveNonEventClasses()
public final void testRemoveNonExistentListener()
public final void testDuplicateKeysForListeners()
public final void testAddValidKeyWithNullListener()
public final void testGrandChildrenHandled()
throws Exception
Exceptionpublic final void testOneEventForTwoHandledClasses()
protected Event getEvent()
protected EventListener getListener(Class<?>... classes)
Copyright © 2006-2018 Atlassian. All Rights Reserved.