[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for parts of {@link question_engine_data_mapper}.
Copyright: | 2014 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 157 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files question/engine/lib.php question/engine/tests/helpers.php |
question_engine_data_mapper_testcase:: (2 methods):
test_set_max_mark_in_attempts()
test_load_used_variants()
Class: question_engine_data_mapper_testcase - X-Ref
Unit tests for parts of {@link question_engine_data_mapper}.test_set_max_mark_in_attempts() X-Ref |
We create two usages, each with two questions, a short-answer marked out of 5, and and essay marked out of 10. We just start these attempts. Then we change the max mark for the short-answer question in one of the usages to 20, using a qubaid_list, and verify. Then we change the max mark for the essay question in the other usage to 2, using a qubaid_join, and verify. |
test_load_used_variants() X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |