Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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