PHP Class lithium\tests\mocks\test\MockUnitTest

Inheritance: extends lithium\test\Unit
Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Public Methods

Method Description
compare ( $type, $expected, $result = null, $trace = null )
expected ( )
handleException ( $exception, $lineFlag = null )
prepareTestExpectExceptionNotThrown ( ) This method is used in a test to prepare it.
testNothing ( )
testSomething ( ) This method is used in a test and is *line sensitive*. The corresponding test's expectations needs to be adapted if the line of the assert() call changes.

Method Details

compare() public method

public compare ( $type, $expected, $result = null, $trace = null )

expected() public method

public expected ( )

handleException() public method

public handleException ( $exception, $lineFlag = null )

prepareTestExpectExceptionNotThrown() public method

This method is used in a test to prepare it.
See also: lithium\tests\cases\test\UnitTest::testExpectExceptionNotThrown()

testNothing() public method

public testNothing ( )

testSomething() public method

This method is used in a test and is *line sensitive*. The corresponding test's expectations needs to be adapted if the line of the assert() call changes.
See also: lithium\tests\cases\test\UnitTest::testAssertBacktraces()
public testSomething ( )