Petr Skoda
927010240f
MDL-31006 some more PHP54 notices
...
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +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
Andrew Davis
d84e7b7a94
gradebook MDL-24330 added a little visual of the structure of the grade categories created by the unit tests
2010-10-12 05:51:17 +00:00
Petr Skoda
650462dfac
MDL-24211 events subsystem cleanup and improvements
...
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
Petr Skoda
a9637e7df4
MDL-14679 fixed a lot more old style uses of insert_record()
2010-09-03 17:47:41 +00:00
Andrew Davis
c791bb4dfa
gradebook MDL-23267 fixed 2 broken unit tests in lib/grade/simpletest
2010-07-14 08:42:14 +00:00
Eloy Lafuente
320bb66ea1
NOBUG switch to new header comments + delete some usused Mockup objects
2009-12-01 18:58:07 +00:00
Eloy Lafuente
3d90fbc498
MDL-21015 grade tests migrated to UnitTestCaseUsingDatabase
2009-12-01 18:42:49 +00:00
Moodle HQ git importer
8926f8449f
Fixing drift between CVS and git
2009-11-02 00:32:03 +00:00
skodak
58fa5d6f75
MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php
2009-01-10 13:47:26 +00:00
nicolasconnault
274e2947a2
MDL-16486 Only using one test $DB connection. Completed most of the implementation. Tests working well now.
2008-09-22 07:06:08 +00:00
nicolasconnault
c7d306e168
MDL-15666 MDL-16486
2008-09-17 14:31:30 +00:00
nicolasconnault
b9c639d6c2
MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class.
2008-09-16 12:19:43 +00:00
skodak
8aff848213
MDL-14589 minor database driver loading refactoring
2008-09-02 20:32:03 +00:00
nicolasconnault
a95c68a188
MDL-15808 changed prefix to tst_ and added dboptions
2008-07-25 06:56:33 +00:00
nicolasconnault
9fed64fa19
MDL-15808 Applying Andrei's patch
2008-07-24 12:21:19 +00:00
skodak
eee5d9bb85
MDL-14956 DDL exceptions
2008-06-22 16:51:55 +00:00
skodak
b1f93b1512
MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl
2008-06-15 10:32:50 +00:00
skodak
245ac55791
MDL-14679 last forgotten bits of dml conversion
2008-06-09 19:48:24 +00:00
nicolasconnault
da3801e84b
MDL-14967 Upgraded gradebook code and unit tests. 4 failing tests in grade_item to fix.
2008-05-23 14:52:50 +00:00
stronk7
a8cb94f66f
MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
...
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
nicolasconnault
5bbb6fed88
MDL-14081 Adding the fullname value to test grade_outcomes. Merging from MOODLE_19_STABLE
2008-04-02 06:37:55 +00:00
nicolasconnault
27c9bf2445
MDL-12182 fixing fixtures
2008-03-06 14:55:10 +00:00
stronk7
5383636fbb
Changing wrong UNSIGNEDs to nulls in tests. MDL-11662
...
Merged from MOODLE_19_STABLE
2007-12-08 18:54:24 +00:00
nicolasconnault
f3ac8eb40c
MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead
2007-11-22 05:42:46 +00:00
nicolasconnault
9a68cffcbb
Restoring some of the static calls which were converted unnecessarily
2007-11-13 13:44:27 +00:00
nicolasconnault
aaefeda438
More fine-tuning of gradebook classes
2007-11-13 10:31:08 +00:00
nicolasconnault
795bee3460
Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object).
2007-11-13 09:08:43 +00:00
nicolasconnault
4fc9ec1ec0
Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object).
2007-11-13 07:36:00 +00:00
nicolasconnault
1f0e492171
Unit test refactoring using mock objects. NOT FINISHED: testgradecategory and testgradeitem are incomplete. The other tests work great however, and no longer a need for DB data
2007-11-07 17:59:33 +00:00
nicolasconnault
a8caf69d3a
Minor changes in unit tests
2007-10-31 14:55:23 +00:00
nicolasconnault
1994d890c9
Fixing unit test failures
2007-10-27 10:13:25 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
skodak
d926630485
MDL-11504 fixed defaults in grade_items/display; added decimals and display to grade_items_history
2007-09-28 21:00:31 +00:00
skodak
3f2b0c8aba
MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
...
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
nicolasconnault
e480c18cf1
MDL-11312 Added new grade_letters table, and new grade_items.display field.
2007-09-18 14:26:15 +00:00
skodak
c2efb50142
MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option
2007-09-05 19:15:21 +00:00
skodak
23207a1a6a
MDL-10563 item excluding implemented;
...
improved/fixed grade edit page;
some other improvements and cleanup
2007-07-21 14:24:39 +00:00
skodak
9acbd7269c
MDL-10364 improved internal formula format
2007-07-21 08:43:51 +00:00
skodak
98353ff194
MDL-9137 new grade_grades field overridden
2007-07-10 08:55:06 +00:00
skodak
6b6f345266
MDL-6855 fixing id in new grade tables to be unsigned in unut tests
2007-07-10 07:57:58 +00:00
skodak
aaff71daf4
MDL-10365 Improved handling of history when inserting/updating/deleting in new grade reports;first part
2007-07-06 12:49:28 +00:00
skodak
c3146da7ac
complete unit tests for grade_item + minor cleanup in insert and update
2007-07-04 17:52:43 +00:00
skodak
6639ead31e
complete unit tests for grade_category, minor API cleanup, fixed forced regrading in grade_category
2007-07-03 10:06:08 +00:00
skodak
b3ac6c3ef0
MDL-10224 total course grade implemented + lots of other changes and improvements; there are still some regressions and bugs - going to fix them ASAP; some unit tests still missing too
2007-06-28 13:20:30 +00:00
skodak
f92dcad81a
MDL-10233 improved static factory methods of grade obejcts fetch() and fetch_all(); implemented default values of grade objects, fixed null values for some properties that are not required - unit tests included, tested with PHP4 and PHP5
2007-06-24 22:26:33 +00:00
skodak
772ddfbfce
trailing whitespace cleanup in new grade libraries
2007-06-23 16:51:09 +00:00
skodak
61c33818d5
MDL-10231 merge grade_calculations and grade_items table + calculation improvements
...
MDL-10233 fixed grade_*::fetch() - does not modify $this anymore, we can now use it from normal methods to fetch other objects of the same class.
2007-06-23 16:33:17 +00:00
skodak
2cc4b0f90d
MDL-10223 Implement locking of grades and grade items - cron support still not implemented;
...
this patch also contains improvements in handling of needsupdate, though it is not yet fully working for calculated grades
2007-06-22 08:57:39 +00:00
skodak
ac9b080524
MDL-10202 merge raw and final grade tables
2007-06-20 23:06:29 +00:00