Commit graph

52597 commits

Author SHA1 Message Date
Petr Skoda
e10736b3cc MDL-32323 improve mysql test reset performance 2012-04-10 15:27:08 +02:00
Petr Skoda
27f27eb4f4 MDL-32323 add windows test database init script 2012-04-10 15:27:08 +02:00
Petr Skoda
e370154157 MDL-32323 make test locking win compatible 2012-04-10 15:27:08 +02:00
Petr Skoda
3f1e87973f MDL-32323 always create test dirs using standard functions and close handles before delete 2012-04-10 15:27:07 +02:00
Petr Skoda
bd4d412a10 MDL-32323 do not write to system /tmp/ in tests 2012-04-10 15:27:07 +02:00
Petr Skoda
31fb8724f6 MDL-32323 undo path mangling, we have to trust admins 2012-04-10 15:27:07 +02:00
Petr Skoda
6c583c75f9 MDL-32323 do lot try to acquire lock before dataroot init 2012-04-10 15:27:07 +02:00
Petr Skoda
4787e466d6 MDL-32323 make sure DDL libs are loaded before starting function db tests 2012-04-10 15:27:06 +02:00
Petr Skoda
2fde539255 MDL-32323 fix PHPUNIT_UTIL constant usage 2012-04-10 15:27:06 +02:00
Petr Skoda
94a994b4fc MDL-32323 fix installer warning 2012-04-10 15:27:06 +02:00
Petr Skoda
812013b1c1 MDL-32323 reset event handlers in phpunit test reset 2012-04-10 15:27:06 +02:00
Petr Skoda
a0c5affee6 MDL-32323 test detection of changes and improve coding style 2012-04-10 15:27:05 +02:00
Petr Skoda
ab483c0a07 MDL-32323 use auto_increment instead of primary_key for sequence detection and improve coding style 2012-04-10 15:27:05 +02:00
Petr Skoda
219d1a4e72 MDL-32323 improve self-diagnostic messages 2012-04-10 15:27:05 +02:00
Petr Skoda
8b5413ccf2 MDL-32323 rework db reset once more, now with tests 2012-04-10 15:27:05 +02:00
Petr Skoda
50be93d1d7 MDL-32323 add fast transaction based database reset for PostgreSQL 2012-04-10 15:27:04 +02:00
Petr Skoda
fe11e694d1 MDL-32323 test database first, if DML/DDL fails everything else will too 2012-04-10 15:27:04 +02:00
Petr Skoda
714f3998a8 MDL-32323 rework buggy database reset optimisation and fix blog tests 2012-04-10 15:27:04 +02:00
Petr Skoda
0b9251e330 MDL-32323 cache structure of all tables and reset sequences only in table where id is primary key 2012-04-10 15:27:04 +02:00
Petr Skoda
fe35ccafe3 MDL-32323 fix recently borked detection of DB changes and improve coding style 2012-04-10 15:27:03 +02:00
Petr Skoda
61d3013c8b MDL-32323 fix concurrent run collision caused by setup reset 2012-04-10 15:27:03 +02:00
Petr Skoda
4be2ad3660 MDL-32323 prevent concurrent execution of unit tests 2012-04-10 15:27:03 +02:00
Petr Skoda
3604563c79 MDL-32323 allow execution of tests through util.php and add option to include alternative phpunit files (for testing only!) 2012-04-10 15:27:02 +02:00
Petr Skoda
5987e6932c MDL-32323 more magic to allow init.sh symlinks
from http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
2012-04-10 15:27:02 +02:00
Petr Skoda
3c4c51891c MDL-32323 improve phpunit data generators 2012-04-10 15:27:02 +02:00
Petr Skoda
93c4ee56c7 MDL-32323 fix skipped config rebuild in init script 2012-04-10 15:27:02 +02:00
Petr Skoda
6e2cff2d81 MDL-32323 minor phpunit related improvements and cleanup 2012-04-10 15:27:01 +02:00
Petr Skoda
7b0ff21385 MDL-32323 experimental web UI for execution of PHPUnit tests
It is not localised intentionally because only developers should use it…
2012-04-10 15:27:01 +02:00
Petr Skoda
4b17369567 MDL-32323 all-in-one PHPUnit init script 2012-04-10 15:27:01 +02:00
Petr Skoda
6aaae357c9 MDL-32323 add schema for phpunit.xml configuration file
Credit goes to https://github.com/gooh/phpunit-schema, thanks Gordon Oheim!
2012-04-10 15:27:01 +02:00
Petr Skoda
d2b357b923 MDL-32368 fix pg to always use old bytea encoding 2012-04-10 15:25:20 +02:00
Petr Skoda
4bf855771f MDL-32365 fix hardcoded auto-increment on id columns 2012-04-10 15:22:16 +02:00
Petr Skoda
3b4f7338a7 MDL-32365 fix invalid checking for returned id when custom sequence used 2012-04-10 15:22:15 +02:00
Dan Poltawski
3d83a9f504 Merge branch 'MDL-32300' of git://github.com/timhunt/moodle 2012-04-10 17:42:28 +08:00
Sam Hemelryk
9e98c4053a MDL-32124 mod_feedback: Cleanup post-integration of unused var 2012-04-10 17:21:37 +12:00
Sam Hemelryk
9f8662a528 Merge branch 'MDL-32124_master_wip' of git://github.com/grabs/moodle 2012-04-10 17:21:00 +12:00
Andrew Davis
08f06b1c24 MDL-30955 rating: corrected /rating/index.php as it was determining the maximum rating incorrectly for custom scales 2012-04-10 12:01:52 +07:00
Dan Poltawski
a98ff41f1a Merge branch 'wip-MDL-27427-master' of git://github.com/phalacee/moodle 2012-04-10 12:04:06 +08:00
Dan Poltawski
f4bd3cd6c9 Merge branch 'MDL-32347' of git://github.com/timhunt/moodle 2012-04-10 11:34:12 +08:00
Dan Poltawski
44d70cc753 MDL-32299 quiz mod_form: fix help string typo 2012-04-10 11:29:57 +08:00
Dan Poltawski
26932315f1 Merge branch 'MDL-32299' of git://github.com/timhunt/moodle 2012-04-10 11:25:09 +08:00
Dan Poltawski
098312b149 Merge branch 'wip-mdl-30051' of git://github.com/rajeshtaneja/moodle 2012-04-10 11:05:59 +08:00
Dan Poltawski
2d74d8a612 Merge branch 'MDL-32318' of git://github.com/timhunt/moodle 2012-04-10 10:26:49 +08:00
Tim Hunt
59ea81767e MDL-32300 quiz reports: proper frankenstyle prefixes on class names. 2012-04-10 10:04:55 +08:00
Dan Poltawski
4c8ec44828 Merge branch 'MDL-25801' of git://github.com/timhunt/moodle 2012-04-10 09:11:38 +08:00
Sam Hemelryk
0ccb4dcce0 Merge branch 'MDL-32349-master' of git://github.com/sammarshallou/moodle 2012-04-10 12:38:40 +12:00
Sam Hemelryk
50f7bbf95c MDL-30843 admin: Fixed up label for attribute 2012-04-10 12:35:26 +12:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Sam Hemelryk
859a181627 Merge branch 'wip-mdl-32270' of git://github.com/rajeshtaneja/moodle 2012-04-10 10:53:34 +12:00
Sam Hemelryk
aef4aafa0b Merge branch 'w15_MDL-32263_m23_enroladmin' of git://github.com/skodak/moodle 2012-04-10 10:48:34 +12:00