PHP Class mageekguy\atoum\asserters\adapter\call

Inheritance: extends mageekguy\atoum\asserter
Afficher le fichier Open project: atoum/atoum Class Usage Examples

Protected Properties

Свойство Type Description
$adapter
$afterCalls
$beforeCalls
$call
$identicalCall
$manager
$trace

Méthodes publiques

Méthode Description
__construct ( mageekguy\atoum\asserter\generator $generator = null, mageekguy\atoum\tools\variable\analyzer $analyzer = null, mageekguy\atoum\locale $locale = null )
__get ( $property )
after ( call $call )
atLeastOnce ( $failMessage = null )
before ( call $call )
disableEvaluationChecking ( )
exactly ( $number, $failMessage = null )
getAdapter ( )
getAfter ( )
getArguments ( )
getBefore ( )
getCall ( )
getFunction ( )
getLastAssertionFile ( )
getLastAssertionLine ( )
never ( $failMessage = null )
once ( $failMessage = null )
reset ( )
setCall ( call $call = null )
setManager ( mageekguy\atoum\asserters\adapter\call\manager $manager )
setWith ( $adapter )
setWithTest ( test $test )
thrice ( $failMessage = null )
twice ( $failMessage = null )

Méthodes protégées

Méthode Description
adapterIsSet ( )
callIsSet ( )
countBeforeAndAfterCalls ( )
getCalls ( $call )
getCallsAsString ( )
hasAfterCalls ( $position )
hasPreviousCalls ( $position )
setArguments ( array $arguments )
setFunction ( $function )
setIdenticalArguments ( array $arguments )
setTrace ( )
unsetArguments ( )

Private Methods

Méthode Description
addAfterCall ( call $call )
addBeforeCall ( call $call )
addToManager ( )
removeFromManager ( )

Method Details

__construct() public méthode

public __construct ( mageekguy\atoum\asserter\generator $generator = null, mageekguy\atoum\tools\variable\analyzer $analyzer = null, mageekguy\atoum\locale $locale = null )
$generator mageekguy\atoum\asserter\generator
$analyzer mageekguy\atoum\tools\variable\analyzer
$locale mageekguy\atoum\locale

__get() public méthode

public __get ( $property )

adapterIsSet() protected méthode

protected adapterIsSet ( )

after() public méthode

public after ( call $call )
$call call

atLeastOnce() public méthode

public atLeastOnce ( $failMessage = null )

before() public méthode

public before ( call $call )
$call call

callIsSet() protected méthode

protected callIsSet ( )

countBeforeAndAfterCalls() protected méthode

protected countBeforeAndAfterCalls ( )

disableEvaluationChecking() public méthode

exactly() public méthode

public exactly ( $number, $failMessage = null )

getAdapter() public méthode

public getAdapter ( )

getAfter() public méthode

public getAfter ( )

getArguments() public méthode

public getArguments ( )

getBefore() public méthode

public getBefore ( )

getCall() public méthode

public getCall ( )

getCalls() protected méthode

protected getCalls ( $call )

getCallsAsString() protected méthode

protected getCallsAsString ( )

getFunction() public méthode

public getFunction ( )

getLastAssertionFile() public méthode

getLastAssertionLine() public méthode

hasAfterCalls() protected méthode

protected hasAfterCalls ( $position )

hasPreviousCalls() protected méthode

protected hasPreviousCalls ( $position )

never() public méthode

public never ( $failMessage = null )

once() public méthode

public once ( $failMessage = null )

reset() public méthode

public reset ( )

setArguments() protected méthode

protected setArguments ( array $arguments )
$arguments array

setCall() public méthode

public setCall ( call $call = null )
$call mageekguy\atoum\test\adapter\call

setFunction() protected méthode

protected setFunction ( $function )

setIdenticalArguments() protected méthode

protected setIdenticalArguments ( array $arguments )
$arguments array

setManager() public méthode

public setManager ( mageekguy\atoum\asserters\adapter\call\manager $manager )
$manager mageekguy\atoum\asserters\adapter\call\manager

setTrace() protected méthode

protected setTrace ( )

setWith() public méthode

public setWith ( $adapter )

setWithTest() public méthode

public setWithTest ( test $test )
$test mageekguy\atoum\test

thrice() public méthode

public thrice ( $failMessage = null )

twice() public méthode

public twice ( $failMessage = null )

unsetArguments() protected méthode

protected unsetArguments ( )

Property Details

$adapter protected_oe property

protected $adapter

$afterCalls protected_oe property

protected $afterCalls

$beforeCalls protected_oe property

protected $beforeCalls

$call protected_oe property

protected $call

$identicalCall protected_oe property

protected $identicalCall

$manager protected_oe property

protected $manager

$trace protected_oe property

protected $trace