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>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
Represents a PHPUnit2_Framework_Test object in the test hierarchy.


[ Top ]


Method Detail

addCoveredFile   [line 113]

void addCoveredFile( mixed PHPUnit2_Util_Report_Coverage_Node_File$file, 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 ]

__construct   [line 97]

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

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 ]


Documentation generated on Tue, 12 Sep 2006 09:37:53 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.