See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]
Test helpers for the multianswer question type.
Copyright: | 2013 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 533 lines (22 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
qtype_multianswer_test_helper:: (9 methods):
get_test_questions()
make_multianswer_question_twosubq()
get_multianswer_question_data_twosubq()
get_multianswer_question_data_dollarsigns()
get_multianswer_question_form_data_twosubq()
make_multianswer_question_fourmc()
make_multianswer_question_numericalzero()
make_multianswer_question_multiple()
make_multianswer_question_zeroweight()
Class: qtype_multianswer_test_helper - X-Ref
Test helper class for the multianswer question type.get_test_questions() X-Ref |
No description |
make_multianswer_question_twosubq() X-Ref |
Makes a multianswer question about completing two blanks in some text. return: qtype_multianswer_question |
get_multianswer_question_data_twosubq() X-Ref |
Makes a multianswer question about completing two blanks in some text. return: object the question definition data, as it might be returned from |
get_multianswer_question_data_dollarsigns() X-Ref |
Makes a multianswer question onetaining one blank in some text. This question has no hints. return: object the question definition data, as it might be returned from |
get_multianswer_question_form_data_twosubq() X-Ref |
Makes a multianswer question about completing two blanks in some text. return: object the question definition data, as it might be returned from |
make_multianswer_question_fourmc() X-Ref |
Makes a multianswer question about completing two blanks in some text. return: qtype_multianswer_question |
make_multianswer_question_numericalzero() X-Ref |
Makes a multianswer question with one numerical subquestion, right answer 0. This is used for testing the MDL-35370 bug. return: qtype_multianswer_question |
make_multianswer_question_multiple() X-Ref |
Makes a multianswer question with multichoice_multiple questions in it. return: qtype_multianswer_question |
make_multianswer_question_zeroweight() X-Ref |
Makes a multianswer question with zero weight. This is used for testing the MDL-77378 bug. return: qtype_multianswer_question |