|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| SimpleStackTrace ($prefixes) | |
| traceMethod ($stack=false) | |
| _frameLiesWithinSimpleTestFolder ($frame) | |
| _frameMatchesPrefix ($frame) | |
| _captureTrace () | |
Data Fields | |
| $_prefixes | |
Definition at line 342 of file simpletest.php.
| _captureTrace | ( | ) |
Grabs a current stack trace.
Definition at line 413 of file simpletest.php.

| _frameLiesWithinSimpleTestFolder | ( | $ | frame | ) |
Test to see if error is generated by SimpleTest itself.
| array | $frame | PHP stack frame. |
Definition at line 381 of file simpletest.php.

| _frameMatchesPrefix | ( | $ | frame | ) |
Tries to determine if the method call is an assert, etc.
| array | $frame | PHP stack frame. |
Definition at line 399 of file simpletest.php.

| SimpleStackTrace | ( | $ | prefixes | ) |
Stashes the list of target prefixes.
| array | $prefixes | List of method prefixes to search for. |
Definition at line 350 of file simpletest.php.
| traceMethod | ( | $ | stack = false | ) |
Extracts the last method name that was not within Simpletest itself. Captures a stack trace if none given.
| array | $stack | List of stack frames. |
Definition at line 362 of file simpletest.php.

| $_prefixes |
Definition at line 343 of file simpletest.php.