|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
This file contains helper classes for testing the question engine. More...
Classes | |
| class | data_loading_method_test_base |
| Helper base class for tests that need to simulate records loaded from the database. More... | |
| class | qbehaviour_walkthrough_test_base |
| Helper base class for question walk-through tests. More... | |
| class | question_check_specified_fields_expectation |
| class | question_contains_select_expectation |
| class | question_contains_tag_with_attribute |
| class | question_contains_tag_with_attributes |
| class | question_contains_tag_with_contents |
| class | question_does_not_contain_tag_with_attributes |
| class | question_no_pattern_expectation |
| class | question_pattern_expectation |
| class | question_test_helper |
| Base class for question type test helpers. More... | |
| class | question_test_recordset |
| Simple class that implements the moodle_recordset API based on an array of test data. More... | |
| class | question_testcase |
| class | test_question_maker |
| This class creates questions of various types, which can then be used when testing. More... | |
| class | testable_core_question_renderer |
| Helper class for tests that help to test core_question_renderer. More... | |
| class | testable_question_attempt |
| Makes some protected methods of question_attempt public to facilitate testing. More... | |
| class | testable_question_engine_unit_of_work |
| Test subclass to allow access to some protected data so that the correct behaviour can be verified. More... | |
| class | testing_db_record_builder |
| Helper for tests that need to simulate records loaded from the database. More... | |
Variables | |
| global | $CFG |
This file contains helper classes for testing the question engine.
@subpackage questionengine