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

Class: PHPUnit2_Util_Log_PEAR

Source Location: /PHPUnit2-2.3.6/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 65]
A TestListener that logs to a PEAR_Log sink.


[ Top ]


Method Detail

addError   [line 99]

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

An error occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     
Exception   $e     

[ Top ]

addFailure   [line 117]

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

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 ]

endTest   [line 202]

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

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

endTestSuite   [line 170]

void endTestSuite( mixed PHPUnit2_Framework_TestSuite$suite, 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 186]

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

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

startTestSuite   [line 153]

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

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

Parameters:

PHPUnit2_Framework_TestSuite   $suite     

[ Top ]

__construct   [line 88]

void __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 ]


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