PHP Class mageekguy\atoum\asserters\adapter\call

Inheritance: extends mageekguy\atoum\asserter
Datei anzeigen Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$adapter
$afterCalls
$beforeCalls
$call
$identicalCall
$manager
$trace

Public Methods

Method 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 )

Protected Methods

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

Private Methods

Method Description
addAfterCall ( call $call )
addBeforeCall ( call $call )
addToManager ( )
removeFromManager ( )

Method Details

__construct() public method

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 method

public __get ( $property )

adapterIsSet() protected method

protected adapterIsSet ( )

after() public method

public after ( call $call )
$call call

atLeastOnce() public method

public atLeastOnce ( $failMessage = null )

before() public method

public before ( call $call )
$call call

callIsSet() protected method

protected callIsSet ( )

countBeforeAndAfterCalls() protected method

protected countBeforeAndAfterCalls ( )

disableEvaluationChecking() public method

exactly() public method

public exactly ( $number, $failMessage = null )

getAdapter() public method

public getAdapter ( )

getAfter() public method

public getAfter ( )

getArguments() public method

public getArguments ( )

getBefore() public method

public getBefore ( )

getCall() public method

public getCall ( )

getCalls() protected method

protected getCalls ( $call )

getCallsAsString() protected method

protected getCallsAsString ( )

getFunction() public method

public getFunction ( )

getLastAssertionFile() public method

getLastAssertionLine() public method

hasAfterCalls() protected method

protected hasAfterCalls ( $position )

hasPreviousCalls() protected method

protected hasPreviousCalls ( $position )

never() public method

public never ( $failMessage = null )

once() public method

public once ( $failMessage = null )

reset() public method

public reset ( )

setArguments() protected method

protected setArguments ( array $arguments )
$arguments array

setCall() public method

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

setFunction() protected method

protected setFunction ( $function )

setIdenticalArguments() protected method

protected setIdenticalArguments ( array $arguments )
$arguments array

setManager() public method

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

setTrace() protected method

protected setTrace ( )

setWith() public method

public setWith ( $adapter )

setWithTest() public method

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

thrice() public method

public thrice ( $failMessage = null )

twice() public method

public twice ( $failMessage = null )

unsetArguments() protected method

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