| [ Index ] |
PHP Cross Reference of Moodle 310 |
[Source view] [Print] [Project Stats]
Unit tests for lib/classes/output/mustache_template_finder.php
| Copyright: | 2015 Damyon Wiese |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 198 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
core_output_mustache_template_finder_testcase:: (6 methods):
valid_template_directories_provider()
test_get_template_directories_for_component()
test_invalid_component_get_template_directories_for_component()
valid_template_filepath_provider()
test_get_template_filepath()
test_invalid_component_get_template_filepath()
Class: core_output_mustache_template_finder_testcase - X-Ref
Unit tests for the Mustache template finder class (contains logic about| valid_template_directories_provider() X-Ref |
| Data provider which reutrns a set of valid template directories to be used when testing get_template_directories_for_component. return: array |
| test_get_template_directories_for_component(string $component, string $theme, array $paths) X-Ref |
| Tests for get_template_directories_for_component. param: string $component param: string $theme param: array $paths |
| test_invalid_component_get_template_directories_for_component() X-Ref |
| Tests for get_template_directories_for_component when dealing with an invalid component. |
| valid_template_filepath_provider() X-Ref |
| Data provider which reutrns a set of valid template directories to be used when testing get_template_directories_for_component. return: array |
| test_get_template_filepath(string $template, string $theme, string $location) X-Ref |
| Tests for get_template_filepath. param: string $template param: string $theme param: string $location |
| test_invalid_component_get_template_filepath() X-Ref |
| Tests for get_template_filepath when dealing with an invalid component. |
| Generated: Wed Jan 22 11:59:49 2025 | Cross-referenced by PHPXref 0.7.1 |