final class DispatchingEmitter implements Emitter (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Methods

__construct(Dispatcher $dispatcher, System $system)

No description

void
applicationStarted()

No description

void
testRunnerStarted()

No description

void
testRunnerConfigured(Configuration $configuration)

No description

void
testRunnerBootstrapFinished(string $filename)

No description

void
testRunnerLoadedExtensionFromPhar(string $filename, string $name, string $version)

No description

void
testRunnerBootstrappedExtension(string $className, array $parameters)

No description

void
dataProviderMethodCalled(ClassMethod $testMethod, ClassMethod $dataProviderMethod)

No description

void
dataProviderMethodFinished(ClassMethod $testMethod, ClassMethod ...$calledMethods)

No description

void
testSuiteLoaded(TestSuite $testSuite)

No description

void
testSuiteFiltered(TestSuite $testSuite)

No description

void
testSuiteSorted(int $executionOrder, int $executionOrderDefects, bool $resolveDependencies)

No description

void
testRunnerEventFacadeSealed()

No description

void
testRunnerExecutionStarted(TestSuite $testSuite)

No description

void
void
void
childProcessStarted()

No description

void
childProcessErrored()

No description

void
childProcessFinished(string $stdout, string $stderr)

No description

void
testSuiteSkipped(TestSuite $testSuite, string $message)

No description

void
testSuiteStarted(TestSuite $testSuite)

No description

void
testPreparationStarted(Test $test)

No description

void
testPreparationErrored(Test $test, Throwable $throwable)

No description

void
testPreparationFailed(Test $test, Throwable $throwable)

No description

void
beforeFirstTestMethodCalled(string $testClassName, ClassMethod $calledMethod)

No description

void
beforeFirstTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

void
beforeFirstTestMethodFailed(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

void
beforeFirstTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods)

No description

void
beforeTestMethodCalled(TestMethod $test, ClassMethod $calledMethod)

No description

void
beforeTestMethodErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
beforeTestMethodFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
beforeTestMethodFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

void
preConditionCalled(TestMethod $test, ClassMethod $calledMethod)

No description

void
preConditionErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
preConditionFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
preConditionFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

void
testPrepared(Test $test)

No description

void
testRegisteredComparator(string $className)

No description

void
testCreatedMockObject(string $className)

No description

void
testCreatedMockObjectForIntersectionOfInterfaces(array $interfaces)

No description

void
testCreatedPartialMockObject(string $className, string ...$methodNames)

No description

void
testCreatedStub(string $className)

No description

void
testCreatedStubForIntersectionOfInterfaces(array $interfaces)

No description

void
testErrored(Test $test, Throwable $throwable)

No description

void
testFailed(Test $test, Throwable $throwable, ComparisonFailure|null $comparisonFailure)

No description

void
testPassed(Test $test)

No description

void
testConsideredRisky(Test $test, string $message)

No description

void
testMarkedAsIncomplete(Test $test, Throwable $throwable)

No description

void
testSkipped(Test $test, string $message)

No description

void
testTriggeredPhpunitDeprecation(Test|null $test, string $message)

No description

void
testTriggeredPhpunitNotice(Test $test, string $message)

No description

void
testTriggeredPhpDeprecation(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline, bool $ignoredByTest, IssueTrigger $trigger)

No description

void
testTriggeredDeprecation(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline, bool $ignoredByTest, IssueTrigger $trigger, string $stackTrace)

No description

void
testTriggeredError(Test $test, string $message, string $file, int $line, bool $suppressed)

No description

void
testTriggeredNotice(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

void
testTriggeredPhpNotice(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

void
testTriggeredWarning(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

void
testTriggeredPhpWarning(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

void
testTriggeredPhpunitError(Test $test, string $message)

No description

void
testTriggeredPhpunitWarning(Test $test, string $message)

No description

void
testPrintedUnexpectedOutput(string $output)

No description

void
testProvidedAdditionalInformation(TestMethod $test, string $additionalInformation)

No description

void
testFinished(Test $test, int $numberOfAssertionsPerformed)

No description

void
postConditionCalled(TestMethod $test, ClassMethod $calledMethod)

No description

void
postConditionErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
postConditionFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
postConditionFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

void
afterTestMethodCalled(TestMethod $test, ClassMethod $calledMethod)

No description

void
afterTestMethodErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
afterTestMethodFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

void
afterTestMethodFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

void
afterLastTestMethodCalled(string $testClassName, ClassMethod $calledMethod)

No description

void
afterLastTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

void
afterLastTestMethodFailed(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

void
afterLastTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods)

No description

void
testSuiteFinished(TestSuite $testSuite)

No description

void
testRunnerFinishedStaticAnalysisForCodeCoverage(int $cacheHits, int $cacheMisses)

No description

void
testRunnerTriggeredPhpunitDeprecation(string $message)

No description

void
testRunnerTriggeredPhpunitNotice(string $message)

No description

void
testRunnerTriggeredPhpunitWarning(string $message)

No description

void
void
testRunnerExecutionAborted()

No description

void
testRunnerExecutionFinished()

No description

void
testRunnerFinished()

No description

void
applicationFinished(int $shellExitCode)

No description

Details

__construct(Dispatcher $dispatcher, System $system)

No description

Parameters

Dispatcher $dispatcher
System $system

void applicationStarted()

No description

void testRunnerStarted()

No description

void testRunnerConfigured(Configuration $configuration)

No description

Parameters

Configuration $configuration

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerBootstrapFinished(string $filename)

No description

Parameters

string $filename

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerLoadedExtensionFromPhar(string $filename, string $name, string $version)

No description

Parameters

string $filename
string $name
string $version

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerBootstrappedExtension(string $className, array $parameters)

No description

Parameters

string $className
array $parameters

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void dataProviderMethodCalled(ClassMethod $testMethod, ClassMethod $dataProviderMethod)

No description

Parameters

ClassMethod $testMethod
ClassMethod $dataProviderMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void dataProviderMethodFinished(ClassMethod $testMethod, ClassMethod ...$calledMethods)

No description

Parameters

ClassMethod $testMethod
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSuiteLoaded(TestSuite $testSuite)

No description

Parameters

TestSuite $testSuite

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSuiteFiltered(TestSuite $testSuite)

No description

Parameters

TestSuite $testSuite

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSuiteSorted(int $executionOrder, int $executionOrderDefects, bool $resolveDependencies)

No description

Parameters

int $executionOrder
int $executionOrderDefects
bool $resolveDependencies

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerEventFacadeSealed()

No description

void testRunnerExecutionStarted(TestSuite $testSuite)

No description

Parameters

TestSuite $testSuite

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerDisabledGarbageCollection()

No description

void testRunnerTriggeredGarbageCollection()

No description

void childProcessStarted()

No description

Return Value

void

void childProcessErrored()

No description

Return Value

void

void childProcessFinished(string $stdout, string $stderr)

No description

Parameters

string $stdout
string $stderr

Return Value

void

void testSuiteSkipped(TestSuite $testSuite, string $message)

No description

Parameters

TestSuite $testSuite
string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSuiteStarted(TestSuite $testSuite)

No description

Parameters

TestSuite $testSuite

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPreparationStarted(Test $test)

No description

Parameters

Test $test

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPreparationErrored(Test $test, Throwable $throwable)

No description

Parameters

Test $test
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPreparationFailed(Test $test, Throwable $throwable)

No description

Parameters

Test $test
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeFirstTestMethodCalled(string $testClassName, ClassMethod $calledMethod)

No description

Parameters

string $testClassName
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeFirstTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

string $testClassName
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeFirstTestMethodFailed(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

string $testClassName
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeFirstTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods)

No description

Parameters

string $testClassName
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeTestMethodCalled(TestMethod $test, ClassMethod $calledMethod)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeTestMethodErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeTestMethodFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void beforeTestMethodFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

Parameters

TestMethod $test
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void preConditionCalled(TestMethod $test, ClassMethod $calledMethod)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void preConditionErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void preConditionFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void preConditionFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

Parameters

TestMethod $test
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPrepared(Test $test)

No description

Parameters

Test $test

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRegisteredComparator(string $className)

No description

Parameters

string $className

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testCreatedMockObject(string $className)

No description

Parameters

string $className

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testCreatedMockObjectForIntersectionOfInterfaces(array $interfaces)

No description

Parameters

array $interfaces

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testCreatedPartialMockObject(string $className, string ...$methodNames)

No description

Parameters

string $className
string ...$methodNames

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testCreatedStub(string $className)

No description

Parameters

string $className

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testCreatedStubForIntersectionOfInterfaces(array $interfaces)

No description

Parameters

array $interfaces

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testErrored(Test $test, Throwable $throwable)

No description

Parameters

Test $test
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testFailed(Test $test, Throwable $throwable, ComparisonFailure|null $comparisonFailure)

No description

Parameters

Test $test
Throwable $throwable
ComparisonFailure|null $comparisonFailure

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPassed(Test $test)

No description

Parameters

Test $test

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testConsideredRisky(Test $test, string $message)

No description

Parameters

Test $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testMarkedAsIncomplete(Test $test, Throwable $throwable)

No description

Parameters

Test $test
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSkipped(Test $test, string $message)

No description

Parameters

Test $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredPhpunitDeprecation(Test|null $test, string $message)

No description

Parameters

Test|null $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
NoTestCaseObjectOnCallStackException
UnknownEventTypeException

void testTriggeredPhpunitNotice(Test $test, string $message)

No description

Parameters

Test $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
NoTestCaseObjectOnCallStackException
UnknownEventTypeException

void testTriggeredPhpDeprecation(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline, bool $ignoredByTest, IssueTrigger $trigger)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline
bool $ignoredByTest
IssueTrigger $trigger

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredDeprecation(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline, bool $ignoredByTest, IssueTrigger $trigger, string $stackTrace)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline
bool $ignoredByTest
IssueTrigger $trigger
string $stackTrace

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredError(Test $test, string $message, string $file, int $line, bool $suppressed)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredNotice(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredPhpNotice(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredWarning(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredPhpWarning(Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline)

No description

Parameters

Test $test
string $message
string $file
int $line
bool $suppressed
bool $ignoredByBaseline

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredPhpunitError(Test $test, string $message)

No description

Parameters

Test $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testTriggeredPhpunitWarning(Test $test, string $message)

No description

Parameters

Test $test
string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testPrintedUnexpectedOutput(string $output)

No description

Parameters

string $output

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testProvidedAdditionalInformation(TestMethod $test, string $additionalInformation)

No description

Parameters

TestMethod $test
string $additionalInformation

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testFinished(Test $test, int $numberOfAssertionsPerformed)

No description

Parameters

Test $test
int $numberOfAssertionsPerformed

Return Value

void

void postConditionCalled(TestMethod $test, ClassMethod $calledMethod)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void postConditionErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void postConditionFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void postConditionFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

Parameters

TestMethod $test
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterTestMethodCalled(TestMethod $test, ClassMethod $calledMethod)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterTestMethodErrored(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterTestMethodFailed(TestMethod $test, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

TestMethod $test
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterTestMethodFinished(TestMethod $test, ClassMethod ...$calledMethods)

No description

Parameters

TestMethod $test
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterLastTestMethodCalled(string $testClassName, ClassMethod $calledMethod)

No description

Parameters

string $testClassName
ClassMethod $calledMethod

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterLastTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

string $testClassName
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterLastTestMethodFailed(string $testClassName, ClassMethod $calledMethod, Throwable $throwable)

No description

Parameters

string $testClassName
ClassMethod $calledMethod
Throwable $throwable

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void afterLastTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods)

No description

Parameters

string $testClassName
ClassMethod ...$calledMethods

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testSuiteFinished(TestSuite $testSuite)

No description

Parameters

TestSuite $testSuite

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerStartedStaticAnalysisForCodeCoverage()

No description

void testRunnerFinishedStaticAnalysisForCodeCoverage(int $cacheHits, int $cacheMisses)

No description

Parameters

int $cacheHits
int $cacheMisses

Return Value

void

void testRunnerTriggeredPhpunitDeprecation(string $message)

No description

Parameters

string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerTriggeredPhpunitNotice(string $message)

No description

Parameters

string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerTriggeredPhpunitWarning(string $message)

No description

Parameters

string $message

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException

void testRunnerEnabledGarbageCollection()

No description

void testRunnerExecutionAborted()

No description

void testRunnerExecutionFinished()

No description

void testRunnerFinished()

No description

void applicationFinished(int $shellExitCode)

No description

Parameters

int $shellExitCode

Return Value

void

Exceptions

InvalidArgumentException
UnknownEventTypeException