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

Class: PHPUnit2_Util_Report_Test_Node

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

Class Overview


Base class for nodes in the test information tree.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Variables

Methods


Child classes:

PHPUnit2_Util_Report_Test_Node_Test
Represents a PHPUnit2_Framework_Test object in the test hierarchy.
PHPUnit2_Util_Report_Test_Node_TestSuite
Represents a PHPUnit2_Framework_TestSuite object in the test hierarchy.

Inherited Variables

Inherited Methods


Class Details

[line 67]
Base class for nodes in the test information tree.


[ Top ]


Class Variables

$name =

[line 73]

  • Access: protected

Type:   string


[ Top ]

$parent =

[line 79]

  • Access: protected

Type:   PHPUnit2_Util_Test_Node


[ Top ]



Method Detail

__construct (Constructor)   [line 88]

PHPUnit2_Util_Report_Test_Node __construct( string $name, [PHPUnit2_Util_Report_Test_Node $parent = NULL])

Constructor.
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Test_Node_Test::__construct()
Constructor.

Parameters:

string   $name   — 
PHPUnit2_Util_Test_Node   $parent   — 

[ Top ]

getLink   [line 117]

string getLink( [boolean $full = FALSE])

Returns this node's link.
  • Access: public

Parameters:

boolean   $full   — 

[ Top ]

getName   [line 101]

mixed getName( [boolean $includeParent = FALSE])

Returns this node's name.
  • Access: public

Parameters:

boolean   $includeParent   — 

[ Top ]

render   [line 170]

void render( string $target, string $title)

Renders this node.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Test_Node_Test::render()
Renders this node.
PHPUnit2_Util_Report_Test_Node_TestSuite::render()
Renders this node.

Parameters:

string   $target   — 
string   $title   — 

[ Top ]

setTemplateVars   [line 142]

void setTemplateVars( PHPUnit2_Util_Template $template, string $title)

  • Access: protected

Parameters:

PHPUnit2_Util_Template   $template   — 
string   $title   — 

[ Top ]


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