54 Commits (8392508e23d50f12212947d1749ec4c4c0353826)

Author SHA1 Message Date
Andrea Turso f8b2f203a1 Added exception class and message to the error string. 12 years ago
Andrea Turso f626ccbcee Wrapped the listener invocation a try/catch block that catches any
exception and throws a \RuntimeException.
Added a test case for the EventDispatcher.

Note:
In order to test the doDispatch method I had to use a stub EventDispatcher
with a getListeners that returned a preconfigured array. IMHO there should
be a way to inject the listeners into the EventDispatcher.
12 years ago
Jordi Boggiano 2d780fbef6 Register all packages via the autoload generator before dispatching events 13 years ago
Jordi Boggiano 7add1001ae Refactor scripts 13 years ago