Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
helpers.php File Reference

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_filter_test_helper
 Provide utility function for random question test. More...
 
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_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