PHP Class Kraken\_Unit\Throwable\ThrowableTest

Inheritance: extends Kraken\Test\TUnit
Datei anzeigen Open project: kraken-php/framework

Public Methods

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

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

assertTrace() public method

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

createError() public method

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

createException() public method

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

testStaticApiGetBasename_ReturnsThrowableBasename_ForError() public method

testStaticApiGetBasename_ReturnsThrowableBasename_ForException() public method

testStaticApiGetThrowableData_ReturnsData_ForError() public method

testStaticApiGetThrowableData_ReturnsData_ForException() public method

testStaticApiGetThrowableStack_ReturnsStack_ForError() public method

testStaticApiGetThrowableStack_ReturnsStack_ForException() public method

testStaticApiGetTraceElements_ReturnsTraceElements_ForError() public method

testStaticApiGetTraceElements_ReturnsTraceElements_ForException() public method

testStaticApiParseArgs_ParsesEachArgumentToString() public method

testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForError() public method

testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForException() public method

testStaticApiParseTraceElement_ParsesSingleTraceElement() public method

testStaticApiParseTraceElement_UsesPlaceholdersOnMissingParams() public method