final class TestResult (View source)

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

Methods

__construct(int $numberOfTests, int $numberOfTestsRun, int $numberOfAssertions, array $testErroredEvents, array $testFailedEvents, array $testConsideredRiskyEvents, array $testSuiteSkippedEvents, array $testSkippedEvents, array $testMarkedIncompleteEvents, array $testTriggeredPhpunitDeprecationEvents, array $testTriggeredPhpunitErrorEvents, array $testTriggeredPhpunitNoticeEvents, array $testTriggeredPhpunitWarningEvents, array $testRunnerTriggeredDeprecationEvents, array $testRunnerTriggeredNoticeEvents, array $testRunnerTriggeredWarningEvents, array $errors, array $deprecations, array $notices, array $warnings, array $phpDeprecations, array $phpNotices, array $phpWarnings, int $numberOfIssuesIgnoredByBaseline)

No description

int
numberOfTestsRun()

No description

int
numberOfAssertions()

No description

array
testErroredEvents()

No description

int
numberOfTestErroredEvents()

No description

bool
hasTestErroredEvents()

No description

array
testFailedEvents()

No description

int
numberOfTestFailedEvents()

No description

bool
hasTestFailedEvents()

No description

array
testConsideredRiskyEvents()

No description

bool
hasTestConsideredRiskyEvents()

No description

array
testSuiteSkippedEvents()

No description

int
bool
hasTestSuiteSkippedEvents()

No description

array
testSkippedEvents()

No description

int
numberOfTestSkippedEvents()

No description

bool
hasTestSkippedEvents()

No description

array
testMarkedIncompleteEvents()

No description

int
bool
array
array
bool
array
bool
array
bool
array
array
bool
array
bool
bool
wasSuccessful()

No description

bool
hasIssues()

No description

bool
hasTestsWithIssues()

No description

array
errors()

No description

array
deprecations()

No description

array
notices()

No description

array
warnings()

No description

array
phpDeprecations()

No description

array
phpNotices()

No description

array
phpWarnings()

No description

bool
hasTests()

No description

bool
hasErrors()

No description

int
numberOfErrors()

No description

bool
hasDeprecations()

No description

bool
hasPhpOrUserDeprecations()

No description

int
bool
hasPhpunitDeprecations()

No description

int
numberOfPhpunitDeprecations()

No description

bool
hasPhpunitWarnings()

No description

int
numberOfPhpunitWarnings()

No description

int
numberOfDeprecations()

No description

bool
hasNotices()

No description

int
numberOfNotices()

No description

bool
hasWarnings()

No description

int
numberOfWarnings()

No description

bool
hasIncompleteTests()

No description

bool
hasRiskyTests()

No description

bool
hasSkippedTests()

No description

bool
hasIssuesIgnoredByBaseline()

No description

int
bool
hasPhpunitNotices()

No description

int
numberOfPhpunitNotices()

No description

Details

__construct(int $numberOfTests, int $numberOfTestsRun, int $numberOfAssertions, array $testErroredEvents, array $testFailedEvents, array $testConsideredRiskyEvents, array $testSuiteSkippedEvents, array $testSkippedEvents, array $testMarkedIncompleteEvents, array $testTriggeredPhpunitDeprecationEvents, array $testTriggeredPhpunitErrorEvents, array $testTriggeredPhpunitNoticeEvents, array $testTriggeredPhpunitWarningEvents, array $testRunnerTriggeredDeprecationEvents, array $testRunnerTriggeredNoticeEvents, array $testRunnerTriggeredWarningEvents, array $errors, array $deprecations, array $notices, array $warnings, array $phpDeprecations, array $phpNotices, array $phpWarnings, int $numberOfIssuesIgnoredByBaseline)

No description

Parameters

int $numberOfTests
int $numberOfTestsRun
int $numberOfAssertions
array $testErroredEvents
array $testFailedEvents
array $testConsideredRiskyEvents
array $testSuiteSkippedEvents
array $testSkippedEvents
array $testMarkedIncompleteEvents
array $testTriggeredPhpunitDeprecationEvents
array $testTriggeredPhpunitErrorEvents
array $testTriggeredPhpunitNoticeEvents
array $testTriggeredPhpunitWarningEvents
array $testRunnerTriggeredDeprecationEvents
array $testRunnerTriggeredNoticeEvents
array $testRunnerTriggeredWarningEvents
array $errors
array $deprecations
array $notices
array $warnings
array $phpDeprecations
array $phpNotices
array $phpWarnings
int $numberOfIssuesIgnoredByBaseline

int numberOfTestsRun()

No description

Return Value

int

int numberOfAssertions()

No description

Return Value

int

array testErroredEvents()

No description

Return Value

array

int numberOfTestErroredEvents()

No description

