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

Class: PHPUnit2_TextUI_TestRunner

Source Location: /PHPUnit2-2.0.3/TextUI/TestRunner.php

Class Overview

PHPUnit2_Runner_BaseTestRunner
   |
   --PHPUnit2_TextUI_TestRunner

A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.


Author(s):

Copyright:

  • Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.


[ Top ]


Method Detail

createTestResult   [line 189]

PHPUnit2_Framework_TestResult createTestResult( )

  • Access: protected

[ Top ]

doRun   [line 202]

PHPUnit2_Framework_TestResult doRun( mixed PHPUnit2_Framework_Test$suite, [boolean $wait = false], PHPUnit2_Framework_Test $suite)

  • Access: public

Parameters:

PHPUnit2_Framework_Test   $suite     
boolean   $wait     

[ Top ]

main   [line 65]

void main( )

  • Static: This method can be called statically
  • Access: public

[ Top ]

pause   [line 259]

void pause( boolean $wait)

  • Access: protected

Parameters:

boolean   $wait     

[ Top ]

run   [line 157]

void run( mixed $test)

  • Static: This method can be called statically
  • Access: public

Parameters:

mixed   $test     

[ Top ]

runAndWait   [line 177]

void runAndWait( mixed PHPUnit2_Framework_Test$suite, PHPUnit2_Framework_Test $suite)

  • Static: This method can be called statically
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $suite     

[ Top ]

runFailed   [line 317]

void runFailed( string $message)

Override to define how to handle a failed loading of a test suite.
  • Access: protected

Parameters:

string   $message     

[ Top ]

setPrinter   [line 329]

void setPrinter( mixed PHPUnit2_TextUI_ResultPrinter$resultPrinter, PHPUnit2_TextUI_ResultPrinter $resultPrinter)

  • Access: public

Parameters:

PHPUnit2_TextUI_ResultPrinter   $resultPrinter     

[ Top ]

showHelp   [line 244]

void showHelp( )

  • Access: public

[ Top ]

start   [line 91]

void start( array $arguments)

  • Access: protected

Parameters:

array   $arguments     

[ Top ]

testEnded   [line 278]

void testEnded( string $testName)

A test ended.
  • Access: public

Overrides PHPUnit2_Runner_BaseTestRunner::testEnded() (A test ended.)

Parameters:

string   $testName     

[ Top ]

testFailed   [line 292]

void testFailed( integer $status, mixed PHPUnit2_Framework_Test$test, mixed PHPUnit2_Framework_AssertionFailedError$e, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A test failed.
  • Access: public

Parameters:

integer   $status     
PHPUnit2_Framework_Test   $test     
PHPUnit2_Framework_AssertionFailedError   $e     

[ Top ]

testStarted   [line 304]

void testStarted( string $testName)

A test started.
  • Access: public

Parameters:

string   $testName     

[ Top ]


Documentation generated on Mon, 27 Sep 2004 04:10:34 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.