Public Member Functions |
| | setUp () |
| | tearDown () |
Protected Member Functions |
| | start_attempt_at_question ($question, $preferredbehaviour, $maxmark=null, $variant=1) |
| | process_submission ($data) |
| | manual_grade ($comment, $mark) |
| | check_current_state ($state) |
| | check_current_mark ($mark) |
| | check_current_output () |
| | get_question_attempt () |
| | get_step_count () |
| | check_step_count ($expectednumsteps) |
| | get_step ($stepnum) |
| | get_contains_question_text_expectation ($question) |
| | get_contains_general_feedback_expectation ($question) |
| | get_does_not_contain_correctness_expectation () |
| | get_contains_correct_expectation () |
| | get_contains_partcorrect_expectation () |
| | get_contains_incorrect_expectation () |
| | get_contains_standard_correct_combined_feedback_expectation () |
| | get_contains_standard_partiallycorrect_combined_feedback_expectation () |
| | get_contains_standard_incorrect_combined_feedback_expectation () |
| | get_does_not_contain_feedback_expectation () |
| | get_does_not_contain_num_parts_correct () |
| | get_contains_num_parts_correct ($num) |
| | get_does_not_contain_specific_feedback_expectation () |
| | get_contains_validation_error_expectation () |
| | get_does_not_contain_validation_error_expectation () |
| | get_contains_mark_summary ($mark) |
| | get_contains_marked_out_of_summary () |
| | get_does_not_contain_mark_summary () |
| | get_contains_checkbox_expectation ($baseattr, $enabled, $checked) |
| | get_contains_mc_checkbox_expectation ($index, $enabled=null, $checked=null) |
| | get_contains_radio_expectation ($baseattr, $enabled, $checked) |
| | get_contains_mc_radio_expectation ($index, $enabled=null, $checked=null) |
| | get_contains_hidden_expectation ($name, $value=null) |
| | get_does_not_contain_hidden_expectation ($name, $value=null) |
| | get_contains_tf_true_radio_expectation ($enabled=null, $checked=null) |
| | get_contains_tf_false_radio_expectation ($enabled=null, $checked=null) |
| | get_contains_cbm_radio_expectation ($certainty, $enabled=null, $checked=null) |
| | get_contains_button_expectation ($name, $value=null, $enabled=null) |
| | get_contains_submit_button_expectation ($enabled=null) |
| | get_tries_remaining_expectation ($n) |
| | get_invalid_answer_expectation () |
| | get_contains_try_again_button_expectation ($enabled=null) |
| | get_does_not_contain_try_again_button_expectation () |
| | get_contains_select_expectation ($name, $choices, $selected=null, $enabled=null) |
| | get_mc_right_answer_index ($mc) |
| | get_no_hint_visible_expectation () |
| | get_contains_hint_expectation ($hinttext) |
Protected Attributes |
| | $displayoptions |
| | $quba |
| | $slot |
Helper base class for tests that walk a question through a sequents of interactions under the control of a particular behaviour.
- Copyright:
- 2009 The Open University http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Definition at line 430 of file helpers.php.