See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401]
(no description)
File Size: | 208 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files question/engine/tests/helpers.php question/engine/lib.php |
questionattempt_with_steps_test:: (26 methods):
setUp()
tearDown()
test_get_step_before_start()
test_get_step_at_start()
test_get_step_at_end()
test_get_step_past_end()
test_get_num_steps()
test_get_last_step()
test_get_last_qt_var_there1()
test_get_last_qt_var_there2()
test_get_last_qt_var_missing()
test_get_last_qt_var_missing_default()
test_get_last_behaviour_var_missing()
test_get_last_behaviour_var_there()
test_get_state_gets_state_of_last()
test_get_mark_gets_mark_of_last()
test_get_fraction_gets_fraction_of_last()
test_get_fraction_returns_null_if_none()
test_format_mark()
test_format_max_mark()
test_get_min_fraction()
test_cannot_get_min_fraction_before_start()
test_get_max_fraction()
test_cannot_get_max_fraction_before_start()
validate_manual_mark_cases()
test_validate_manual_mark()
Class: questionattempt_with_steps_test - X-Ref
These tests use a standard fixture of a {@link question_attempt} with three steps.setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
test_get_step_before_start() X-Ref |
No description |
test_get_step_at_start() X-Ref |
No description |
test_get_step_at_end() X-Ref |
No description |
test_get_step_past_end() X-Ref |
No description |
test_get_num_steps() X-Ref |
No description |
test_get_last_step() X-Ref |
No description |
test_get_last_qt_var_there1() X-Ref |
No description |
test_get_last_qt_var_there2() X-Ref |
No description |
test_get_last_qt_var_missing() X-Ref |
No description |
test_get_last_qt_var_missing_default() X-Ref |
No description |
test_get_last_behaviour_var_missing() X-Ref |
No description |
test_get_last_behaviour_var_there() X-Ref |
No description |
test_get_state_gets_state_of_last() X-Ref |
No description |
test_get_mark_gets_mark_of_last() X-Ref |
No description |
test_get_fraction_gets_fraction_of_last() X-Ref |
No description |
test_get_fraction_returns_null_if_none() X-Ref |
No description |
test_format_mark() X-Ref |
No description |
test_format_max_mark() X-Ref |
No description |
test_get_min_fraction() X-Ref |
No description |
test_cannot_get_min_fraction_before_start() X-Ref |
No description |
test_get_max_fraction() X-Ref |
No description |
test_cannot_get_max_fraction_before_start() X-Ref |
No description |
validate_manual_mark_cases() X-Ref |
Test cases for {@see test_validate_manual_mark()}. return: array test cases |
test_validate_manual_mark(float $minfraction, float $maxfraction,float $maxmark, ?string $currentmark, string $expectederror) X-Ref |
Test validate_manual_mark. param: float $minfraction minimum fraction for the question being attempted. param: float $maxfraction maximum fraction for the question being attempted. param: float $maxmark marks for the question attempt. param: string|null $currentmark submitted mark. param: string $expectederror expected error, if any. |