| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Tag related unit tests.
| Copyright: | 2014 Mark Nelson <markn@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 1068 lines (52 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
core_tag_taglib_testcase:: (27 methods):
setUp()
test_tag_set_get()
test_tag_set_add()
test_tag_set_delete()
test_add_remove_item_tag()
test_tag_assign()
test_tag_cleanup()
test_tag_bulk_delete_instances()
prepare_correlated()
test_correlations()
test_cleanup()
test_guess_tag()
test_instances()
test_related_tags()
test_tag_coll_basic()
prepare_move_tags()
test_move_tags_simple()
test_move_tags_split_tag()
test_move_tags_merge_tag()
test_move_tags_with_related()
test_move_tags_corrupted()
test_normalize()
test_create_get()
test_combine_tags()
test_combine_tags_with_related()
test_combine_tags_with_correlated()
get_correlated_tags_names()
Class: core_tag_taglib_testcase - X-Ref
| setUp() X-Ref |
| Test set up. This is executed before running any test in this file. |
| test_tag_set_get() X-Ref |
| Test the tag_set function. This function was deprecated in 3.1 |
| test_tag_set_add() X-Ref |
| Test the tag_set_add function. This function was deprecated in 3.1 |
| test_tag_set_delete() X-Ref |
| Test the tag_set_delete function. This function was deprecated in 3.1 |
| test_add_remove_item_tag() X-Ref |
| Test the core_tag_tag::add_item_tag() and core_tag_tag::remove_item_tag() functions. |
| test_tag_assign() X-Ref |
| Test the tag_assign function. This function was deprecated in 3.1 |
| test_tag_cleanup() X-Ref |
| Test the tag cleanup function used by the cron. |
| test_tag_bulk_delete_instances() X-Ref |
| Test deleting a group of tag instances. |
| prepare_correlated() X-Ref |
| Prepares environment for testing tag correlations return: core_tag_tag[] list of used tags |
| test_correlations() X-Ref |
| Test for function tag_compute_correlations() that is part of tag cron |
| test_cleanup() X-Ref |
| Test for function tag_cleanup() that is part of tag cron |
| test_guess_tag() X-Ref |
| No description |
| test_instances() X-Ref |
| No description |
| test_related_tags() X-Ref |
| No description |
| test_tag_coll_basic() X-Ref |
| Very basic test for create/move/update/delete actions, without any itemtype movements. |
| prepare_move_tags() X-Ref |
| Prepares environment for test_move_tags_* tests |
| test_move_tags_simple() X-Ref |
| No description |
| test_move_tags_split_tag() X-Ref |
| No description |
| test_move_tags_merge_tag() X-Ref |
| No description |
| test_move_tags_with_related() X-Ref |
| No description |
| test_move_tags_corrupted() X-Ref |
| No description |
| test_normalize() X-Ref |
| No description |
| test_create_get() X-Ref |
| Test functions core_tag_tag::create_if_missing() and core_tag_tag::get_by_name_bulk(). |
| test_combine_tags() X-Ref |
| Testing function core_tag_tag::combine_tags() |
| test_combine_tags_with_related() X-Ref |
| Testing function core_tag_tag::combine_tags() when related tags are present. |
| test_combine_tags_with_correlated() X-Ref |
| Testing function core_tag_tag::combine_tags() when correlated tags are present. |
| get_correlated_tags_names($tag) X-Ref |
| Help method to return sorted array of names of correlated tags to use for assertions param: core_tag $tag return: string |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |