PHP Class Kraken\_Unit\Throwable\ExceptionTest

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

Public Methods

Method Description
assertStackString ( string $string )
assertStackTrace ( string[] $elements )
assertString ( $string )
assertThrowableString ( string $string )
assertThrowableTrace ( string[] $elements )
assertTrace ( mixed[] $data )
createException ( string $message, null $previous = null ) : Exception
testApiConstructor_ChainsExceptions ( )
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiToString_ReturnsExceptionStack ( )
testStaticApiToStackString_ReturnsStackTraceAsString ( )
testStaticApiToStackTrace_ReturnsStackTrace ( )
testStaticApiToString_ReturnsExceptionStack ( )
testStaticApiToThrowableString_ReturnsThrowableTraceAsString ( )
testStaticApiToThrowableTrace_ReturnsStackThrowable ( )
testStaticApiToTrace_ReturnsTrace ( )

Method Details

assertStackString() public method

public assertStackString ( string $string )
$string string

assertStackTrace() public method

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

assertString() public method

public assertString ( $string )

assertThrowableString() public method

public assertThrowableString ( string $string )
$string string

assertThrowableTrace() public method

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

assertTrace() public method

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

createException() public method

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

testApiConstructor_ChainsExceptions() public method

testApiConstructor_CreatesInstance() public method

testApiDestructor_DoesNotThrowException() public method

testApiToString_ReturnsExceptionStack() public method

testStaticApiToStackString_ReturnsStackTraceAsString() public method

testStaticApiToStackTrace_ReturnsStackTrace() public method

testStaticApiToString_ReturnsExceptionStack() public method

testStaticApiToThrowableString_ReturnsThrowableTraceAsString() public method

testStaticApiToThrowableTrace_ReturnsStackThrowable() public method

testStaticApiToTrace_ReturnsTrace() public method