PHP Класс lithium\tests\mocks\test\MockUnitTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 ( )