Class Recorder

Description

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

This code is made available under the same terms as SimpleTest. It is based off of code that Rene vd O originally published in patch [ 1594212 ] on the SimpleTest patches tracker.

  • author: Rene vd O (original code)
  • author: Perrick Penet

Located in /extensions/recorder.php (line 27)

SimpleScorer
   |
   --SimpleReporter
      |
      --Recorder
Variable Summary
 mixed $results
Method Summary
 Recorder __construct ()
 void paintFail ( $message)
 void paintPass ( $message)
Variables
mixed $results (line 28)
Methods
Constructor __construct (line 30)
Recorder __construct ()

Redefinition of:
SimpleReporter::__construct()
Starts the display with no results in.
paintFail (line 48)
void paintFail ( $message)
  • $message

Redefinition of:
SimpleScorer::paintFail()
Increments the fail count.
paintPass (line 35)
void paintPass ( $message)
  • $message

Redefinition of:
SimpleScorer::paintPass()
Increments the pass count.

Inherited Methods

Inherited From SimpleReporter

 SimpleReporter::__construct()
 SimpleReporter::getDumper()
 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 SimpleScorer

 SimpleScorer::__construct()
 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()

Documentation generated on Thu, 01 Oct 2009 20:55:33 -0500 by phpDocumentor 1.4.2