Reporter to be run inside of Eclipse interface.
EclipseReporter
EclipseReporter
( &$listener, [boolean $cc = false], object $listener)
-
object
$listener: Eclipse listener (?).
-
boolean
$cc: Whether to include test coverage.
-
&$listener
Localhost connection from Eclipse.
SimpleSocket
&createListener
(
integer $port, [
string $host =
"127.0.0.1"])
-
integer
$port: Port to connect to Eclipse.
-
string
$host: Normally localhost.
C style escaping.
string
escapeVal
(string $raw)
-
string
$raw: String with backslashes, quotes and whitespace.
Means to display human readable object comparisons.
Drops the name.
void
paintCaseEnd
( $case, string $test_name)
-
string
$test_name: Name of test or other label.
-
$case
Redefinition of:
- SimpleScorer::paintCaseEnd()
- Paints the end of a test case.
Stashes the test case name for the later failure message.
void
paintCaseStart
( $case, string $test_name)
-
string
$test_name: Name of test or other label.
-
$case
Redefinition of:
- SimpleScorer::paintCaseStart()
- Paints the start of a test case.
Stash the first error. Clicking the test item goes to first error.
void
paintError
(string $message)
-
string
$message: Test message, but we only wnat the first.
Redefinition of:
- SimpleScorer::paintError()
- Deals with PHP 4 throwing an error.
Stash the first exception. Clicking the test item goes to first message.
void
paintException
( $exception, string $message)
-
string
$message: Test message, but we only wnat the first.
-
$exception
Redefinition of:
- SimpleScorer::paintException()
- Deals with PHP 5 throwing an exception.
Stash the first failing item. Clicking the test item goes to first fail.
void
paintFail
(string $message)
-
string
$message: Test message, but we only wnat the first.
Redefinition of:
- SimpleScorer::paintFail()
- Increments the fail count.
We don't display any special footer.
void
paintFooter
(string $test_name)
-
string
$test_name: The top level test.
Paints coverage report if enabled.
void
paintGroupEnd
(string $group)
-
string
$group: Name of test or other label.
Redefinition of:
- SimpleScorer::paintGroupEnd()
- Paints the end of a group test.
Stashes the name of the test suite. Starts test coverage if enabled.
void
paintGroupStart
(string $group, integer $size)
-
string
$group: Name of test or other label.
-
integer
$size: Number of test cases starting.
Redefinition of:
- SimpleScorer::paintGroupStart()
- Paints the start of a group test.
We don't display any special header.
void
paintHeader
(string $test_name)
-
string
$test_name: First test top level to start.
Only send one message if the test passes, after that suppress the message.
void
paintMethodEnd
( $method, string $test_name)
-
string
$test_name: Name of test that is ending.
-
$method
Redefinition of:
- SimpleScorer::paintMethodEnd()
- Paints the end of a test method.
Paints nothing at the start of a test method, but stash the method name for later.
void
paintMethodStart
( $method, string $test_name)
-
string
$test_name: Name of test that is starting.
-
$method
Redefinition of:
- SimpleScorer::paintMethodStart()
- Paints the start of a test method.
Stash the first passing item. Clicking the test item goes to first pass.
void
paintPass
(string $message)
-
string
$message: Test message, but we only wnat the first.
Redefinition of:
- SimpleScorer::paintPass()
- Increments the pass count.
Inherited Methods
Inherited From SimpleScorer
SimpleScorer::SimpleScorer()
SimpleScorer::createInvoker()
SimpleScorer::getExceptionCount()
SimpleScorer::getFailCount()
SimpleScorer::getPassCount()
SimpleScorer::getStatus()
SimpleScorer::makeDry()
SimpleScorer::paintCaseEnd()
SimpleScorer::paintCaseStart()
SimpleScorer::paintError()
SimpleScorer::paintException()
SimpleScorer::paintFail()
SimpleScorer::paintFormattedMessage()
SimpleScorer::paintGroupEnd()
SimpleScorer::paintGroupStart()
SimpleScorer::paintMessage()
SimpleScorer::paintMethodEnd()
SimpleScorer::paintMethodStart()
SimpleScorer::paintPass()
SimpleScorer::paintSignal()
SimpleScorer::paintSkip()
SimpleScorer::shouldInvoke()