moodle/mod/quiz/tests
Tim Hunt ccba5b8805 MDL-43749 normalise quiz database structure.
The sequence of questions that made up a quiz used to be stored as a
comma-separated list in quiz.questions. Now the same information is
stored in the rows in the quiz_slots table. This is not just 'better' in
a database design sense, but it allows for the future changes we will
need as we enhance the quiz in the MDL-40987 epic.

Having changed the database structure, all the rest of the code needs to
be changed to account for it, and that is done here.

Note that there are not many unit tests for the changed bit. That is
because as part of MDL-40987 we will be changing the code further, and
we will add unit tests then.
2014-03-02 10:00:40 +01:00
..
behat MDL-40619 mod_quiz: Remove commented non-js behat scenario 2014-02-25 11:02:03 +08:00
fixtures MDL-41572 pass through question behaviour vars with correct prefix 2013-09-15 17:52:18 +07:00
generator MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
attempt_walkthrough_from_csv_test.php MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
attempt_walkthrough_test.php MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
attempts_test.php MDL-40074 quiz attempt walk through test 2013-07-14 16:45:26 +07:00
editlib_test.php MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
events_test.php MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
generator_test.php MDL-35717 quiz: fix overdue attempt processing 2012-11-16 21:32:09 -05:00
lib_test.php
locallib_test.php MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
quizdisplayoptions_test.php MDL-43874 quiz, teacher comments should respect display options. 2014-01-27 12:01:32 +00:00
quizobj_test.php MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
reportlib_test.php MDL-37694 move quiz unit tests to the right place. 2013-01-25 12:12:12 +00:00