PHP Class mageekguy\atoum\score

Datei anzeigen Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$coverage
$durations
$errors
$exceptions
$failAssertions
$memoryUsages
$outputs
$passNumber
$runtimeExceptions
$skippedMethods
$uncompletedMethods
$voidMethods

Public Methods

Method Description
__construct ( mageekguy\atoum\score\coverage $coverage = null )
addDuration ( $file, $class, $method, $duration )
addError ( $file, $class, $method, $line, $type, $message, $errorFile = null, $errorLine = null, $case = null, $dataSetKey = null, $dataSetProvider = null )
addException ( $file, $class, $method, $line, exception $exception, $case = null, $dataSetKey = null, $dataSetProvider = null )
addFail ( $file, $class, $method, $line, $asserter, $reason, $case = null, $dataSetKey = null, $dataSetProvider = null )
addMemoryUsage ( $file, $class, $method, $memoryUsage )
addOutput ( $file, $class, $method, $output )
addPass ( )
addRuntimeException ( $file, $class, $method, exceptions\runtime $exception )
addSkippedMethod ( $file, $class, $method, $line, $message )
addUncompletedMethod ( $file, $class, $method, $exitCode, $output )
addVoidMethod ( $file, $class, $method )
deleteError ( $key )
errorExists ( $message = null, $type = null, $messageIsPattern = false )
failExists ( asserter\exception $exception )
getAssertionNumber ( )
getCoverage ( )
getDurationNumber ( )
getDurations ( )
getErrorNumber ( )
getErrors ( )
getExceptionNumber ( )
getExceptions ( )
getFailAssertions ( )
getFailNumber ( )
getLastErroredMethod ( )
getLastException ( )
getLastFailAssertion ( )
getLastRuntimeException ( )
getLastSkippedMethod ( )
getLastUncompleteMethod ( )
getLastVoidMethod ( )
getMemoryUsageNumber ( )
getMemoryUsages ( )
getMethodsNotCompleted ( )
getMethodsWithError ( )
getMethodsWithException ( )
getMethodsWithFail ( )
getOutputNumber ( )
getOutputs ( )
getPassNumber ( )
getRuntimeExceptionNumber ( )
getRuntimeExceptions ( )
getSkippedMethodNumber ( )
getSkippedMethods ( )
getTotalDuration ( )
getTotalMemoryUsage ( )
getUncompletedMethodNumber ( )
getUncompletedMethods ( )
getVoidMethodNumber ( )
getVoidMethods ( )
merge ( score $score )
reset ( )
setCoverage ( mageekguy\atoum\score\coverage $coverage = null )

Private Methods

Method Description
cleanAssertion ( array $assertion )
cleanAssertions ( array $assertions )
getMethods ( array $array )
sort ( array $array )

Method Details

__construct() public method

public __construct ( mageekguy\atoum\score\coverage $coverage = null )
$coverage mageekguy\atoum\score\coverage

addDuration() public method

public addDuration ( $file, $class, $method, $duration )

addError() public method

public addError ( $file, $class, $method, $line, $type, $message, $errorFile = null, $errorLine = null, $case = null, $dataSetKey = null, $dataSetProvider = null )

addException() public method

public addException ( $file, $class, $method, $line, exception $exception, $case = null, $dataSetKey = null, $dataSetProvider = null )
$exception exception

addFail() public method

public addFail ( $file, $class, $method, $line, $asserter, $reason, $case = null, $dataSetKey = null, $dataSetProvider = null )

addMemoryUsage() public method

public addMemoryUsage ( $file, $class, $method, $memoryUsage )

addOutput() public method

public addOutput ( $file, $class, $method, $output )

addPass() public method

public addPass ( )

addRuntimeException() public method

public addRuntimeException ( $file, $class, $method, exceptions\runtime $exception )
$exception exceptions\runtime

addSkippedMethod() public method

public addSkippedMethod ( $file, $class, $method, $line, $message )

addUncompletedMethod() public method

public addUncompletedMethod ( $file, $class, $method, $exitCode, $output )

addVoidMethod() public method

public addVoidMethod ( $file, $class, $method )

deleteError() public method

public deleteError ( $key )

errorExists() public method

public errorExists ( $message = null, $type = null, $messageIsPattern = false )

failExists() public method

public failExists ( asserter\exception $exception )
$exception asserter\exception

getAssertionNumber() public method

public getAssertionNumber ( )

getCoverage() public method

public getCoverage ( )

getDurationNumber() public method

public getDurationNumber ( )

getDurations() public method

public getDurations ( )

getErrorNumber() public method

public getErrorNumber ( )

getErrors() public method

public getErrors ( )

getExceptionNumber() public method

public getExceptionNumber ( )

getExceptions() public method

public getExceptions ( )

getFailAssertions() public method

public getFailAssertions ( )

getFailNumber() public method

public getFailNumber ( )

getLastErroredMethod() public method

getLastException() public method

public getLastException ( )

getLastFailAssertion() public method

getLastRuntimeException() public method

getLastSkippedMethod() public method

getLastUncompleteMethod() public method

getLastVoidMethod() public method

public getLastVoidMethod ( )

getMemoryUsageNumber() public method

getMemoryUsages() public method

public getMemoryUsages ( )

getMethodsNotCompleted() public method

getMethodsWithError() public method

public getMethodsWithError ( )

getMethodsWithException() public method

getMethodsWithFail() public method

public getMethodsWithFail ( )

getOutputNumber() public method

public getOutputNumber ( )

getOutputs() public method

public getOutputs ( )

getPassNumber() public method

public getPassNumber ( )

getRuntimeExceptionNumber() public method

getRuntimeExceptions() public method

getSkippedMethodNumber() public method

getSkippedMethods() public method

public getSkippedMethods ( )

getTotalDuration() public method

public getTotalDuration ( )

getTotalMemoryUsage() public method

public getTotalMemoryUsage ( )

getUncompletedMethodNumber() public method

getUncompletedMethods() public method

getVoidMethodNumber() public method

public getVoidMethodNumber ( )

getVoidMethods() public method

public getVoidMethods ( )

merge() public method

public merge ( score $score )
$score score

reset() public method

public reset ( )

setCoverage() public method

public setCoverage ( mageekguy\atoum\score\coverage $coverage = null )
$coverage mageekguy\atoum\score\coverage

Property Details

$coverage protected_oe property

protected $coverage

$durations protected_oe property

protected $durations

$errors protected_oe property

protected $errors

$exceptions protected_oe property

protected $exceptions

$failAssertions protected_oe property

protected $failAssertions

$memoryUsages protected_oe property

protected $memoryUsages

$outputs protected_oe property

protected $outputs

$passNumber protected_oe property

protected $passNumber

$runtimeExceptions protected_oe property

protected $runtimeExceptions

$skippedMethods protected_oe property

protected $skippedMethods

$uncompletedMethods protected_oe property

protected $uncompletedMethods

$voidMethods protected_oe property

protected $voidMethods