|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| setUp () | |
| tearDown () | |
| test__events_update_definition__install () | |
| test__events_update_definition__uninstall () | |
| test__events_update_definition__update () | |
| test__events_is_registered () | |
| test__events_trigger__instant () | |
| test__events_trigger__cron () | |
| test__events_pending_count () | |
| test__events_trigger__failed_instant () | |
Static Public Attributes | |
| static | $includecoverage = array('lib/eventslib.php') |
Definition at line 99 of file testeventslib.php.
| setUp | ( | ) |
Create temporary entries in the database for these tests. These tests have to work no matter the data currently in the database (meaning they should run on a brand new site). This means several items of data have to be artificially inseminated (:-) in the DB.
Definition at line 109 of file testeventslib.php.

| tearDown | ( | ) |
Delete temporary entries from the database
Definition at line 121 of file testeventslib.php.

tests events_trigger_is_registered funtion()
Definition at line 170 of file testeventslib.php.

tests events_pending_count()
Definition at line 196 of file testeventslib.php.

tests events_trigger funtion()
Definition at line 186 of file testeventslib.php.

tests events_trigger funtion() when instant handler fails
Definition at line 206 of file testeventslib.php.

tests events_trigger funtion()
Definition at line 177 of file testeventslib.php.

Tests the installation of event handlers from file
Definition at line 128 of file testeventslib.php.

Tests the uninstallation of event handlers from file
Definition at line 141 of file testeventslib.php.

Tests the update of event handlers from file
Definition at line 151 of file testeventslib.php.

$includecoverage = array('lib/eventslib.php') [static] |
Definition at line 101 of file testeventslib.php.