메소드 | 설명 | |
---|---|---|
__construct ( string $namespace = false, string $indent = ' ' ) | Sets up indentation and namespace. | |
paintCaseEnd ( string $test_name ) | Paints the end of a test case. | |
paintCaseStart ( string $test_name ) | Paints the start of a test case. | |
paintError ( string $message ) | Paints error as XML. | |
paintException ( Exception $exception ) | Paints exception as XML. | |
paintFail ( string $message ) | Paints failure as XML. | |
paintFooter ( string $test_name ) | Paints the test document footer. | |
paintFormattedMessage ( string $message ) | Paints a formatted ASCII message such as a privateiable dump. | |
paintGroupEnd ( string $test_name ) | Paints the end of a group test. | |
paintGroupStart ( string $test_name, integer $size ) | Paints the start of a group test. | |
paintHeader ( string $test_name ) | Paints the test document header. | |
paintMessage ( string $message ) | Paints a simple supplementary message. | |
paintMethodEnd ( string $test_name ) | Paints the end of a test method. | |
paintMethodStart ( string $test_name ) | Paints the start of a test method. | |
paintPass ( string $message ) | Paints pass as XML. | |
paintSignal ( string $type, mixed $payload ) | Serialises the event object. | |
paintSkip ( string $message ) | Paints the skipping message and tag. | |
toParsedXml ( $text ) : string | Converts character string to parsed XML entities string. |
메소드 | 설명 | |
---|---|---|
getIndent ( integer $offset ) : string | Calculates the pretty printing indent level from the current level of nesting. |
public __construct ( string $namespace = false, string $indent = ' ' ) | ||
$namespace | string | Namespace to add to each tag. |
$indent | string | Indenting to add on each nesting. |
public paintCaseEnd ( string $test_name ) | ||
$test_name | string | Name of test that is ending. |
public paintCaseStart ( string $test_name ) | ||
$test_name | string | Name of test that is starting. |
public paintError ( string $message ) | ||
$message | string | Message to encode. |
public paintException ( Exception $exception ) | ||
$exception | Exception | Exception to encode. |
public paintFormattedMessage ( string $message ) | ||
$message | string | Text to display. |
public paintGroupEnd ( string $test_name ) | ||
$test_name | string | Name of test that is ending. |
public paintGroupStart ( string $test_name, integer $size ) | ||
$test_name | string | Name of test that is starting. |
$size | integer | Number of test cases starting. |
public paintHeader ( string $test_name ) | ||
$test_name | string | First test top level to start. |
public paintMessage ( string $message ) | ||
$message | string | Text to display. |
public paintMethodEnd ( string $test_name ) | ||
$test_name | string | Name of test that is ending. |
public paintMethodStart ( string $test_name ) | ||
$test_name | string | Name of test that is starting. |
public paintSignal ( string $type, mixed $payload ) | ||
$type | string | Event type as text. |
$payload | mixed | Message or object. |
public toParsedXml ( $text ) : string | ||
리턴 | string | Parsed character data. |