CoverageListener
in package
implements
TestListener
Uses
TestListenerDefaultImplementation
Interfaces, Classes, Traits and Enums
Table of Contents
- $sutFqcnResolver : mixed
- $warningOnSutNotFound : mixed
- __construct() : mixed
- addError() : void
- addFailure() : void
- addIncompleteTest() : void
- addRiskyTest() : void
- addSkippedTest() : void
- addWarning() : void
- endTest() : void
- endTestSuite() : void
- startTest() : void
- A test started.
- startTestSuite() : void
- addCoversForClassToAnnotationCache() : void
- addCoversForDocBlockInsideRegistry() : void
Properties
$sutFqcnResolver
private
mixed
$sutFqcnResolver
$warningOnSutNotFound
private
mixed
$warningOnSutNotFound
Methods
__construct()
public
__construct([callable $sutFqcnResolver = null ][, bool $warningOnSutNotFound = false ]) : mixed
Parameters
- $sutFqcnResolver : callable = null
- $warningOnSutNotFound : bool = false
Return values
mixed —addError()
public
addError(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addFailure()
public
addFailure(Test $test, AssertionFailedError $e, float $time) : void
Parameters
- $test : Test
- $e : AssertionFailedError
- $time : float
Return values
void —addIncompleteTest()
public
addIncompleteTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addRiskyTest()
public
addRiskyTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addSkippedTest()
public
addSkippedTest(Test $test, Throwable $t, float $time) : void
Parameters
- $test : Test
- $t : Throwable
- $time : float
Return values
void —addWarning()
public
addWarning(Test $test, Warning $e, float $time) : void
Parameters
- $test : Test
- $e : Warning
- $time : float
Return values
void —endTest()
public
endTest(Test $test, float $time) : void
Parameters
- $test : Test
- $time : float
Return values
void —endTestSuite()
public
endTestSuite(TestSuite $suite) : void
Parameters
- $suite : TestSuite
Return values
void —startTest()
A test started.
public
startTest(Test $test) : void
Parameters
- $test : Test
Return values
void —startTestSuite()
public
startTestSuite(TestSuite $suite) : void
Parameters
- $suite : TestSuite
Return values
void —addCoversForClassToAnnotationCache()
private
addCoversForClassToAnnotationCache(Test $test, array<string|int, mixed> $covers) : void
Parameters
- $test : Test
- $covers : array<string|int, mixed>
Return values
void —addCoversForDocBlockInsideRegistry()
private
addCoversForDocBlockInsideRegistry(Test $test, array<string|int, mixed> $covers) : void
Parameters
- $test : Test
- $covers : array<string|int, mixed>