See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401] [Versions 401 and 402] [Versions 401 and 403]
Unit tests for the model.
Copyright: | 2017 David MonllaĆ³ {@link http://www.davidmonllao.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 603 lines (25 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 7 files analytics/tests/fixtures/test_indicator_min.php analytics/tests/fixtures/test_analysis.php analytics/tests/fixtures/test_target_course_level_shortname.php analytics/tests/fixtures/test_target_shortname.php analytics/tests/fixtures/test_indicator_max.php analytics/tests/fixtures/test_indicator_fullname.php analytics/tests/fixtures/test_static_target_shortname.php |
model_test:: (20 methods):
setUp()
test_enable()
test_create()
test_delete()
test_clear()
test_clear_static()
test_model_manager()
test_output_dir()
test_unique_id()
test_exists()
test_model_timelimit()
test_model_config_get_class_component()
test_import_model_config()
test_can_export_configuration()
test_export_config()
test_inplace_editable_name()
test_get_name_and_rename()
test_potential_timesplittings()
test_get_samples()
add_fake_log()
testable_model:: (1 method):
init_analyser()
Class: model_test - X-Ref
Unit tests for the model.setUp() X-Ref |
No description |
test_enable() X-Ref |
No description |
test_create() X-Ref |
No description |
test_delete() X-Ref |
test_delete |
test_clear() X-Ref |
test_clear |
test_clear_static() X-Ref |
Test behaviour of {\core_analytics\model::clear()} for static models. |
test_model_manager() X-Ref |
No description |
test_output_dir() X-Ref |
No description |
test_unique_id() X-Ref |
No description |
test_exists() X-Ref |
test_exists return: void |
test_model_timelimit() X-Ref |
test_model_timelimit return: null |
test_model_config_get_class_component() X-Ref |
Test model_config::get_class_component. |
test_import_model_config() X-Ref |
Test that import_model import models' configurations. |
test_can_export_configuration() X-Ref |
Test can export configuration |
test_export_config() X-Ref |
Test export_config |
test_inplace_editable_name() X-Ref |
Test the implementation of {@link \core_analytics\model::inplace_editable_name()}. |
test_get_name_and_rename() X-Ref |
Test how the models present themselves in the UI and that they can be renamed. |
test_potential_timesplittings() X-Ref |
Tests model::get_potential_timesplittings() |
test_get_samples() X-Ref |
Tests model::get_samples() return: null |
add_fake_log() X-Ref |
Generates a model log record. |
Class: testable_model - X-Ref
Testable version to change methods' visibility.init_analyser($options = array() X-Ref |
init_analyser param: array $options return: void |