Andrew Nicols
1aba6b2b4d
MDL-41196 Unit Tests: Add a phpmailer message sink
2013-08-15 13:58:51 +01:00
Petr Škoda
c5701ce7d4
MDL-41086 rework detection of necessary upgrades
2013-08-08 21:11:40 +02:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Ankit Agarwal
320aee339c
MDL-40935 phpunit: Remove assertLegacyEventName() since get_legacy_eventname() is public now
2013-08-06 14:58:30 +08:00
Sam Hemelryk
b09abb05ab
Merge branch 'w32_MDL-40901_m26_phpunitcleanup2' of https://github.com/skodak/moodle
2013-08-06 08:53:24 +12:00
Petr Škoda
2e242f4c6b
MDL-40940 try to guess testcase location using info from /phpunit.xml
...
This will help with core tests in non-standard core subsystem locations.
2013-08-04 21:44:13 +02:00
Frederic Massart
d6277b0ca0
MDL-40997 phpunit: Assertions for events legacy data
2013-08-02 18:30:02 +08:00
Petr Škoda
890e3e6415
MDL-39846 improve role assignment tests
2013-07-19 08:43:29 +02:00
Petr Škoda
62401e8fd5
MDL-39846 implement event sink for unit testing
2013-07-19 08:43:29 +02:00
Petr Škoda
d8a1f4263a
MDL-39846 implement new event dispatching and base event class
2013-07-19 08:43:27 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224
MDL-40220 use new core_component::get_plugin_types()
2013-07-16 22:31:48 +02:00
Jamie Pratt
596ea56f6b
MDL-40388 Reset globals after each unit test
2013-07-09 12:26:28 +08:00
Frederic Massart
dc95bdd8d9
MDL-40561 phpunit: Return the right guessed class
2013-07-08 17:58:38 +08:00
Petr Škoda
d44e0aa323
MDL-40305 implement moodle specific phpunit testcase classloader
2013-06-24 21:29:37 +02:00
Petr Škoda
71fc50031d
MDL-38989 detect changed timeout in tests
...
The trouble is that PHPUnit should ideally test mostly low level libraries that should not change the timeouts.
2013-04-10 09:48:57 +02:00
Petr Škoda
70faad655a
MDL-38912 fix incorrect timeout reset
2013-04-10 00:06:34 +02:00
Tim Hunt
82081c1f7d
MDL-38912 prevent time-outs during unit tests.
2013-04-05 18:37:25 +01:00
Eloy Lafuente (stronk7)
e01812b333
Merge branch 'w13_MDL-37783_m12_testinfo' of git://github.com/skodak/moodle
2013-03-26 23:13:33 +01:00
Petr Škoda
fe95fb5322
MDL-37782 reset DB after each failed database test
2013-03-24 14:16:28 +01:00
Petr Škoda
15bac12e9d
MDL-37783 add some useful information to any phpunit output
2013-03-23 00:06:39 +01:00
Marina Glancy
73a0f3ba76
MDL-33774 Reset filters caches between unit tests
2013-02-14 19:46:19 +11:00
Dan Poltawski
77ea8340de
Merge branch 'MDL-37458_master' of git://github.com/dmonllao/moodle
2013-01-21 11:14:38 +08:00
Dan Poltawski
73ce4ac996
Merge branch 'MDL-37457_master' of git://github.com/dmonllao/moodle
2013-01-21 10:53:12 +08:00
David Monllao
0ea35584ae
MDL-37458 testing common methods generalization
2013-01-18 09:17:30 +08:00
David Monllao
f822840223
MDL-37458 testing tests finder externalization
2013-01-17 15:15:27 +08:00
Sam Hemelryk
e17dbeeb1a
MDL-34398 groups: implemented caching of group information.
2013-01-17 09:24:58 +13:00
David Monllao
3f7211f45a
MDL-37458 testing lock externalization
2013-01-16 13:43:25 +08:00
David Monllao
5c3c2c81be
MDL-37457 testing Refactoring references
2013-01-15 11:07:43 +08:00
David Monllao
f16e1af28e
MDL-36457 testing Relocating classes
2013-01-11 14:08:50 +08:00
Aparup Banerjee
020e338dee
Merge branch 'w47_MDL-36701_m24_composer' of git://github.com/skodak/moodle
2012-11-22 16:23:20 +08:00
Dan Poltawski
1b01909597
Merge branch 'w47_MDL-36547_m24_sectiongen' of git://github.com/skodak/moodle
2012-11-21 15:26:15 +08:00
Petr Škoda
3a7bc16ad7
MDL-36701 support for PHPUnit installation via Composer packaging system
...
See http://getcomposer.org/doc/00-intro.md
2012-11-20 11:27:35 +01:00
Petr Škoda
4f5789eae8
MDL-36703 very basic support for enrolments in data generator
2012-11-19 23:15:29 +01:00
Petr Škoda
46453565f3
MDL-36547 do not use modinfo when creating new modules, improve coding style
2012-11-17 09:05:29 +01:00
David Mudrák
dc11af1903
MDL-35238 Add support for explicit singleton reset
...
This may be needed during PHPUnit testing.
2012-11-08 22:33:08 +01:00
Petr Škoda
9854743221
MDL-36199 reset plugin manager singletons
2012-10-25 00:55:10 +08:00
Dan Poltawski
f186ad1f90
Merge branch 'wip-MDL-35339-master' of git://github.com/marinaglancy/moodle
2012-10-15 17:19:44 +08:00
Dan Poltawski
348be850c9
Merge branch 'w42_MDL-35854_m24_usergenerator' of git://github.com/skodak/moodle
2012-10-15 16:03:53 +08:00
Aparup Banerjee
de5a44eb3a
Merge branch 'w42_MDL-36031_m24_messagesink' of git://github.com/skodak/moodle
2012-10-15 14:36:02 +08:00
Marina Glancy
b46be6adf4
MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid)
2012-10-15 14:08:15 +08:00
Marina Glancy
384c3510a9
MDL-35339 Course functions unit tests
2012-10-15 14:08:14 +08:00
Marina Glancy
722e6ba947
MDL-35339 Deprecate add_mod_to_section(), create new function course_add_cm_to_section()
...
Function add_mod_to_section() has very confusing arguments when object looks like record from
table course_modules but field ->section refers to relative section number (course_sections.section).
In table course_modules the field section refers to course_sections.id.
Also add_mod_to_section() does not update table course_modules and does not call rebuild_course_cache()
which developer can forget to do afterwards.
- Added function course_add_cm_to_section()
- In the core code add_mod_to_section() is replaced with course_add_cm_to_section()
- Function add_mod_to_section() is deprecated
2012-10-15 14:08:13 +08:00
Eloy Lafuente (stronk7)
990853afbe
Merge branch 'wip-MDL-25290-m24-compact' of git://github.com/samhemelryk/moodle
2012-10-14 23:32:40 +02:00
Petr Škoda
4c9e03f0ac
MDL-36031 implement message redirection for unit testing
2012-10-13 20:00:54 +02:00
Petr Škoda
fe67134eaa
MDL-35854 fix username generator
...
This eliminates infinite loop and also fixes potentially invalid email derived from usernames created from unicode first/last name.
2012-10-13 09:57:35 +02:00
Eloy Lafuente (stronk7)
2beba29760
MDL-35898 test reset: tidyup comments (forgot to amend previous commit, grrr).
2012-10-09 11:56:42 +02:00
Eloy Lafuente (stronk7)
02c4953ea5
Merge branch 'w41_MDL-35898_m24_coursereset' of git://github.com/skodak/moodle
2012-10-09 11:54:15 +02:00
Petr Škoda
13d5c93872
MDL-35898 include static course caches in test resets
2012-10-09 09:43:08 +02:00
Sam Hemelryk
34c84c723a
MDL-25290 cache: Added cache locking plugin and converted locking implementations to that
2012-10-08 09:53:51 +13:00