Commit Graph

125 Commits

Author SHA1 Message Date
nicolasconnault
a8995b34df MDL-9506 Added grade_grades_raw as a proper object used by grade_item. Also added a global function in gradelib for updating grade_grades_raw objects. 2007-04-30 04:49:25 +00:00
nicolasconnault
f440c2d1b1 MDL-9506 Implemented get_raw and get_final, plus added method_exists() checks for each unit test. 2007-04-30 02:05:51 +00:00
tjhunt
d4bf4b8695 Fix syntax error. 2007-04-27 10:37:21 +00:00
nicolasconnault
e5c674f1e1 MDL-9506 Added raw and final grade objects, plus more work in unit tests. 2007-04-27 08:12:16 +00:00
toyomoyo
8aaf935a1f some events code/testing code 2007-04-26 08:50:29 +00:00
nicolasconnault
60cf74305d MDL-9506 More work in the unit tests 2007-04-26 08:29:30 +00:00
nicolasconnault
f9f4a93b4e MDL-9506 Refactored gradelib.php: an abstract class (php5 in mind) holds data and methods common
to all grade_* objects. The unit test file has also been refactored to improve clarity.
2007-04-26 07:14:12 +00:00
nicolasconnault
27fbffb62b MDL-9506 More implementation of gradebook API and more unit tests. 2007-04-26 04:39:40 +00:00
nicolasconnault
619a59a70f MDL-9506 Set up the unit test bed and continued to implement gradebook API. 2007-04-24 08:50:19 +00:00
nicolasconnault
5834dcdb1d MDL-9506 First draft of gradelib, and the stubs for the unit tests. 2007-04-23 09:00:32 +00:00
nicolasconnault
facb512c06 MDL-8792 - Simply added help icon to explain the options available regarding embedding media files in the site. 2007-03-12 05:46:41 +00:00
nicolasconnault
9af052f59f Stub for a web-based integration test 2007-03-06 05:09:28 +00:00
nicolasconnault
a205dcdc09 Upgraded weblib::format_string() so it accepts unicode htmlentities. Also added more unit tests, including a stub for an integration web-based test. 2007-03-06 05:05:45 +00:00
nicolasconnault
dacb47c0ca MDL-8691 - Finally found the source of the error and fixed it. Add to apply s(format_string($week_summary)) on the optgroup's label. 2007-03-06 02:59:25 +00:00
nicolasconnault
c2a9fc9166 Issue 8417:
Added support for array of tested browsers to be passed to ajaxenabled()
Merged in from MOODLE_18_STABLE
2007-03-01 02:08:06 +00:00
nicolasconnault
d499142e5a Safari 2.0 and Opera 9.0 are now detected and supported for YUI. However, preliminary tests show that drag&drop behaviour is very slow on Opera and user-unfriendly on both browsers. A YUI debug window also pops up on Safari.
I added a unit test for ajaxlib.php

Issue MDL-8417
Merged from MOODLE_18_STABLE
2007-03-01 01:31:37 +00:00
moodler
239c15765c Merged from 1.8 stable 2007-02-28 07:58:34 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
tjhunt
7c9d46c96e Related to MDL-6249 - unit tests for address_in_subnet. Merged from MOODLE_17_STABLE. 2006-10-16 13:40:26 +00:00
tjhunt
3830553d47 Avoid reserved words in dmllib unit tests.
(Except that TEXT is not a reserved word after all, although some things like TINYTEXT are. Wheird!)
2006-08-24 16:56:59 +00:00
tjhunt
707b5c9953 Renamed unit tests to match Eloy's work. 2006-08-19 07:47:41 +00:00
tjhunt
5553c2ec47 New function record_exists_select with unit tests for all the record_exists_* functions. 2006-08-18 11:28:30 +00:00
tjhunt
cfa27f4472 Fix bug in new function get_field_select(), and this time add a unittest to see if the new function works! 2006-08-17 16:28:29 +00:00
tjhunt
9a1e5f0a5f Clarified unit test failure message. 2006-07-27 10:43:14 +00:00
tjhunt
3ef8c9362d Bug #5979 - Check in the OU's unit testing framework. Docs at http://docs.moodle.org/en/Unit_tests 2006-06-30 14:59:05 +00:00