Open Monograph Press  3.3.0
Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest Class Reference
Inheritance diagram for Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest:
Symfony\Component\EventDispatcher\Tests\ContainerAwareEventDispatcherTest Symfony\Component\EventDispatcher\Tests\EventDispatcherTest

Public Member Functions

 testAddListener ()
 
 testAddListener ()
 
 testAddSubscriber ()
 
 testAddSubscriber ()
 
 testAddSubscriberWithMultipleListeners ()
 
 testAddSubscriberWithMultipleListeners ()
 
 testAddSubscriberWithPriorities ()
 
 testAddSubscriberWithPriorities ()
 
 testDispatch ()
 
 testDispatch ()
 
 testDispatchByPriority ()
 
 testDispatchByPriority ()
 
 testDispatchForClosure ()
 
 testDispatchForClosure ()
 
 testEventReceivesTheDispatcherInstanceAsArgument ()
 
 testEventReceivesTheDispatcherInstanceAsArgument ()
 
 testGetAllListenersSortsByPriority ()
 
 testGetAllListenersSortsByPriority ()
 
 testGetListenerPriority ()
 
 testGetListenerPriority ()
 
 testGetListenersSortsByPriority ()
 
 testGetListenersSortsByPriority ()
 
 testGetListenersWhenAddedCallbackListenerIsRemoved ()
 
 testGetListenersWhenAddedCallbackListenerIsRemoved ()
 
 testHasListenersWhenAddedCallbackListenerIsRemoved ()
 
 testHasListenersWhenAddedCallbackListenerIsRemoved ()
 
 testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled ()
 
 testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled ()
 
 testInitialState ()
 
 testInitialState ()
 
 testLegacyDispatch ()
 
 testLegacyDispatch ()
 
 testLegacyEventReceivesTheDispatcherInstance ()
 
 testLegacyEventReceivesTheDispatcherInstance ()
 
 testRemoveListener ()
 
 testRemoveListener ()
 
 testRemoveSubscriber ()
 
 testRemoveSubscriber ()
 
 testRemoveSubscriberWithMultipleListeners ()
 
 testRemoveSubscriberWithMultipleListeners ()
 
 testRemoveSubscriberWithPriorities ()
 
 testRemoveSubscriberWithPriorities ()
 
 testStopEventPropagation ()
 
 testStopEventPropagation ()
 
 testWorkaroundForPhpBug62976 ()
 
 testWorkaroundForPhpBug62976 ()
 

Data Fields

const postBar = 'post.bar'
 
const postFoo = 'post.foo'
 
const preBar = 'pre.bar'
 
const preFoo = 'pre.foo'
 

Protected Member Functions

 createEventDispatcher ()
 
 createEventDispatcher ()
 
 setUp ()
 
 setUp ()
 
 tearDown ()
 
 tearDown ()
 

Detailed Description

Member Function Documentation

◆ createEventDispatcher() [1/2]

◆ createEventDispatcher() [2/2]

◆ setUp() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::setUp ( )
protected

◆ setUp() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::setUp ( )
protected

◆ tearDown() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::tearDown ( )
protected

◆ tearDown() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::tearDown ( )
protected

◆ testAddListener() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddListener ( )

◆ testAddListener() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddListener ( )

◆ testAddSubscriber() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriber ( )

◆ testAddSubscriber() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriber ( )

◆ testAddSubscriberWithMultipleListeners() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriberWithMultipleListeners ( )

◆ testAddSubscriberWithMultipleListeners() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriberWithMultipleListeners ( )

◆ testAddSubscriberWithPriorities() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriberWithPriorities ( )

◆ testAddSubscriberWithPriorities() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testAddSubscriberWithPriorities ( )

◆ testDispatch() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatch ( )

◆ testDispatch() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatch ( )

◆ testDispatchByPriority() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatchByPriority ( )

◆ testDispatchByPriority() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatchByPriority ( )

