TestSuiteElement
extends DOMElement
in package
Table of Contents
Methods
- __construct() : mixed
- addTestCase() : TestCaseElement
- incrementErrorCount() : mixed
- Increments error counter in test suite
- incrementFailureCount() : mixed
- Increments failure counter in test suite
- setHostname() : mixed
- Hostname where tests was executed
- setName() : mixed
- Full class name of the test for non-aggregated testsuite documents.
- setTime() : mixed
- Test time duration in seconds
- setTimestamp() : mixed
- Time of test executing.
- incrementTestCount() : mixed
Methods
__construct()
public
__construct() : mixed
addTestCase()
public
addTestCase() : TestCaseElement
Return values
TestCaseElementincrementErrorCount()
Increments error counter in test suite
public
incrementErrorCount() : mixed
incrementFailureCount()
Increments failure counter in test suite
public
incrementFailureCount() : mixed
setHostname()
Hostname where tests was executed
public
setHostname(string $hostname) : mixed
Parameters
- $hostname : string
setName()
Full class name of the test for non-aggregated testsuite documents.
public
setName(string $name) : mixed
Class name without the package for aggregated testsuites documents
Parameters
- $name : string
setTime()
Test time duration in seconds
public
setTime(float $duration) : mixed
Parameters
- $duration : float
setTimestamp()
Time of test executing.
public
setTimestamp(DateTime $timestamp) : mixed
Parameters
- $timestamp : DateTime
incrementTestCount()
private
incrementTestCount() : mixed