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

Class: PHPUnit2_Util_Report_Test_Node_Test

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

Class Overview

PHPUnit2_Util_Report_Test_Node
   |
   --PHPUnit2_Util_Report_Test_Node_Test

Represents a PHPUnit2_Framework_Test 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 68]
Represents a PHPUnit2_Framework_Test object in the test hierarchy.


[ Top ]


Class Variables

$coveredFiles =

[line 74]

  • Access: protected

Type:   array


[ Top ]

$object =

[line 80]

  • Access: protected



[ Top ]

$result =

[line 86]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 97]

PHPUnit2_Util_Report_Test_Node_Test __construct( string $name, PHPUnit2_Util_Report_Test_Node $parent, PHPUnit2_Framework_Test $object, mixed $result)

Constructor.
  • Access: public

Overrides PHPUnit2_Util_Report_Test_Node::__construct() (Constructor.)

Parameters:

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

[ Top ]

addCoveredFile   [line 113]

void addCoveredFile( PHPUnit2_Util_Report_Coverage_Node_File $file)

Adds a file that is covered by the test that is represented by this node.
  • Access: public

Parameters:


[ Top ]

getObject   [line 124]

PHPUnit2_Framework_Test getObject( )

Returns the PHPUnit2_Framework_Test object that is represented by this node.
  • Access: public

[ Top ]

getResult   [line 136]

mixed getResult( )

Returns the result of the PHPUnit2_Framework_Test object that is represented by this node.
  • Access: public

[ Top ]

render   [line 148]

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 ]


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