Eloy Lafuente (stronk7)
2c600c42fa
MDL-29677 unit tests - missing global was causing tons of incorrect debugging info
2011-10-07 01:24:54 +02:00
Tim Hunt
8dce32bb7b
MDL-29462 html_to_text('0') gives '', not '0'.
...
Conflicts:
lib/simpletest/testweblib.php
2011-09-21 16:40:18 +01:00
Marina Glancy
54641661e1
MDL-19907 rewrote validation for required fields in forms, including support for editor field. Added parameter to use strict (no spaces) required fields validation
2011-08-02 08:50:51 +08:00
Petr Skoda
d96d964425
Merge branch 'wip-MDL-28040-m20' of git://github.com/samhemelryk/moodle into MOODLE_20_STABLE
2011-07-18 15:34:42 +02:00
Sam Hemelryk
89ba1d6c2b
MDL-28137 unit tests: Fixed up problem with block manager tests when running unit tests after turning editing on
2011-07-13 13:45:23 +08:00
Sam Hemelryk
6bc177e912
MDL-27809 navigation: Fixed up a couple of minor issues after peer-review
2011-07-12 16:04:12 +08:00
Sam Hemelryk
1f7907dac3
MDL-27809 navigation: Reworked the caching within navigation and improved the ordering of events in order to reduce the use of session without serious impact on serverload
2011-07-12 16:04:03 +08:00
Aparup Banerjee
ae8da34929
MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/"
...
- cherry-picked and resolved conflicts
2011-07-05 15:39:56 +08:00
sam marshall
f114cff65f
MDL-28021 Completion system can create inconsistent database rows
...
This change includes:
(1) update deletes older versions of inconsistent rows
(2) update drops one index and replaces it with a new unique index
(3) fixed to ensure that when it decides whether to insert or update
it uses current database state and not cached info
(4) unit tests updated to test #3
2011-06-27 15:26:54 +02:00
Eloy Lafuente (stronk7)
a9e0bc82fb
Merge branch 'wip-mdl-27863-MOODLE_20_STABLE' of git://github.com/rajeshtaneja/moodle into MOODLE_20_STABLE
2011-06-15 11:30:15 +02:00
Rajesh Taneja
ec05915767
MDL-27863 moodlelib: - fixed testcase faliure in MDL-27577
2011-06-15 16:38:29 +08:00
Eloy Lafuente (stronk7)
91c59dbd8e
MDL-27759 backport some improvs from master + whitespace fix
2011-06-14 17:07:03 +02:00
Rajesh Taneja
ba16180449
MDL-27759 user webservice - added new PARAM for timezone PARAM_TIMEZONE, to validate timezone input in webservice while deling with user information
2011-06-13 10:23:46 +08:00
Rajesh Taneja
014fba4928
MDL-27577 moodlelib - fixed dst offset in userdate, usergetdate and make_timestamp functions
2011-06-03 09:59:52 +08:00
sam marshall
adabef8bf6
MDL-27401 Unit test errors in lib/simpletest/testpagelib_moodlepage.php
2011-05-09 11:17:03 +01:00
Petr Skoda
60aaf1dc77
MDL-25826 add more HTMLPurifier integration tests
2011-04-09 11:51:55 +02:00
Petr Skoda
fd8fa6f9d0
MDL-25826 integrate HTMLPurifier 4.3.0 and improve performance
...
The new HTMLPurifier finally caches the schema properly eliminating both extra CPU cycles and disk writes. The repeated dir exists tests might cause problems on NFS shares.
2011-04-09 11:51:49 +02:00
Sam Hemelryk
dd18964703
navigation MDL-26570 Removed test from navigation simpletests which is no longer possible due to new cm_info object implementation
2011-03-18 13:51:35 +08:00
Sam Hemelryk
c755c87437
navigation MDL-26570 branchid was renamed to key in previous fixes, unit tests updated to reflect this
2011-03-18 13:35:46 +08:00
sam marshall
b031caf858
lib MDL-26423 Added support for ->allowid option in format_text
2011-03-04 15:53:10 +00:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Sam Hemelryk
9498654c1d
Merge branch 'MDL-17884_m20' of git://github.com/rwijaya/moodle
2011-01-17 16:00:20 +08:00
Rossiani Wijaya
2d572444e1
MDL-17884: Add test_download_file_content and componentlib to unittest. Credit goes to Tomasz Muras
2011-01-14 14:52:24 +08:00
David Mudrak
9ecbf8018f
MDL-25935 user_picture::unalias() now handles null values correctly
2011-01-11 00:27:42 +01:00
David Mudrak
5c0d03ea1c
MDL-25886 method to convert aliased fields returned by user_picture::fields() back to unaliased form
...
The new public static method user_picture::unalias() picks the user
picture fields from the given record and maps the properties back to
unaliased form so that the result can be rendered.
Also fixes a forgotten bug in previous commit and adds a unit test for
both aliasing and unaliasing.
2011-01-07 14:05:25 +01:00
Tim Hunt
652599ecc3
MDL-25720 moodlelib new PARAM_RAW_TRIMMED.
...
Will be required by the new question engine.
2010-12-22 10:51:48 +00:00
Tim Hunt
ccdd15962a
MDL-25715 simpletestlib new expectations for testing renderer output.
...
With unit tests.
2010-12-20 16:24:23 +01:00
Tim Hunt
6cc09234be
MDL-24060 text_to_html tests. Make sure alt text for LaTeX images doesn't break.
2010-12-20 15:01:43 +01:00
Andrew Davis
8d9db9e549
gradebook MDL-24330 unit tests now function differently so produce different results
2010-12-13 06:55:32 +00:00
Petr Skoda
2168425a9e
MDL-25611 more browser detection cleanup and improvements
...
general WebKit support, adding version support for android, fixing android browser name (engine name first), adding more tests
2010-12-08 07:39:58 +00:00
Petr Skoda
0667103514
MDL-25611 browser detection cleanup and improvements
2010-12-08 06:51:54 +00:00
Petr Skoda
de542ff813
NOBUG explaining why textlib sorting fails
2010-11-18 06:14:59 +00:00
Sam Marshall
3dfe69c927
Unit tests MDL-24980 Disable obsolete portfolio tests until such time as somebody can fix them
2010-11-09 17:10:34 +00:00
Sam Marshall
702a206cd3
Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them
2010-11-09 17:09:13 +00:00
Sam Marshall
fc2b6316f1
Unit tests MDL-24980 Initial fix (no fully working yet) for portfolioaddbutton test
2010-11-08 11:07:09 +00:00
Tim Hunt
6cb034c9d2
MDL-25018 stop html_to_text from breaking utf-8 multibyte characters.
2010-11-02 20:03:48 +00:00
Sam Marshall
72d021a927
Unit tests MDL-24976 Fixed conditionlib unit test (also added thing to ensure that debug warning in conditionlib is shown in unit test if applicable)
2010-11-02 15:04:21 +00:00
Sam Marshall
31fe61a22f
Unit tests MDL-24975 Completion unit tests fix
2010-11-02 14:14:00 +00:00
Sam Marshall
bf81b16824
Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23 exceptions and only 2 passes)
2010-11-01 18:00:57 +00:00
Sam Marshall
6b1cba1a12
Unit tests MDL-24982 testrepositorylib uses old test class
2010-11-01 15:20:16 +00:00
Sam Marshall
c3097e1333
Unit tests MDL-24978 Fixed locale dependency
2010-11-01 12:11:41 +00:00
Sam Marshall
473792550d
MDL-24914: Navigationlib unit test fails due to 'temporary' commenting of function in forum module which was used as example; changing example to data module
2010-11-01 10:46:42 +00:00
Petr Skoda
d0e538ba1c
MDL-19702 rewritten context caching by Sam Marshall + tweaks for potential problems caused by drift
2010-10-26 16:21:23 +00:00
Petr Skoda
f026fd1c82
MDL-24847 fixed incorrect unittest setup
2010-10-26 12:58:13 +00:00
Petr Skoda
39461de329
MDL-24837 improved user preferences internal implementation, general code cleanup, minor bugfixing, fixed '0' value regression and improved caching options in cron scripts (this should hopefully help with messaging performance in cron once it is used there), implemented basic unit tests for user user preferences
2010-10-25 20:44:32 +00:00
Sam Marshall
2cc9bae531
Unit tests MDL-24842: Fixed unit tests for accesslib, added ability to switch CFG in test baseclass
2010-10-25 14:43:59 +00:00
Petr Skoda
e6906df277
MDL-24523 adding note that clean_text() is designed to work with htm ltext only, technically we can not clean other formats before the conversion, sorry
2010-10-24 11:48:45 +00:00
Tim Hunt
d5bbc449e9
simpletestlib MDL-24637 ContainsTagWithAttribute(s) does not work reliabily with attribute values "0" and ""
2010-10-12 15:01:54 +00:00
David Mudrak
8dfb8a0343
MDL-24627 Unknown components are considered activity modules even if their name contains underscore
2010-10-12 12:56:59 +00:00
David Mudrak
e54c41da0b
Improved moodlelib_test to illustrate wrong style of writing unit tests
...
Sorry for this irritating commit but I believe it is the most effective
way how to demonstrate the issue.
2010-10-12 12:56:41 +00:00