PHP Class mageekguy\atoum\score

Afficher le fichier Open project: atoum/atoum Class Usage Examples

Protected Properties

Свойство Type Description
$coverage
$durations
$errors
$exceptions
$failAssertions
$memoryUsages
$outputs
$passNumber
$runtimeExceptions
$skippedMethods
$uncompletedMethods
$voidMethods

Méthodes publiques

Méthode 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

Méthode Description
cleanAssertion ( array $assertion )
cleanAssertions ( array $assertions )
getMethods ( array $array )
sort ( array $array )

Method Details

__construct() public méthode

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

addDuration() public méthode

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

addError() public méthode

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

addException() public méthode

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

addFail() public méthode

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

addMemoryUsage() public méthode

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

addOutput() public méthode

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

addPass() public méthode

public addPass ( )

addRuntimeException() public méthode

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

addSkippedMethod() public méthode

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

addUncompletedMethod() public méthode

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

addVoidMethod() public méthode

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

deleteError() public méthode

public deleteError ( $key )

errorExists() public méthode

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

failExists() public méthode

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

getAssertionNumber() public méthode

public getAssertionNumber ( )

getCoverage() public méthode

public getCoverage ( )

getDurationNumber() public méthode

public getDurationNumber ( )

getDurations() public méthode

public getDurations ( )

getErrorNumber() public méthode

public getErrorNumber ( )

getErrors() public méthode

public getErrors ( )

getExceptionNumber() public méthode

public getExceptionNumber ( )

getExceptions() public méthode

public getExceptions ( )

getFailAssertions() public méthode

public getFailAssertions ( )

getFailNumber() public méthode

public getFailNumber ( )

getLastErroredMethod() public méthode

getLastException() public méthode

public getLastException ( )

getLastFailAssertion() public méthode

getLastRuntimeException() public méthode

getLastSkippedMethod() public méthode

getLastUncompleteMethod() public méthode

getLastVoidMethod() public méthode

public getLastVoidMethod ( )

getMemoryUsageNumber() public méthode

getMemoryUsages() public méthode

public getMemoryUsages ( )

getMethodsNotCompleted() public méthode

getMethodsWithError() public méthode

public getMethodsWithError ( )

getMethodsWithException() public méthode

getMethodsWithFail() public méthode

public getMethodsWithFail ( )

getOutputNumber() public méthode

public getOutputNumber ( )

getOutputs() public méthode

public getOutputs ( )

getPassNumber() public méthode

public getPassNumber ( )

getRuntimeExceptionNumber() public méthode

getRuntimeExceptions() public méthode

getSkippedMethodNumber() public méthode

getSkippedMethods() public méthode

public getSkippedMethods ( )

getTotalDuration() public méthode

public getTotalDuration ( )

getTotalMemoryUsage() public méthode

public getTotalMemoryUsage ( )

getUncompletedMethodNumber() public méthode

getUncompletedMethods() public méthode

getVoidMethodNumber() public méthode

public getVoidMethodNumber ( )

getVoidMethods() public méthode

public getVoidMethods ( )

merge() public méthode

public merge ( score $score )
$score score

reset() public méthode

public reset ( )

setCoverage() public méthode

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