[ Index ]

PHP Cross Reference of Web Application Component Toolkit

title

Body

[close]

/tests/lib/ -> cli_reporter.php (summary)

(no description)

Version: $Id: cli_reporter.php,v 1.4 2004/01/20 23:16:02 jon-bangoid Exp $
File Size: 97 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

clireporter:: (6 methods):
  clireporter()
  setfaildetailseparator()
  _painttestfaildetail()
  paintfail()
  paintexception()
  paintfooter()


Class: clireporter  - X-Ref

Minimal command line test displayer. Writes fail details to STDERR. Returns 0
to the shell if all tests pass, ST_FAILS_RETURN_CODE if any test fails.

clireporter($faildetail_separator = NULL)   X-Ref
No description

setfaildetailseparator($separator)   X-Ref
No description

_painttestfaildetail(&$message)   X-Ref
Return a formatted faildetail for printing.


paintfail($message)   X-Ref
Paint fail faildetail to STDERR.


paintexception($message)   X-Ref
Paint exception faildetail to STDERR.


paintfooter($test_name)   X-Ref
Paint a footer with test case name, timestamp, counts of fails and
exceptions.




Generated: Sun Nov 28 19:36:09 2004 Cross-referenced by PHPXref 0.5