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

addError   [line 104]

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

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

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

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

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

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

endTestSuite   [line 199]

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

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

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

startTestSuite   [line 181]

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

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:37:36 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.