Class TreemapRecorder

Description

Collects SimpleReporter messages and constructs a TreemapNode graph.

Located in /extensions/treemap_reporter/treemap_recorder.php (line 21)

SimpleScorer
   |
   --SimpleReporter
      |
      --TreemapRecorder
Variable Summary
 mixed $_graph
 mixed $_stack
 mixed $_title
Method Summary
 TreemapRecorder TreemapRecorder ()
 void getGraph ()
 void getTitle ()
 void isComplete ()
 void paintCaseEnd ( $message)
 void paintCaseStart ( $message)
 void paintFail ( $message)
 void paintGroupEnd ( $message)
 void paintGroupStart ( $message,  $size)
 void paintHeader ( $title)
 void paintMethodEnd ( $message)
 void paintMethodStart ( $message)
 void paintPass ( $message)
Variables
mixed $_graph (line 22)
mixed $_stack (line 23)
mixed $_title (line 24)
Methods
Constructor TreemapRecorder (line 26)
TreemapRecorder TreemapRecorder ()
getGraph (line 36)

returns a reference to the root node of the

collected treemap graph

void getGraph ()
getTitle (line 50)

returns the title of the test

void getTitle ()
isComplete (line 43)

is this test run finished?

void isComplete ()
paintCaseEnd (line 132)

acceptor for end of test case

void paintCaseEnd ( $message)
  • $message

Redefinition of:
SimpleReporter::paintCaseEnd()
Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
paintCaseStart (line 76)

acceptor for start of test case node

void paintCaseStart ( $message)
  • $message

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.
paintFail (line 110)

acceptor for failing assertion node

void paintFail ( $message)
  • $message

Redefinition of:
SimpleScorer::paintFail()
Increments the fail count.
paintFormattedMessage (line 61)
void paintFormattedMessage ()

Redefinition of:
SimpleScorer::paintFormattedMessage()
Paints a formatted ASCII message such as a privateiable dump.
paintGroupEnd (line 145)

acceptor for end of test group. final group pops the collected treemap nodes and assigns it to the internal graph property.

void paintGroupEnd ( $message)
  • $message

Redefinition of:
SimpleReporter::paintGroupEnd()
Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
paintGroupStart (line 67)

acceptor for start of test group node

void paintGroupStart ( $message,  $size)
  • $message
  • $size

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.
paintHeader (line 57)

stashes the title of the test

void paintHeader ( $title)
  • $title

Redefinition of:
SimpleReporter::paintHeader()
Paints the test document header.
paintMethodEnd (line 121)

acceptor for end of method node

void paintMethodEnd ( $message)
  • $message

Redefinition of:
SimpleReporter::paintMethodEnd()
Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
paintMethodStart (line 85)

acceptor for start of test method node

void paintMethodStart ( $message)
  • $message

Redefinition of:
SimpleReporter::paintMethodStart()
Paints the start of a test method.
paintPass (line 94)

acceptor for passing assertion node

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 Sun, 31 Oct 2010 16:32:50 -0500 by phpDocumentor 1.4.3