|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | SimpleTest |
Functions | |
| simpletest_autorun () | |
| tests_have_run () | |
| initial_file () | |
| classes_defined_in_initial_file () | |
| capture_new_classes () | |
Variables | |
| $GLOBALS ['SIMPLETEST_AUTORUNNER_INITIAL_CLASSES'] = get_declared_classes() | |
Every class since the first autorun include. This is safe enough if require_once() is alwyas used.
Definition at line 81 of file autorun.php.

Just the classes from the first autorun script. May get a few false positives, as it just does a regex based on following the word "class".
Definition at line 69 of file autorun.php.


| initial_file | ( | ) |
The first autorun file.
Definition at line 54 of file autorun.php.

Exit handler to run all recent test cases if no test has so far been run. Uses the DefaultReporter which can have it's output controlled with SimpleTest::prefer().
Definition at line 21 of file autorun.php.

| tests_have_run | ( | ) |
Checks the current test context to see if a test has ever been run.
Definition at line 43 of file autorun.php.


| $GLOBALS['SIMPLETEST_AUTORUNNER_INITIAL_CLASSES'] = get_declared_classes() |
Definition at line 13 of file autorun.php.