tjhunt
4299df1daf
quiz editing: Refactor the editing actions to make functions in editlib.php for most of them.
...
In the process, do MDL-17456, move/delete questions by question id rather than position, for greater robustness.
2009-02-27 08:45:05 +00:00
tjhunt
1fd211a770
quiz: Fix unit tests.
2009-02-27 08:43:28 +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
tjhunt
edd5246bdd
quiz editing: MDL-17416 Clean layout when starting a new attempt.
2009-01-07 09:26:47 +00:00
tjhunt
1332ce5397
quiz unittests: MDL-17295 start writing unit tests for some of mod/quiz/locallib.php - and fix the bugs they revealed!
2008-11-23 12:46:51 +00:00
tjhunt
1499ce3185
unit test reliability: For some reason this does not work on my laptop. because the standard function getrempteadr returns '', so just skip this test.
2008-11-23 11:53:21 +00:00
tjhunt
739b07112e
MDL-16625 Detection of whether a quiz has grades was broken in HEAD.
...
1. Fix this by factoring out a quiz_has_grades function.
2. Fix the quiz unit tests.
3. Fix quiz_has_feedback to return false for ungraded quizzes.
4. Fix use of get_records to do record_exists in quiz reports.
2008-09-23 07:18:15 +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
tjhunt
c52c62d1b1
MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.
...
Resource page now done as well. That should be everything.
2008-03-07 12:33:07 +00:00
tjhunt
05866d85d4
MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.
...
Here are unit tests for all the access rule classes, and the associated bug fixes.
2008-03-06 15:11:50 +00:00