PHP Class Kraken\_Unit\Throwable\ThrowableTest

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
assertData ( mixed[] $data )
assertTrace ( string[] $elements )
createError ( string $message, Error | Exception | null $prev = null ) : Error
createException ( string $message, Error | Exception | null $prev = null ) : Exception
testStaticApiGetBasename_ReturnsThrowableBasename_ForError ( )
testStaticApiGetBasename_ReturnsThrowableBasename_ForException ( )
testStaticApiGetThrowableData_ReturnsData_ForError ( )
testStaticApiGetThrowableData_ReturnsData_ForException ( )
testStaticApiGetThrowableStack_ReturnsStack_ForError ( )
testStaticApiGetThrowableStack_ReturnsStack_ForException ( )
testStaticApiGetTraceElements_ReturnsTraceElements_ForError ( )
testStaticApiGetTraceElements_ReturnsTraceElements_ForException ( )
testStaticApiParseArgs_ParsesEachArgumentToString ( )
testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForError ( )
testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForException ( )
testStaticApiParseTraceElement_ParsesSingleTraceElement ( )
testStaticApiParseTraceElement_UsesPlaceholdersOnMissingParams ( )

Method Details

assertData() public méthode

public assertData ( mixed[] $data )
$data mixed[]

assertTrace() public méthode

public assertTrace ( string[] $elements )
$elements string[]

createError() public méthode

public createError ( string $message, Error | Exception | null $prev = null ) : Error
$message string
$prev Error | Exception | null
Résultat Kraken\Throwable\Error

createException() public méthode

public createException ( string $message, Error | Exception | null $prev = null ) : Exception
$message string
$prev Error | Exception | null
Résultat Kraken\Throwable\Exception

testStaticApiGetBasename_ReturnsThrowableBasename_ForError() public méthode

testStaticApiGetBasename_ReturnsThrowableBasename_ForException() public méthode

testStaticApiGetThrowableData_ReturnsData_ForError() public méthode

testStaticApiGetThrowableData_ReturnsData_ForException() public méthode

testStaticApiGetThrowableStack_ReturnsStack_ForError() public méthode

testStaticApiGetThrowableStack_ReturnsStack_ForException() public méthode

testStaticApiGetTraceElements_ReturnsTraceElements_ForError() public méthode

testStaticApiGetTraceElements_ReturnsTraceElements_ForException() public méthode

testStaticApiParseArgs_ParsesEachArgumentToString() public méthode

testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForError() public méthode

testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForException() public méthode

testStaticApiParseTraceElement_ParsesSingleTraceElement() public méthode

testStaticApiParseTraceElement_UsesPlaceholdersOnMissingParams() public méthode