See Release Notes
Long Term Support Release
Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]
(no description)
File Size: | 488 lines (21 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
base_test:: (13 methods):
setupBeforeClass()
test_courseformat_saveandload()
test_available_hook()
test_supports_news()
test_supports_news_legacy()
test_get_view_url()
test_get_output_classname()
get_output_classname_provider()
test_get_sections_preferences()
test_set_sections_preference()
test_get_last_section_number()
test_delete_format_data()
delete_format_data_provider()
format_testformat:: (1 method):
get_default_blocks()
format_testlegacy:: (1 method):
get_default_blocks()
setupBeforeClass() X-Ref |
Setup to ensure that fixtures are loaded. |
test_courseformat_saveandload() X-Ref |
Tests the save and load functionality. author: Jason den Dulk |
test_available_hook() X-Ref |
No description |
test_supports_news() X-Ref |
Test for supports_news() with a course format plugin that doesn't define 'news_items' in default blocks. |
test_supports_news_legacy() X-Ref |
Test for supports_news() for old course format plugins that defines 'news_items' in default blocks. |
test_get_view_url() X-Ref |
Test for get_view_url() to ensure that the url is only given for the correct cases |
test_get_output_classname($find, $result, $exception) X-Ref |
Test for get_output_classname method. param: string $find the class to find param: string $result the expected result classname param: bool $exception if the method will raise an exception |
get_output_classname_provider() X-Ref |
Data provider for test_get_output_classname. return: array the testing scenarios |
test_get_sections_preferences() X-Ref |
Test for the default delete format data behaviour. |
test_set_sections_preference() X-Ref |
Test for the default delete format data behaviour. |
test_get_last_section_number() X-Ref |
Test that retrieving last section number for a course |
test_delete_format_data(bool $usehook) X-Ref |
Test for the default delete format data behaviour. param: bool $usehook if it should use course_delete to trigger $format->delete_format_data as a hook |
delete_format_data_provider() X-Ref |
Data provider for test_delete_format_data. return: array the testing scenarios |
Class: format_testformat - X-Ref
Class format_testformat.get_default_blocks() X-Ref |
Returns the list of blocks to be automatically added for the newly created course. return: array |
Class: format_testlegacy - X-Ref
Class format_testlegacy.get_default_blocks() X-Ref |
Returns the list of blocks to be automatically added for the newly created course. return: array |