See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401] [Versions 401 and 402] [Versions 401 and 403]
Unit tests for the {@link \mod_quiz\repaginate} class.
Copyright: | 2014 The Open Univsersity |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 299 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_quiz_repaginate_testable:: (6 methods):
__construct()
get_this_slot()
get_slots_by_slotid()
get_slots_by_slot_number()
repaginate_this_slot()
repaginate_next_slot()
repaginate_test:: (10 methods):
setUp()
tearDown()
get_quiz_object()
set_quiz_slots()
test_get_this_slot()
test_get_slots_by_slotnumber()
test_get_slots_by_slotid()
test_repaginate_n_questions_per_page()
test_repaginate_this_slot()
test_repaginate_the_rest()
Class: mod_quiz_repaginate_testable - X-Ref
Testable subclass, giving access to the protected methods of {@link \mod_quiz\repaginate}__construct($quizid = 0, $slots = null) X-Ref |
No description |
get_this_slot($slots, $slotnumber) X-Ref |
No description |
get_slots_by_slotid($slots = null) X-Ref |
No description |
get_slots_by_slot_number($slots = null) X-Ref |
No description |
repaginate_this_slot($slot, $newpagenumber) X-Ref |
No description |
repaginate_next_slot($nextslotnumber, $type) X-Ref |
No description |
Class: repaginate_test - X-Ref
Test for some parts of the repaginate class.setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
get_quiz_object() X-Ref |
Create a quiz, add five questions to the quiz which are all on one page and return the quiz object. |
set_quiz_slots($slots = null) X-Ref |
Set the quiz slots param: string $slots |
test_get_this_slot() X-Ref |
Test the get_this_slot() method |
test_get_slots_by_slotnumber() X-Ref |
No description |
test_get_slots_by_slotid() X-Ref |
No description |
test_repaginate_n_questions_per_page() X-Ref |
No description |
test_repaginate_this_slot() X-Ref |
No description |
test_repaginate_the_rest() X-Ref |
No description |