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

File: ResultPrinter.php

Source Location: /PHPUnit2-3.0.0alpha11/TextUI/ResultPrinter.php

Classes:

PHPUnit2_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.

Page Details:

PHPUnit

Copyright (c) 2002-2006, Sebastian Bergmann <sb@sebastian-bergmann.de>. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of Sebastian Bergmann nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Includes:

require_once('PHPUnit2/Util/Filter.php') [line 50]
require_once('PHPUnit2/Framework.php') [line 49]
require_once('PHPUnit2/Util/Printer.php') [line 51]

addFailure [line 343]

void addFailure( mixed PHPUnit2_Framework_Test$test, mixed PHPUnit2_Framework_AssertionFailedError$e, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A failure occurred.
  • Access: public


Parameters

PHPUnit2_Framework_Test   $test  
PHPUnit2_Framework_AssertionFailedError   $e  
[ Top ]



addIncompleteTest [line 358]

void addIncompleteTest( mixed PHPUnit2_Framework_Test$test, mixed Exception$e, PHPUnit2_Framework_Test $test, Exception $e)

Incomplete test.
  • Access: public


Parameters

PHPUnit2_Framework_Test   $test  
Exception   $e  
[ Top ]



addSkippedTest [line 374]

void addSkippedTest( mixed PHPUnit2_Framework_Test$test, mixed Exception$e, PHPUnit2_Framework_Test $test, Exception $e)

Skipped test.
  • Since: Method available since Release 3.0.0
  • Access: public


Parameters

PHPUnit2_Framework_Test   $test  
Exception   $e  
[ Top ]



endTest [line 420]

void endTest( mixed PHPUnit2_Framework_Test$test, PHPUnit2_Framework_Test $test)

A test ended.
  • Access: public


Parameters

PHPUnit2_Framework_Test   $test  
[ Top ]



endTestSuite [line 400]

void endTestSuite( mixed PHPUnit2_Framework_TestSuite$suite, PHPUnit2_Framework_TestSuite $suite)

A testsuite ended.
  • Since: Method available since Release 2.2.0
  • Access: public


Parameters

PHPUnit2_Framework_TestSuite   $suite  
[ Top ]



getCountString [line 297]

string getCountString( integer $count, string $name)

  • Since: Method available since Release 3.0.0
  • Access: protected


Parameters

integer   $count  
string   $name  
[ Top ]



nextColumn [line 433]

void nextColumn( )

  • Access: protected


[ Top ]



printDefect [line 131]

void printDefect( mixed PHPUnit2_Framework_TestFailure$defect, integer $count, PHPUnit2_Framework_TestFailure $defect)

  • Access: protected


Parameters

PHPUnit2_Framework_TestFailure   $defect  
integer   $count  
[ Top ]



printDefectHeader [line 142]

void printDefectHeader( mixed PHPUnit2_Framework_TestFailure$defect, integer $count, PHPUnit2_Framework_TestFailure $defect)

  • Access: protected


Parameters

PHPUnit2_Framework_TestFailure   $defect  
integer   $count  
[ Top ]



printDefectTrace [line 165]

void printDefectTrace( mixed PHPUnit2_Framework_TestFailure$defect, PHPUnit2_Framework_TestFailure $defect)

  • Access: protected


Parameters

PHPUnit2_Framework_TestFailure   $defect  
[ Top ]



printErrors [line 189]

void printErrors( mixed PHPUnit2_Framework_TestResult$result, PHPUnit2_Framework_TestResult $result)

  • Access: protected


Parameters

PHPUnit2_Framework_TestResult   $result  
[ Top ]



printFailures [line 198]

void printFailures( mixed PHPUnit2_Framework_TestResult$result, PHPUnit2_Framework_TestResult $result)

  • Access: protected


Parameters

PHPUnit2_Framework_TestResult   $result  
[ Top ]



printFooter [line 244]

void printFooter( mixed PHPUnit2_Framework_TestResult$result, PHPUnit2_Framework_TestResult $result)

  • Access: protected


Parameters

PHPUnit2_Framework_TestResult   $result  
[ Top ]



printHeader [line 226]

void printHeader( float $timeElapsed)

  • Access: protected


Parameters

float   $timeElapsed  
[ Top ]



printIncompletes [line 207]

void printIncompletes( mixed PHPUnit2_Framework_TestResult$result, PHPUnit2_Framework_TestResult $result)

  • Access: protected


Parameters

PHPUnit2_Framework_TestResult   $result  
[ Top ]



printSkipped [line 217]

void printSkipped( mixed PHPUnit2_Framework_TestResult$result, PHPUnit2_Framework_TestResult $result)

  • Since: Method available since Release 3.0.0
  • Access: protected


Parameters

PHPUnit2_Framework_TestResult   $result  
[ Top ]



printWaitPrompt [line 316]

void printWaitPrompt( )

  • Access: public


[ Top ]



startTest [line 410]

void startTest( mixed PHPUnit2_Framework_Test$test, PHPUnit2_Framework_Test $test)

A test started.
  • Access: public


Parameters

PHPUnit2_Framework_Test   $test  
[ Top ]



startTestSuite [line 389]

void startTestSuite( mixed PHPUnit2_Framework_TestSuite$suite, PHPUnit2_Framework_TestSuite $suite)

A testsuite started.
  • Since: Method available since Release 2.2.0
  • Access: public


Parameters

PHPUnit2_Framework_TestSuite   $suite  
[ Top ]



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