File/errors.php

Description

base include file for SimpleTest

Classes
Class Description
 class SimpleErrorTrappingInvoker Extension that traps errors into an error queue.
 class SimpleErrorQueue Error queue used to record trapped errors.
Includes
 require_once (dirname(__FILE__).'/invoker.php') (line 12)

Includes SimpleTest files.

 require_once (dirname(__FILE__).'/expectation.php') (line 14)

Includes SimpleTest files.

 require_once (dirname(__FILE__).'/test_case.php') (line 13)

Includes SimpleTest files.

Functions
IsNotCausedBySimpleTest (line 254)

Certain messages can be caused by the unit tester itself.

These have to be filtered.

  • return: True if genuine failure.
boolean IsNotCausedBySimpleTest (string $message)
  • string $message: Message to filter.
IsNotTimeZoneNag (line 264)

Certain messages caused by PHP are just noise.

These have to be filtered.

  • return: True if genuine failure.
boolean IsNotTimeZoneNag (string $message)
  • string $message: Message to filter.
SimpleTestErrorHandler (line 231)

Error handler that simply stashes any errors into the global error queue. Simulates the existing behaviour with respect to logging errors, but this feature may be removed in future.

  • access: public
void SimpleTestErrorHandler ($severity $severity, $message $message, [$filename $filename = null], [$line $line = null], [$super_globals $super_globals = null], [ $mask = null])
  • $severity $severity: PHP error code.
  • $message $message: Text of error.
  • $filename $filename: File error occoured in.
  • $line $line: Line number of error.
  • $super_globals $super_globals: Hash of PHP super global arrays.
  • $mask

Documentation generated on Sun, 31 Oct 2010 16:31:21 -0500 by phpDocumentor 1.4.3