Class TreemapRecorder

Description

Collects SimpleReporter messages and constructs a TreemapNode graph.

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

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
Methods
Constructor TreemapRecorder (line 17)
TreemapRecorder TreemapRecorder ()
getGraph (line 27)

returns a reference to the root node of the

collected treemap graph

void getGraph ()
getTitle (line 41)

returns the title of the test

void getTitle ()
isComplete (line 34)

is this test run finished?

void isComplete ()
paintCaseEnd (line 123)

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 67)

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 101)

acceptor for failing assertion node

void paintFail ( $message)
  • $message

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

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

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 58)

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 48)

stashes the title of the test

void paintHeader ( $title)
  • $title

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

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 76)

acceptor for start of test method node

void paintMethodStart ( $message)
  • $message

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

acceptor for passing assertion node

void paintPass ( $message)
  • $message

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

Inherited Methods

Inherited From SimpleReporter

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

Documentation generated on Sun, 04 May 2008 09:22:20 -0500 by phpDocumentor 1.3.0