Commit Graph

19 Commits

Author SHA1 Message Date
Petr Skoda 650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
tjhunt 6db66ba11c Disable the bloody eventslib unit tests until someone fixes them! 2009-04-24 09:49:43 +00:00
skodak 760ab567d0 MDL-16483 - partial unbreaking of eventlsib test 2009-01-10 13:54:11 +00:00
skodak 58fa5d6f75 MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
skodak beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
nicolasconnault b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
nicolasconnault 7399a49d44 MDL-14081 fixed error in eventslib unit tests 2008-09-06 11:22:30 +00:00
skodak 245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +00:00
skodak 50c5bef452 MDL-14679 towards enrol conversion 2008-06-02 21:02:52 +00:00
dongsheng 2f137aa130 "MDL-14129, fix print_error" 2008-05-20 02:53:46 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak cdbbd26f80 MDL-10064 global $CFG in unit test files is non standard, it is recommended to use MOODLE_INTERNAL test in all library files 2007-06-09 16:32:36 +00:00
skodak 52f81103d3 MDL-10063 simpletestlib.php included from majority of unit tests - let's include it once from the test runner itself 2007-06-09 16:17:33 +00:00
nicolasconnault de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
skodak d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
toyomoyo 9492291c82 some changes to events to make grade_added work 2007-05-15 03:19:01 +00:00
toyomoyo 9e2e5943dc modifications to eventslib 2007-05-01 08:59:39 +00:00
toyomoyo 8aaf935a1f some events code/testing code 2007-04-26 08:50:29 +00:00