Commit Graph

16 Commits

Author SHA1 Message Date
6b21986911 MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
5c3c2c81be MDL-37457 testing Refactoring references 2013-01-15 11:07:43 +08:00
f16e1af28e MDL-36457 testing Relocating classes 2013-01-11 14:08:50 +08:00
7e7cfe7a03 MDL-32960 refactor phpunit integration to one class per file structure 2012-05-12 20:53:48 +02:00
80705c1000 MDL-32628 add user_picture->get_url() tests 2012-04-27 15:03:24 +02:00
54e4d1b3a1 Merge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle 2012-04-16 16:12:35 +08:00
2a535174c0 MDL-32426 phpunit: Fixed up phpdocs for generator changes 2012-04-16 11:52:56 +12:00
6b04fdc0b6 MDL-32400 improve module generators
Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.
2012-04-15 14:16:59 +02:00
f15d451549 MDL-32426 Add unit test generators for groups and groupings 2012-04-12 15:32:19 +01:00
920f4efe51 MDL-32323 improve inline docs 2012-04-10 15:27:14 +02:00
4594a381e5 MDL-32323 add list of common first and last names + long text
Random users now get proper first and last names, course and category descriptions contains longer text. The names can be also used as source of random complex utf-8 strings.
2012-04-10 15:27:11 +02:00
3c4c51891c MDL-32323 improve phpunit data generators 2012-04-10 15:27:02 +02:00
4c6062ea65 MDL-32149 scale generator and workshop tests 2012-04-03 22:31:00 +02:00
354b214c9f MDL-32149 courselib tests and support for generation of course sections 2012-04-03 22:30:57 +02:00
4b02743182 MDL-32149 improve testcase naming and list in config file 2012-04-03 22:30:57 +02:00
a3d5830a0a MDL-32149 PHPUnit test support - part 2
Includes:
* constants refactoring
* reworked db table init
* support for $CFG->debug = -1
* functional DB tests
* fixed $DB->get_indexes() to not throw exceptions when table does not exist
* fix handling of user passwords in test db
* add debug info to exception messages
* removed unnecessary PHP debug errors from mathslib
* fixed @error suppression in get_string
* fixed PHPUnit error handler setup
* added timezone info to default install
2012-04-03 22:30:53 +02:00