Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
This file contains tests for the question_engine_unit_of_work class.
Copyright: | 2012 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 511 lines (26 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_unit_of_work_test:: (23 methods):
setUp()
tearDown()
setup_initial_test_state()
get_test_data()
test_initial_state()
test_update_usage()
test_add_question()
test_add_and_start_question()
test_process_action()
test_regrade_same_steps()
test_regrade_losing_steps()
test_tricky_regrade()
test_move_question()
test_move_question_then_modify()
test_move_question_then_move_again()
test_set_max_mark()
test_set_question_attempt_metadata()
test_set_question_attempt_metadata_then_change()
test_set_metadata_previously_set_but_dont_actually_change()
test_set_metadata_previously_set()
test_set_metadata_in_new_question()
test_set_metadata_then_move()
test_move_then_set_metadata()
Class: question_engine_unit_of_work_test - X-Ref
Unit tests for the {@link question_engine_unit_of_work} class.setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
setup_initial_test_state($testdata) X-Ref |
No description |
get_test_data() X-Ref |
No description |
test_initial_state() X-Ref |
No description |
test_update_usage() X-Ref |
No description |
test_add_question() X-Ref |
No description |
test_add_and_start_question() X-Ref |
No description |
test_process_action() X-Ref |
No description |
test_regrade_same_steps() X-Ref |
No description |
test_regrade_losing_steps() X-Ref |
No description |
test_tricky_regrade() X-Ref |
No description |
test_move_question() X-Ref |
No description |
test_move_question_then_modify() X-Ref |
No description |
test_move_question_then_move_again() X-Ref |
No description |
test_set_max_mark() X-Ref |
No description |
test_set_question_attempt_metadata() X-Ref |
No description |
test_set_question_attempt_metadata_then_change() X-Ref |
No description |
test_set_metadata_previously_set_but_dont_actually_change() X-Ref |
No description |
test_set_metadata_previously_set() X-Ref |
No description |
test_set_metadata_in_new_question() X-Ref |
No description |
test_set_metadata_then_move() X-Ref |
No description |
test_move_then_set_metadata() X-Ref |
No description |