PHP 클래스 lithium\tests\mocks\test\MockUnitTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

compare() 공개 메소드

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

expected() 공개 메소드

public expected ( )

handleException() 공개 메소드

public handleException ( $exception, $lineFlag = null )

prepareTestExpectExceptionNotThrown() 공개 메소드

This method is used in a test to prepare it.
또한 보기: lithium\tests\cases\test\UnitTest::testExpectExceptionNotThrown()

testNothing() 공개 메소드

public 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.
또한 보기: lithium\tests\cases\test\UnitTest::testAssertBacktraces()
public testSomething ( )