Return Value

int

bool hasTestErroredEvents()

No description

Return Value

bool

array testFailedEvents()

No description

Return Value

array

int numberOfTestFailedEvents()

No description

Return Value

int

bool hasTestFailedEvents()

No description

Return Value

bool

array testConsideredRiskyEvents()

No description

Return Value

array

int numberOfTestsWithTestConsideredRiskyEvents()

No description

Return Value

int

bool hasTestConsideredRiskyEvents()

No description

Return Value

bool

array testSuiteSkippedEvents()

No description

Return Value

array

int numberOfTestSuiteSkippedEvents()

No description

Return Value

int

bool hasTestSuiteSkippedEvents()

No description

Return Value

bool

array testSkippedEvents()

No description

Return Value

array

int numberOfTestSkippedEvents()

No description

Return Value

int

bool hasTestSkippedEvents()

No description

Return Value

bool

array testMarkedIncompleteEvents()

No description

Return Value

array

int numberOfTestMarkedIncompleteEvents()

No description

Return Value

int

bool hasTestMarkedIncompleteEvents()

No description

Return Value

bool

array testTriggeredPhpunitDeprecationEvents()

No description

Return Value

array

int numberOfTestsWithTestTriggeredPhpunitDeprecationEvents()

No description

Return Value

int

bool hasTestTriggeredPhpunitDeprecationEvents()

No description

Return Value

bool

array testTriggeredPhpunitErrorEvents()

No description

Return Value

array

int numberOfTestsWithTestTriggeredPhpunitErrorEvents()

No description

Return Value

int

bool hasTestTriggeredPhpunitErrorEvents()

No description

Return Value

bool

array testTriggeredPhpunitNoticeEvents()

No description

Return Value

array

int numberOfTestsWithTestTriggeredPhpunitNoticeEvents()

No description

Return Value

int

bool hasTestTriggeredPhpunitNoticeEvents()

No description

Return Value

bool

array testTriggeredPhpunitWarningEvents()

No description

Return Value

array

int numberOfTestsWithTestTriggeredPhpunitWarningEvents()

No description

Return Value

int

bool hasTestTriggeredPhpunitWarningEvents()

No description

Return Value

bool

array testRunnerTriggeredDeprecationEvents()

No description

Return Value

array

int numberOfTestRunnerTriggeredDeprecationEvents()

No description

Return Value

int

bool hasTestRunnerTriggeredDeprecationEvents()

No description

Return Value

bool

array testRunnerTriggeredNoticeEvents()

No description

Return Value

array

int numberOfTestRunnerTriggeredNoticeEvents()

No description

Return Value

int

bool hasTestRunnerTriggeredNoticeEvents()

No description

Return Value

bool

array testRunnerTriggeredWarningEvents()

No description

Return Value

array

int numberOfTestRunnerTriggeredWarningEvents()

No description

Return Value

int

bool hasTestRunnerTriggeredWarningEvents()

No description

Return Value

bool

bool wasSuccessful()

No description

Return Value

bool

bool hasIssues()

No description

Return Value

bool

bool hasTestsWithIssues()

No description

Return Value

bool

array errors()

No description

Return Value

array

array deprecations()

No description

Return Value

array

array notices()

No description

Return Value

array

array warnings()

No description

Return Value

array

array phpDeprecations()

No description

Return Value

array

array phpNotices()

No description

Return Value

array

array phpWarnings()

No description

Return Value

array

bool hasTests()

No description

Return Value

bool

bool hasErrors()

No description

Return Value

bool

int numberOfErrors()

No description

Return Value

int

bool hasDeprecations()

No description

Return Value

bool

bool hasPhpOrUserDeprecations()

No description

Return Value

bool

int numberOfPhpOrUserDeprecations()

No description

Return Value

int

bool hasPhpunitDeprecations()

No description

Return Value

bool

int numberOfPhpunitDeprecations()

No description

Return Value

int

bool hasPhpunitWarnings()

No description

Return Value

bool

int numberOfPhpunitWarnings()

No description

Return Value

int

int numberOfDeprecations()

No description

Return Value

int

bool hasNotices()

No description

Return Value

bool

int numberOfNotices()

No description

Return Value

int

bool hasWarnings()

No description

Return Value

bool

int numberOfWarnings()

No description

Return Value

int

bool hasIncompleteTests()

No description

Return Value

bool

bool hasRiskyTests()

No description

Return Value

bool

bool hasSkippedTests()

No description

Return Value

bool

bool hasIssuesIgnoredByBaseline()

No description

Return Value

bool

int numberOfIssuesIgnoredByBaseline()

No description

Return Value

int

bool hasPhpunitNotices()

No description

Return Value

bool

int numberOfPhpunitNotices()

No description

Return Value

int