Commit graph

3972 commits

Author SHA1 Message Date
Petr Skoda
8e5c963e6b MDL-32587 improve component phpunit config building and make the util.php help fit 80char screens 2012-04-27 13:42:18 +02:00
Eloy Lafuente (stronk7)
cb48174266 MDL-32587 phpunit: new option to create distributed phpunit.xml files 2012-04-27 13:42:17 +02:00
Petr Skoda
f0202ae9a2 MDL-30686 improve accuracy of qualified_me() by trying PAGE->url first
This should help SSL proxies and returning to current page after require_login().
2012-04-27 13:39:18 +02:00
Eloy Lafuente (stronk7)
5989454498 Merge branch 'MDL-19549' of git://github.com/danpoltawski/moodle 2012-04-24 01:00:16 +02:00
Dan Poltawski
fb1b14299a Merge branch 'w17_MDL-25407_m23_innodb' of git://github.com/skodak/moodle 2012-04-23 12:24:39 +08:00
Petr Skoda
d88b0f9c29 MDL-32569 remove unittestprefix from config-dist.php, do not link other pages from old UI 2012-04-21 17:50:40 +02:00
Petr Skoda
05d531a5fb MDL-32569 drop old functional DB tests 2012-04-21 16:32:14 +02:00
Petr Skoda
10156165ae MDL-32569 hide old SimpleTest UI 2012-04-21 16:13:38 +02:00
Petr Skoda
b38d2ce7f8 MDL-32569 move other test related files to new tests directory 2012-04-21 16:11:36 +02:00
Petr Skoda
f2c648edc3 MDL-25407 ignore errors when converting to InnoDB and ignore timeout
This should help resolve problems with table views and other unsupported stuff.
2012-04-21 11:50:43 +02:00
Dan Poltawski
ec0a11285d MDL-19549 lang: make a string less scary 2012-04-17 17:14:25 +08:00
Dan Poltawski
54e4d1b3a1 Merge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle 2012-04-16 16:12:35 +08:00
Dan Poltawski
a096a21ef3 MDL-32443 queupgradehelper cli: fix path & whitespace 2012-04-16 13:22:53 +08:00
Eric Merrill
8767142576 MDL-32443 qeupgradehelper: Add cli tool to execute qeupgrade helper 2012-04-16 13:16:17 +08:00
Petr Skoda
0684ea9972 MDL-32400 do not silence diagnostic PHPUnit includes 2012-04-15 12:23:42 +02:00
Petr Skoda
0d8e51a65f MDL-32400 rework phpunit exit codes, use only php based init 2012-04-15 12:23:42 +02:00
Eric Merrill
288893f3a7 MDL-32442 questionupgrade: error in SQL from postgres systems 2012-04-14 09:05:12 -04:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587 Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle 2012-04-11 09:32:58 +08:00
Petr Skoda
4e5ff72ea7 MDL-32323 always verify that database PHPUnit extension is available 2012-04-10 21:15:33 +02:00
Petr Skoda
351f4bc248 MDL-32323 allow specification of test class in webrunner and add some explanation of parameters 2012-04-10 15:27:15 +02:00
Petr Skoda
d5d096d0db MDL-32323 add php version of all-in-one phpunit init script 2012-04-10 15:27:14 +02:00
Petr Skoda
920f4efe51 MDL-32323 improve inline docs 2012-04-10 15:27:14 +02:00
Petr Skoda
b6b8a19316 MDL-32323 improve PHPUnit related diagnotic messages 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
31fb8724f6 MDL-32323 undo path mangling, we have to trust admins 2012-04-10 15:27:07 +02:00
Petr Skoda
2fde539255 MDL-32323 fix PHPUNIT_UTIL constant usage 2012-04-10 15:27:06 +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
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
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
Petr Skoda
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
Eloy Lafuente (stronk7)
46ed2f8b7f Merge branch 'w14_MDL-32251_m23_strict3' of git://github.com/skodak/moodle 2012-04-03 21:17:58 +02:00
Dan Poltawski
8408d23c99 Merge branch 'w14_MDL-32250_m23_simpletest110' of git://github.com/skodak/moodle 2012-04-02 16:15:35 +08:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Tim Hunt
9e4598293b MDL-32039 qeupgradehelper: fix typos in the lang strings 2012-03-29 21:20:04 +01:00
Petr Skoda
caee6e6c26 MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
Petr Skoda
0bb48cc2a1 MDL-32250 import latest SimpleTest 1.1.0 2012-03-29 15:07:53 +02:00
Aparup Banerjee
c2bc042330 Merge branch 'wip-mdl-31654' of git://github.com/rajeshtaneja/moodle 2012-03-27 13:22:01 +08:00
Petr Skoda
436b961381 MDL-32112 use constants for field and table limits
For now using the same JS hardcoding trick Eloy did the last time...
2012-03-24 11:45:36 +01:00
Rajesh Taneja
1b4d2d56d9 MDL-31654 users: Added check for custom profile fields, if wrong data is passed then user will not be able to proceed 2012-03-23 10:13:37 +08:00
Rajesh Taneja
bd8dc9ba0a MDL-31654 users: removed hardcoding and added docblock on top of tim's patch 2012-03-23 10:13:37 +08:00
tim@netspot.com.au
d6aea4cc34 MDL-31654 users: custom profile menu fields will convert values to keys, so it can be processed 2012-03-23 10:13:37 +08:00
Sam Hemelryk
7aea08e1b0 MDL-31857 phpunit: PHPDoc and typo fixes during integration 2012-03-22 10:45:17 +13:00
Sam Hemelryk
3222f6eca1 Merge branch 'w12_MDL-31857_m23_phpunit' of git://github.com/skodak/moodle 2012-03-22 10:44:04 +13:00