EventDispatcherTest
extends AbstractEventDispatcherTest
in package
Table of Contents
Constants
Properties
- $dispatcher : EventDispatcher
- $listener : mixed
Methods
- testAddListener() : mixed
- testAddSubscriber() : mixed
- testAddSubscriberWithMultipleListeners() : mixed
- testAddSubscriberWithPriorities() : mixed
- testDispatch() : mixed
- testDispatchByPriority() : mixed
- testDispatchForClosure() : mixed
- testEventReceivesTheDispatcherInstanceAsArgument() : mixed
- testGetAllListenersSortsByPriority() : mixed
- testGetListenerPriority() : mixed
- testGetListenersSortsByPriority() : mixed
- testGetListenersWhenAddedCallbackListenerIsRemoved() : mixed
- testHasListenersWhenAddedCallbackListenerIsRemoved() : mixed
- testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled() : mixed
- testInitialState() : mixed
- testLegacyDispatch() : mixed
- testLegacyEventReceivesTheDispatcherInstance() : mixed
- testRemoveListener() : mixed
- testRemoveSubscriber() : mixed
- testRemoveSubscriberWithMultipleListeners() : mixed
- testRemoveSubscriberWithPriorities() : mixed
- testStopEventPropagation() : mixed
- testWorkaroundForPhpBug62976() : mixed
- createEventDispatcher() : mixed
- setUp() : mixed
- tearDown() : mixed
Constants
postBar
public
mixed
postBar
= 'post.bar'
postFoo
public
mixed
postFoo
= 'post.foo'
preBar
public
mixed
preBar
= 'pre.bar'
preFoo
public
mixed
preFoo
= 'pre.foo'
Properties
$dispatcher
private
EventDispatcher
$dispatcher
$listener
private
mixed
$listener
Methods
testAddListener()
public
testAddListener() : mixed
testAddSubscriber()
public
testAddSubscriber() : mixed
testAddSubscriberWithMultipleListeners()
public
testAddSubscriberWithMultipleListeners() : mixed
testAddSubscriberWithPriorities()
public
testAddSubscriberWithPriorities() : mixed
testDispatch()
public
testDispatch() : mixed
testDispatchByPriority()
public
testDispatchByPriority() : mixed
testDispatchForClosure()
public
testDispatchForClosure() : mixed
testEventReceivesTheDispatcherInstanceAsArgument()
public
testEventReceivesTheDispatcherInstanceAsArgument() : mixed
testGetAllListenersSortsByPriority()
public
testGetAllListenersSortsByPriority() : mixed
testGetListenerPriority()
public
testGetListenerPriority() : mixed
testGetListenersSortsByPriority()
public
testGetListenersSortsByPriority() : mixed
testGetListenersWhenAddedCallbackListenerIsRemoved()
public
testGetListenersWhenAddedCallbackListenerIsRemoved() : mixed
testHasListenersWhenAddedCallbackListenerIsRemoved()
public
testHasListenersWhenAddedCallbackListenerIsRemoved() : mixed
testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled()
public
testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled() : mixed
testInitialState()
public
testInitialState() : mixed
testLegacyDispatch()
public
testLegacyDispatch() : mixed
Tags
testLegacyEventReceivesTheDispatcherInstance()
public
testLegacyEventReceivesTheDispatcherInstance() : mixed
Tags
testRemoveListener()
public
testRemoveListener() : mixed
testRemoveSubscriber()
public
testRemoveSubscriber() : mixed
testRemoveSubscriberWithMultipleListeners()
public
testRemoveSubscriberWithMultipleListeners() : mixed
testRemoveSubscriberWithPriorities()
public
testRemoveSubscriberWithPriorities() : mixed
testStopEventPropagation()
public
testStopEventPropagation() : mixed
testWorkaroundForPhpBug62976()
public
testWorkaroundForPhpBug62976() : mixed
Tags
createEventDispatcher()
protected
createEventDispatcher() : mixed
setUp()
protected
setUp() : mixed
tearDown()
protected
tearDown() : mixed