Class Recorder

Description

Array-based test recorder. Returns an array with timestamp, status, test name and message for each pass and failure.

Located in /recorder.php (line 65)

SimpleReporterDecorator
   |
   --Recorder
Variable Summary
 mixed $results
Method Summary
 void paintException (string $message)
 void paintFail (string $message)
 void paintPass (string $message)
Variables
mixed $results = array() (line 66)
  • access: public

Inherited Variables

Inherited from SimpleReporterDecorator

SimpleReporterDecorator::$reporter
Methods
paintException (line 96)

Stashes the exception as a SimpleResultOfException for later retrieval.

void paintException (string $message)
  • string $message: Exception message to be displayed eventually.

Redefinition of:
SimpleReporterDecorator::paintException()
Chains to the wrapped reporter.
paintFail (line 85)

Stashes the fail as a SimpleResultOfFail for later retrieval.

void paintFail (string $message)
  • string $message: Failure message to be displayed eventually.

Redefinition of:
SimpleReporterDecorator::paintFail()
Chains to the wrapped reporter.
paintPass (line 74)

Stashes the pass as a SimpleResultOfPass for later retrieval.

void paintPass (string $message)
  • string $message: Pass message to be displayed eventually.

Redefinition of:
SimpleReporterDecorator::paintPass()
Chains to the wrapped reporter.

Inherited Methods

Inherited From SimpleReporterDecorator

 SimpleReporterDecorator::__construct()
 SimpleReporterDecorator::createInvoker()
 SimpleReporterDecorator::getDumper()
 SimpleReporterDecorator::getStatus()
 SimpleReporterDecorator::getTestList()
 SimpleReporterDecorator::makeDry()
 SimpleReporterDecorator::paintCaseEnd()
 SimpleReporterDecorator::paintCaseStart()
 SimpleReporterDecorator::paintError()
 SimpleReporterDecorator::paintException()
 SimpleReporterDecorator::paintFail()
 SimpleReporterDecorator::paintFormattedMessage()
 SimpleReporterDecorator::paintGroupEnd()
 SimpleReporterDecorator::paintGroupStart()
 SimpleReporterDecorator::paintMessage()
 SimpleReporterDecorator::paintMethodEnd()
 SimpleReporterDecorator::paintMethodStart()
 SimpleReporterDecorator::paintPass()
 SimpleReporterDecorator::paintSignal()
 SimpleReporterDecorator::paintSkip()
 SimpleReporterDecorator::shouldInvoke()

Documentation generated on Sun, 31 Oct 2010 16:32:07 -0500 by phpDocumentor 1.4.3