Differences Between: [Versions 310 and 311] [Versions 39 and 311]
(no description)
File Size: | 1391 lines (51 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
giftformat_test:: (28 methods):
assert_same_gift()
test_import_essay()
test_export_essay()
test_import_match()
test_export_match()
test_import_multichoice()
numberingstyle_provider()
test_import_multichoice_multi()
test_import_multichoice_multi_tricky()
test_export_multichoice()
test_export_multichoice_multi_tricky()
test_import_numerical()
test_export_numerical()
test_import_shortanswer()
test_import_shortanswer_with_general_feedback()
test_export_shortanswer()
test_export_shortanswer_with_general_feedback()
test_import_truefalse()
test_import_truefalse_true_answer1()
test_import_truefalse_true_answer2()
test_export_truefalse()
test_export_backslash()
test_import_backslash()
test_import_pre_content()
test_import_question_with_tags()
extract_idnumber_and_tags_from_comment_testcases()
test_extract_idnumber_and_tags_from_comment()
test_export_question_with_tags_and_idnumber()
Class: giftformat_test - X-Ref
Unit tests for the GIFT import/export format.assert_same_gift($expectedtext, $text) X-Ref |
No description |
test_import_essay() X-Ref |
No description |
test_export_essay() X-Ref |
No description |
test_import_match() X-Ref |
No description |
test_export_match() X-Ref |
No description |
test_import_multichoice($numberingstyle) X-Ref |
Test import of multichoice question in GIFT format param: string $numberingstyle multichoice numbering style to set for qtype_multichoice |
numberingstyle_provider() X-Ref |
Return a list of numbering styles (see question/type/multichoice/questiontype.php for valid choices) return: array Array of 1-element arrays of qtype_multichoice numbering styles |
test_import_multichoice_multi() X-Ref |
No description |
test_import_multichoice_multi_tricky() X-Ref |
No description |
test_export_multichoice() X-Ref |
No description |
test_export_multichoice_multi_tricky() X-Ref |
No description |
test_import_numerical() X-Ref |
No description |
test_export_numerical() X-Ref |
No description |
test_import_shortanswer() X-Ref |
No description |
test_import_shortanswer_with_general_feedback() X-Ref |
No description |
test_export_shortanswer() X-Ref |
No description |
test_export_shortanswer_with_general_feedback() X-Ref |
No description |
test_import_truefalse() X-Ref |
No description |
test_import_truefalse_true_answer1() X-Ref |
No description |
test_import_truefalse_true_answer2() X-Ref |
No description |
test_export_truefalse() X-Ref |
No description |
test_export_backslash() X-Ref |
No description |
test_import_backslash() X-Ref |
No description |
test_import_pre_content() X-Ref |
No description |
test_import_question_with_tags() X-Ref |
No description |
extract_idnumber_and_tags_from_comment_testcases() X-Ref |
Data provider for test_extract_idnumber_and_tags_from_comment. return: array the test cases. |
test_extract_idnumber_and_tags_from_comment(string $expectedidnumber, array $expectedtags, string $comment) X-Ref |
Test extract_idnumber_and_tags_from_comment. param: string $expectedidnumber the expected idnumber. param: array $expectedtags the expected tags. param: string $comment the comment to parse. |
test_export_question_with_tags_and_idnumber() X-Ref |
No description |