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.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]

Exporter class tests.

Copyright: 2015 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 281 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes


Class: core_exporter_testcase  - X-Ref

Exporter testcase.

setUp()   X-Ref
No description

test_get_read_structure()   X-Ref
No description

test_get_create_structure()   X-Ref
No description

test_get_update_structure()   X-Ref
No description

test_invalid_data()   X-Ref
No description

test_invalid_related()   X-Ref
No description

Class: is  - X-Ref

test_invalid_related_all_cases()   X-Ref
No description

test_valid_data_and_related()   X-Ref
No description

test_format_text()   X-Ref
No description

test_properties_description()   X-Ref
No description

Class: core_testable_exporter  - X-Ref

Example persistent class.

define_related()   X-Ref
No description

get_other_values(renderer_base $output)   X-Ref
No description

define_properties()   X-Ref
No description

define_other_properties()   X-Ref
No description

get_format_parameters_for_stringA()   X-Ref
No description

get_format_parameters_for_otherstring()   X-Ref
No description

get_format_parameters_for_otherstrings()   X-Ref
No description