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

Class: PHPUnit2_Util_Log_TAP

Source Location: /PHPUnit2-3.0.0alpha11/Util/Log/TAP.php

Class Overview

PHPUnit2_Util_Printer
   |
   --PHPUnit2_Util_Log_TAP

A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 69]
A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).


[ Top ]


Method Detail

addError   [line 108]

void addError( PHPUnit2_Framework_Test $test, Exception $e)

An error occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addFailure   [line 120]

void addFailure( PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A failure occurred.
  • Access: public

Parameters:


[ Top ]

addIncompleteTest   [line 132]

void addIncompleteTest( PHPUnit2_Framework_Test $test, Exception $e)

Incomplete test.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addSkippedTest   [line 145]

void addSkippedTest( 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 209]

void endTest( PHPUnit2_Framework_Test $test)

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

endTestSuite   [line 180]

void endTestSuite( PHPUnit2_Framework_TestSuite $suite)

A testsuite ended.
  • Access: public

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]

flush   [line 88]

void flush( )

Flush buffer and close output.
  • Access: public

Overrides PHPUnit2_Util_Printer::flush() (Flush buffer and close output.)
[ Top ]

startTest   [line 197]

void startTest( PHPUnit2_Framework_Test $test)

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

startTestSuite   [line 163]

void startTestSuite( PHPUnit2_Framework_TestSuite $suite)

A testsuite started.
  • Access: public

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]


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