◆ testDispatchForClosure() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatchForClosure ( )

◆ testDispatchForClosure() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testDispatchForClosure ( )

◆ testEventReceivesTheDispatcherInstanceAsArgument() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testEventReceivesTheDispatcherInstanceAsArgument ( )

◆ testEventReceivesTheDispatcherInstanceAsArgument() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testEventReceivesTheDispatcherInstanceAsArgument ( )

◆ testGetAllListenersSortsByPriority() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetAllListenersSortsByPriority ( )

◆ testGetAllListenersSortsByPriority() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetAllListenersSortsByPriority ( )

◆ testGetListenerPriority() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenerPriority ( )

◆ testGetListenerPriority() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenerPriority ( )

◆ testGetListenersSortsByPriority() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenersSortsByPriority ( )

◆ testGetListenersSortsByPriority() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenersSortsByPriority ( )

◆ testGetListenersWhenAddedCallbackListenerIsRemoved() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenersWhenAddedCallbackListenerIsRemoved ( )

◆ testGetListenersWhenAddedCallbackListenerIsRemoved() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testGetListenersWhenAddedCallbackListenerIsRemoved ( )

◆ testHasListenersWhenAddedCallbackListenerIsRemoved() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testHasListenersWhenAddedCallbackListenerIsRemoved ( )

◆ testHasListenersWhenAddedCallbackListenerIsRemoved() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testHasListenersWhenAddedCallbackListenerIsRemoved ( )

◆ testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled ( )

◆ testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled ( )

◆ testInitialState() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testInitialState ( )

◆ testInitialState() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testInitialState ( )

◆ testLegacyDispatch() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testLegacyDispatch ( )

◆ testLegacyDispatch() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testLegacyDispatch ( )

◆ testLegacyEventReceivesTheDispatcherInstance() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testLegacyEventReceivesTheDispatcherInstance ( )

◆ testLegacyEventReceivesTheDispatcherInstance() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testLegacyEventReceivesTheDispatcherInstance ( )

◆ testRemoveListener() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveListener ( )

◆ testRemoveListener() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveListener ( )

◆ testRemoveSubscriber() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriber ( )

◆ testRemoveSubscriber() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriber ( )

◆ testRemoveSubscriberWithMultipleListeners() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriberWithMultipleListeners ( )

◆ testRemoveSubscriberWithMultipleListeners() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriberWithMultipleListeners ( )

◆ testRemoveSubscriberWithPriorities() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriberWithPriorities ( )

◆ testRemoveSubscriberWithPriorities() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testRemoveSubscriberWithPriorities ( )

◆ testStopEventPropagation() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testStopEventPropagation ( )

◆ testStopEventPropagation() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testStopEventPropagation ( )

◆ testWorkaroundForPhpBug62976() [1/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testWorkaroundForPhpBug62976 ( )
See also
https://bugs.php.net/bug.php?id=62976

This bug affects:

  • The PHP 5.3 branch for versions < 5.3.18
  • The PHP 5.4 branch for versions < 5.4.8
  • The PHP 5.5 branch is not affected

Definition at line 303 of file vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php.

References Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest\createEventDispatcher().

◆ testWorkaroundForPhpBug62976() [2/2]

Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testWorkaroundForPhpBug62976 ( )
See also
https://bugs.php.net/bug.php?id=62976

This bug affects:

  • The PHP 5.3 branch for versions < 5.3.18
  • The PHP 5.4 branch for versions < 5.4.8
  • The PHP 5.5 branch is not affected

Definition at line 303 of file lib/vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php.

References Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest\createEventDispatcher().

Field Documentation

◆ postBar

const Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::postBar = 'post.bar'

◆ postFoo

const Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::postFoo = 'post.foo'

◆ preBar

const Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::preBar = 'pre.bar'

◆ preFoo

const Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::preFoo = 'pre.foo'

The documentation for this class was generated from the following file: