Does nothing yet.
XmlReporter
XmlReporter
([mixed $namespace = false], [mixed $indent = ' '])
Paints the end of a test case.
void
paintCaseEnd
(string $test_name)
-
string
$test_name: Name of test that is ending.
Redefinition of:
- SimpleReporter::paintCaseEnd()
- Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
Paints the start of a test case.
void
paintCaseStart
(string $test_name)
-
string
$test_name: Name of test that is starting.
Redefinition of:
- SimpleReporter::paintCaseStart()
- 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.
Paints a PHP error or exception.
void
paintException
(string $message)
-
string
$message: Message is ignored.
Redefinition of:
- SimpleRunner::paintException()
- Deals with PHP 5 throwing an exception This isn't really implemented yet.
Increments the fail count.
void
paintFail
(string $message)
-
string
$message: Message is ignored.
Redefinition of:
- SimpleRunner::paintFail()
- Increments the fail count.
Paints the test document footer.
void
paintFooter
(string $test_name)
-
string
$test_name: The top level test.
Redefinition of:
- SimpleReporter::paintFooter()
- Paints the test document footer.
Paints a formatted ASCII message such as a variable dump.
void
paintFormattedMessage
(string $message)
-
string
$message: Text to display.
Redefinition of:
- SimpleRunner::paintFormattedMessage()
- Paints a formatted ASCII message such as a variable dump.
Paints the end of a group test.
void
paintGroupEnd
(string $test_name)
-
string
$test_name: Name of test that is ending.
Redefinition of:
- SimpleReporter::paintGroupEnd()
- Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
Paints the start of a group test.
void
paintGroupStart
(string $test_name, integer $size)
-
string
$test_name: Name of test that is starting.
-
integer
$size: Number of test cases starting.
Redefinition of:
- SimpleReporter::paintGroupStart()
- 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.
Paints the test document header.
void
paintHeader
(string $test_name)
-
string
$test_name: First test top level to start.
Redefinition of:
- SimpleReporter::paintHeader()
- Paints the test document header.
Paints a simple supplementary message.
void
paintMessage
(string $message)
-
string
$message: Text to display.
Redefinition of:
- SimpleRunner::paintMessage()
- Paints a simple supplementary message.
Paints the end of a test method.
void
paintMethodEnd
(string $test_name, integer $progress)
-
string
$test_name: Name of test that is ending.
-
integer
$progress: Number of test cases ending.
Redefinition of:
- SimpleReporter::paintMethodEnd()
- Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
Paints the start of a test method.
void
paintMethodStart
(string $test_name)
-
string
$test_name: Name of test that is starting.
Redefinition of:
- SimpleReporter::paintMethodStart()
- Paints the start of a test method.
Increments the pass count.
void
paintPass
(string $message)
-
string
$message: Message is ignored.
Redefinition of:
- SimpleRunner::paintPass()
- Increments the pass count.
Serialises the event object.
void
paintSignal
(string $type, mixed &$payload)
-
string
$type: Event type as text.
-
mixed
$payload: Message or object.
Redefinition of:
- SimpleRunner::paintSignal()
- By default just ignores user generated events.
Converts character string to parsed XML entities string.
string
toParsedXml
(string $text)
-
string
$text: text Unparsed character data.
Calculates the pretty printing indent level from the current level of nesting.
string
_getIndent
(integer $offset)
-
integer
$offset: Extra indenting level.
Inherited Methods
Inherited From SimpleReporter
SimpleReporter::SimpleReporter()
SimpleReporter::getTestCaseCount()
SimpleReporter::getTestCaseProgress()
SimpleReporter::getTestList()
SimpleReporter::inCli()
SimpleReporter::paintCaseEnd()
SimpleReporter::paintCaseStart()
SimpleReporter::paintFooter()
SimpleReporter::paintGroupEnd()
SimpleReporter::paintGroupStart()
SimpleReporter::paintHeader()
SimpleReporter::paintMethodEnd()
SimpleReporter::paintMethodStart()
Inherited From SimpleRunner
SimpleRunner::SimpleRunner()
SimpleRunner::getExceptionCount()
SimpleRunner::getFailCount()
SimpleRunner::getPassCount()
SimpleRunner::getStatus()
SimpleRunner::invoke()
SimpleRunner::makeDry()
SimpleRunner::paintCaseEnd()
SimpleRunner::paintCaseStart()
SimpleRunner::paintError()
SimpleRunner::paintException()
SimpleRunner::paintFail()
SimpleRunner::paintFormattedMessage()
SimpleRunner::paintGroupEnd()
SimpleRunner::paintGroupStart()
SimpleRunner::paintMessage()
SimpleRunner::paintMethodEnd()
SimpleRunner::paintMethodStart()
SimpleRunner::paintPass()
SimpleRunner::paintSignal()