Moodle  2.2.1
http://www.collinsharper.com
eventslib_test Class Reference
Inheritance diagram for eventslib_test:
Collaboration diagram for eventslib_test:

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')

Detailed Description

Definition at line 99 of file testeventslib.php.


Member Function Documentation

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.

Here is the call graph for this function:

tearDown ( )

Delete temporary entries from the database

Definition at line 121 of file testeventslib.php.

Here is the call graph for this function:

tests events_trigger_is_registered funtion()

Definition at line 170 of file testeventslib.php.

Here is the call graph for this function:

tests events_pending_count()

Definition at line 196 of file testeventslib.php.

Here is the call graph for this function:

tests events_trigger funtion()

Definition at line 186 of file testeventslib.php.

Here is the call graph for this function:

tests events_trigger funtion() when instant handler fails

Definition at line 206 of file testeventslib.php.

Here is the call graph for this function:

tests events_trigger funtion()

Definition at line 177 of file testeventslib.php.

Here is the call graph for this function:

Tests the installation of event handlers from file

Definition at line 128 of file testeventslib.php.

Here is the call graph for this function:

Tests the uninstallation of event handlers from file

Definition at line 141 of file testeventslib.php.

Here is the call graph for this function:

Tests the update of event handlers from file

Definition at line 151 of file testeventslib.php.

Here is the call graph for this function:


Field Documentation

$includecoverage = array('lib/eventslib.php') [static]

Definition at line 101 of file testeventslib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations