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

Class: PHPUnit2_Util_Log_PEAR

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

Class Overview


A TestListener that logs to a PEAR_Log sink.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
A TestListener that logs to a PEAR_Log sink.


[ Top ]


Method Detail

__construct (Constructor)   [line 92]

PHPUnit2_Util_Log_PEAR __construct( string $type, [string $name = ''], [string $ident = ''], [array $conf = array()], [int $maxLevel = PEAR_LOG_DEBUG])

  • Access: public

Parameters:

string   $type   —  The type of concrete Log subclass to use. Currently, valid values are 'console', 'syslog', 'sql', 'file', and 'mcal'.
string   $name   —  The name of the actually log file, table, or other specific store to use. Defaults to an empty string, with which the subclass will attempt to do something intelligent.
string   $ident   —  The identity reported to the log system.
array   $conf   —  A hash containing any additional configuration information that a subclass might need.
int   $maxLevel   —  Maximum priority level at which to log.

[ Top ]

addError   [line 104]

void addError( PHPUnit2_Framework_Test $test, Exception $e)

An error occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addFailure   [line 123]

void addFailure( PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A failure occurred.
  • Access: public

Parameters:


[ Top ]

addIncompleteTest   [line 142]

void addIncompleteTest( PHPUnit2_Framework_Test $test, Exception $e)

Incomplete test.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addSkippedTest   [line 162]

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

void endTest( PHPUnit2_Framework_Test $test)

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

endTestSuite   [line 199]

void endTestSuite( PHPUnit2_Framework_TestSuite $suite)

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

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]

startTest   [line 216]

void startTest( PHPUnit2_Framework_Test $test)

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

startTestSuite   [line 181]

void startTestSuite( PHPUnit2_Framework_TestSuite $suite)

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

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]


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