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

Class: PHPUnit_GUI_HTML

Source Location: /PHPUnit-1.3.2/PHPUnit/GUI/HTML.php

Class Overview


HTML GUI.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 61]
HTML GUI.


[ Top ]


Method Detail

PHPUnit_GUI_HTML (Constructor)   [line 76]

PHPUnit_GUI_HTML PHPUnit_GUI_HTML( [array $suites = array()])

the current implementation of PHPUnit is designed

this way that adding a suite to another suite only grabs all the tests and adds them to the suite, so you have no chance to find out which test goes with which suite therefore you can simply pass an array of suites to this constructor here


Parameters:

array   $suites     The suites to be tested. If not given, then you might be using the SetupDecorator, which detects them automatically when calling getSuitesFromDir()

[ Top ]

addSuites   [line 90]

void addSuites( object this $suites)

Add suites to the GUI

Parameters:

object this   $suites     should be an instance of PHPUnit_TestSuite

[ Top ]

show   [line 99]

void show( )

this prints the HTML code straight out

[ Top ]


Documentation generated on Thu, 10 Nov 2005 05:02:22 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.