Differences Between: [Versions 310 and 402] [Versions 39 and 402]
(no description)
File Size: | 223 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
collection_test:: (10 methods):
test_add_type_generic_type()
test_add_type_known_type()
test_add_type_multiple()
test_add_database_table()
test_add_user_preference()
test_link_external_location()
test_link_subsystem()
test_link_plugintype()
component_list_provider()
test_get_component()
Class: collection_test - X-Ref
Tests for the \core_privacy API's collection functionality.test_add_type_generic_type() X-Ref |
Test that adding an unknown type causes the type to be added to the collection. |
test_add_type_known_type() X-Ref |
Test that adding a known type works as anticipated. |
test_add_type_multiple() X-Ref |
Test that adding multiple types returns them all. |
test_add_database_table() X-Ref |
Test that the add_database_table function adds a database table. |
test_add_user_preference() X-Ref |
Test that the add_user_preference function adds a single user preference. |
test_link_external_location() X-Ref |
Test that the link_external_location function links an external location. |
test_link_subsystem() X-Ref |
Test that the link_subsystem function links the subsystem. |
test_link_plugintype() X-Ref |
Test that the link_plugintype function links the plugin. |
component_list_provider() X-Ref |
Data provider to supply a list of valid components. return: array |
test_get_component($component) X-Ref |
Test that we can get the component correctly. The component will be used for string translations. param: string $component The component to test |