PHP 클래스 TextReporter, simpletest

상속: extends SimpleReporter
파일 보기 프로젝트 열기: simpletest/simpletest 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Does nothing yet. The first output will be sent on the first test start.
paintError ( string $message ) Paints a PHP error or exception.
paintException ( Exception $exception ) Paints a PHP error or exception.
paintFail ( string $message ) Paints the test failure as a stack trace.
paintFooter ( string $test_name ) Paints the end of the test with a summary of the passes and failures.
paintFormattedMessage ( string $message ) Paints formatted text such as dumped privateiables.
paintHeader ( string $test_name ) Paints the title only.
paintSkip ( string $message ) Prints the message for skipping tests.

메소드 상세

__construct() 공개 메소드

Does nothing yet. The first output will be sent on the first test start.
public __construct ( )

paintError() 공개 메소드

Paints a PHP error or exception.
public paintError ( string $message )
$message string Message to be shown.

paintException() 공개 메소드

Paints a PHP error or exception.
public paintException ( Exception $exception )
$exception Exception Exception to describe.

paintFail() 공개 메소드

Paints the test failure as a stack trace.
public paintFail ( string $message )
$message string Failure message displayed in the context of the other tests.

paintFooter() 공개 메소드

Paints the end of the test with a summary of the passes and failures.
public paintFooter ( string $test_name )
$test_name string Name class of test.

paintFormattedMessage() 공개 메소드

Paints formatted text such as dumped privateiables.
public paintFormattedMessage ( string $message )
$message string Text to show.

paintHeader() 공개 메소드

Paints the title only.
public paintHeader ( string $test_name )
$test_name string Name class of test.

paintSkip() 공개 메소드

Prints the message for skipping tests.
public paintSkip ( string $message )
$message string Text of skip condition.