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

Class: PHPUnit_GUI_HTML

Source Location: /PHPUnit-1.3.0/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 35]
HTML GUI.


[ Top ]


Method Detail

PHPUnit_GUI_HTML (Constructor)   [line 50]

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 64]

void addSuites( object this $suites)

Add suites to the GUI

Parameters:

object this   $suites   —  should be an instance of PHPUnit_TestSuite

[ Top ]

show   [line 73]

void show( )

this prints the HTML code straight out

[ Top ]


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