Class SimpleStackTrace

Description

Interrogates the stack trace to recover the failure point.

Located in /simpletest.php (line 329)


	
			
Variable Summary
 mixed $_prefixes
Method Summary
 SimpleStackTrace SimpleStackTrace (array $prefixes)
 string traceMethod ([array $stack = false])
Variables
mixed $_prefixes (line 330)
Methods
Constructor SimpleStackTrace (line 337)

Stashes the list of target prefixes.

SimpleStackTrace SimpleStackTrace (array $prefixes)
  • array $prefixes: List of method prefixes to search for.
traceMethod (line 349)

Extracts the last method name that was not within Simpletest itself. Captures a stack trace if none given.

  • return: Snippet of test report with line number and file.
  • access: public
string traceMethod ([array $stack = false])
  • array $stack: List of stack frames.

Documentation generated on Sun, 04 May 2008 09:22:09 -0500 by phpDocumentor 1.3.0