PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Util_Report_Test_Node_TestSuite

Source Location: /PHPUnit2-3.0.0alpha11/Util/Report/Test/Node/TestSuite.php

Class Overview

PHPUnit2_Util_Report_Test_Node
   |
   --PHPUnit2_Util_Report_Test_Node_TestSuite

Represents a PHPUnit2_Framework_TestSuite object in the test hierarchy.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 72]
Represents a PHPUnit2_Framework_TestSuite object in the test hierarchy.


[ Top ]


Class Variables

$children = array()

[line 78]

  • Access: protected

Type:   PHPUnit2_Util_Report_Test_Node[]


[ Top ]

$suites = array()

[line 84]

  • Access: protected

Type:   PHPUnit2_Util_Report_Test_Node_TestSuite[]


[ Top ]

$tests = array()

[line 90]

  • Access: protected

Type:   PHPUnit2_Util_Report_Test_Node_Test[]


[ Top ]



Method Detail

addTest   [line 117]

void addTest( string $name, PHPUnit2_Framework_Test $object, mixed $result)

Adds a new test.
  • Access: public

Parameters:

string   $name   — 
PHPUnit2_Framework_Test   $object   — 
mixed   $result   — 

[ Top ]

addTestSuite   [line 99]

PHPUnit2_Util_Report_Test_Node_TestSuite addTestSuite( string $name)

Adds a new test suite.
  • Access: public

Parameters:

string   $name   — 

[ Top ]

doRender   [line 176]

void doRender( string $target, $title)

  • Access: protected

Parameters:

string   $target   — 
   $title   — 

[ Top ]

lookupTest   [line 133]

PHPUnit2_Util_Report_Test_Node_Test lookupTest( PHPUnit2_Framework_Test $test)

Returns the corresponding PHPUnit2_Util_Report_Test_Node_Test object for a given PHPUnit2_Framework_Test object.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

render   [line 163]

void render( string $target, string $title)

Renders this node.
  • Access: public

Overrides PHPUnit2_Util_Report_Test_Node::render() (Renders this node.)

Parameters:

string   $target   — 
string   $title   — 

[ Top ]

renderItems   [line 208]

string renderItems( )

  • Access: protected

[ Top ]

setGraphVizTemplateVars   [line 289]

void setGraphVizTemplateVars( PHPUnit2_Util_Template $template, string $target)

  • Access: protected

Parameters:

PHPUnit2_Util_Template   $template   — 
string   $target   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.