PHP 클래스 MyReporter, 68kb

@package SimpleTest
상속: extends SimpleReporter
파일 보기 프로젝트 열기: 68kb/68kb

보호된 프로퍼티들

프로퍼티 타입 설명
$_charset

공개 메소드들

메소드 설명
__construct ( $character_set = 'utf-8' )
_getCss ( ) : string Paints the CSS. Add additional styles here.
_htmlEntities ( string $message ) : string Character set adjusted entity conversion.
paintCaseEnd ( string $test_name ) Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
paintCaseStart ( string $test_name ) Paints the start of a test case. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
paintError ( string $message ) Paints a PHP error.
paintException ( Exception $exception ) Paints a PHP exception.
paintFail ( string $message ) Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
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 variables.
paintGroupEnd ( string $test_name ) Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
paintGroupStart ( string $test_name, integer $size ) Paints the start of a group test. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
paintHeader ( string $test_name ) Paints the top of the web page setting the title to the name of the starting test.
paintMethodEnd ( string $test_name ) Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
paintMethodStart ( string $test_name ) Paints the start of a test method.
paintPass ( $message )
paintSkip ( string $message ) Prints the message for skipping tests.
sendNoCacheHeaders ( ) Send the headers necessary to ensure the page is reloaded on every request. Otherwise you could be scratching your head over out of date test data.

메소드 상세

__construct() 공개 메소드

public __construct ( $character_set = 'utf-8' )

_getCss() 공개 메소드

@return string CSS code as text.
public _getCss ( ) : string
리턴 string

_htmlEntities() 공개 메소드

@param string $message Plain text or Unicode message.
public _htmlEntities ( string $message ) : string
$message string
리턴 string Browser readable message. @access protected

paintCaseEnd() 공개 메소드

@param string $test_name Name of test that is ending.
public paintCaseEnd ( string $test_name )
$test_name string

paintCaseStart() 공개 메소드

@param string $test_name Name of test that is starting.
public paintCaseStart ( string $test_name )
$test_name string

paintError() 공개 메소드

@param string $message Message is ignored.
public paintError ( string $message )
$message string

paintException() 공개 메소드

@param Exception $exception Exception to display.
public paintException ( Exception $exception )
$exception Exception

paintFail() 공개 메소드

@param string $message Failure message displayed in the context of the other tests.
public paintFail ( string $message )
$message string

paintFooter() 공개 메소드

@param string $test_name Name class of test.
public paintFooter ( string $test_name )
$test_name string

paintFormattedMessage() 공개 메소드

@param string $message Text to show.
public paintFormattedMessage ( string $message )
$message string

paintGroupEnd() 공개 메소드

@param string $test_name Name of test that is ending.
public paintGroupEnd ( string $test_name )
$test_name string

paintGroupStart() 공개 메소드

@param string $test_name Name of test that is starting.
public paintGroupStart ( string $test_name, integer $size )
$test_name string
$size integer Number of test cases starting. @access public

paintHeader() 공개 메소드

@param string $test_name Name class of test.
public paintHeader ( string $test_name )
$test_name string

paintMethodEnd() 공개 메소드

@param string $test_name Name of test that is ending.
public paintMethodEnd ( string $test_name )
$test_name string

paintMethodStart() 공개 메소드

@param string $test_name Name of test that is starting.
public paintMethodStart ( string $test_name )
$test_name string

paintPass() 공개 메소드

public paintPass ( $message )

paintSkip() 공개 메소드

@param string $message Text of skip condition.
public paintSkip ( string $message )
$message string

sendNoCacheHeaders() 공개 메소드

@access public
public sendNoCacheHeaders ( )

프로퍼티 상세

$_charset 보호되어 있는 프로퍼티

protected $_charset