Property | Type | Description | |
---|---|---|---|
$readers | array | A collection of Reader objects to aggregate results from |
Method | Description | |
---|---|---|
addReader ( ParaTest\Logging\JUnit\Reader $reader ) | Add a new Reader to be included in the final results | |
flattenCases ( ) : array | Flattens all cases into their respective suites | |
getCases ( ) : array | Get all test case objects found within the collection of Reader objects | |
getReaders ( ) : ParaTest\Logging\JUnit\Reader[] | Return all Reader objects associated with the LogInterpreter | |
isSuccessful ( ) : boolean | Returns true if total errors and failures equals 0, false otherwise | |
rewind ( ) | Reset the array pointer of the internal readers collection |
Method | Description | |
---|---|---|
extendEmptyCasesFromSuites ( array $cases, ParaTest\Logging\JUnit\TestSuite $suite ) | Fix problem with empty testcase from DataProvider | |
getMessages ( $type ) : array | Gets messages of a given type and merges them into a single collection | |
getNumericValue ( $property ) : float | integer | Returns a value as either a float or int |
Method | Description | |
---|---|---|
accumulate ( $method ) : mixed | Reduces a collection of readers down to a single result based on an accessor | |
mergeMessages ( $method ) : array | Flatten messages into a single collection based on an accessor method |
public addReader ( ParaTest\Logging\JUnit\Reader $reader ) | ||
$reader | ParaTest\Logging\JUnit\Reader |
protected extendEmptyCasesFromSuites ( array $cases, ParaTest\Logging\JUnit\TestSuite $suite ) | ||
$cases | array | |
$suite | ParaTest\Logging\JUnit\TestSuite |
public flattenCases ( ) : array | ||
return | array | $suites a collection of suites and their cases |
protected getMessages ( $type ) : array | ||
$type | ||
return | array |
protected getNumericValue ( $property ) : float | integer | ||
$property | ||
return | float | integer |
public getReaders ( ) : ParaTest\Logging\JUnit\Reader[] | ||
return | ParaTest\Logging\JUnit\Reader[] |
public isSuccessful ( ) : boolean | ||
return | boolean |
protected array $readers | ||
return | array |