SymfonyTestsListenerTrait
class SymfonyTestsListenerTrait
PHP 5.3 compatible trait-like shared implementation.
Methods
Details
__construct(array $mockedNamespaces = array())
Parameters
array | $mockedNamespaces | List of namespaces, indexed by mocked features (time-sensitive or dns-sensitive) |
__destruct()
globalListenerDisabled()
startTestSuite($suite)
Parameters
addSkippedTest($test, Exception $e, $time)
Parameters
startTest($test)
Parameters
addWarning($test, $e, $time)
Parameters
endTest($test, $time)
Parameters
handleError($type, $msg, $file, $line, $context = array())
Parameters
| $type | |
| $msg | |
| $file | |
| $line | |
| $context | |