PHP Class RedUNIT\Blackhole\Debug

Tests debugging functions and checks whether the output of the debugger displays the correct information.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Blackhole
显示文件 Open project: gabordemooij/redbean

Public Methods

Method Description
testDebug2InFacade ( ) Test facade fancyDebug function
testDebugger2 ( ) : void Tests debugging with parameters.
testDump ( ) : void Tests the bean dump function used to inspect the contents of a bean.

Private Methods

Method Description
testDebug ( string $query, mixed $bindings = NULL, string $expected ) : void Given a query, a set of bindings and an expected outcome, this method tests the result of the debugger.

Method Details

testDebug2InFacade() public method

Test facade fancyDebug function
public testDebug2InFacade ( )

testDebugger2() public method

Tests debugging with parameters.
public testDebugger2 ( ) : void
return void

testDump() public method

Tests the bean dump function used to inspect the contents of a bean.
public testDump ( ) : void
return void