Differences Between: [Versions 310 and 311] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
(no description)
File Size: | 1391 lines (65 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
externallib_test:: (34 methods):
setUp()
test_mod_data_get_databases_by_courses()
test_view_database_invalid_id()
test_view_database_not_enrolled_user()
test_view_database_no_capabilities()
test_view_database()
test_get_data_access_information_student()
test_get_data_access_information_teacher()
test_get_data_access_information_groups()
populate_database_with_entries()
test_get_entries()
test_get_entry_visible_groups()
test_get_entry_separated_groups()
test_get_entry_other_group_separated_groups()
test_get_fields()
test_get_fields_database_without_fields()
test_search_entries()
test_approve_entry()
test_unapprove_entry()
test_approve_entry_missing_permissions()
test_delete_entry_as_teacher()
test_delete_entry_as_student()
test_delete_entry_as_student_in_read_only_period()
test_delete_entry_missing_permissions()
test_add_entry()
test_add_entry_empty_form()
test_add_entry_read_only_period()
test_add_entry_max_num_entries()
test_add_entry_invalid_group()
test_update_entry()
test_update_entry_empty_data()
test_update_entry_read_only_period()
test_update_entry_other_user()
test_get_entry_rating_information()
Class: externallib_test - X-Ref
Database module external functions testssetUp() X-Ref |
Set up for every test |
test_mod_data_get_databases_by_courses() X-Ref |
Test get databases by courses |
test_view_database_invalid_id() X-Ref |
Test view_database invalid id. |
test_view_database_not_enrolled_user() X-Ref |
Test view_database not enrolled user. |
test_view_database_no_capabilities() X-Ref |
Test view_database no capabilities. |
test_view_database() X-Ref |
Test view_database. |
test_get_data_access_information_student() X-Ref |
Test get_data_access_information for student. |
test_get_data_access_information_teacher() X-Ref |
Test get_data_access_information for teacher. |
test_get_data_access_information_groups() X-Ref |
Test get_data_access_information with groups. |
populate_database_with_entries() X-Ref |
Helper method to populate the database with some entries. return: array the entry ids created |
test_get_entries() X-Ref |
Test get_entries |
test_get_entry_visible_groups() X-Ref |
Test get_entry_visible_groups. |
test_get_entry_separated_groups() X-Ref |
Test get_entry_separated_groups. |
test_get_entry_other_group_separated_groups() X-Ref |
Test get_entry from other group in separated groups. |
test_get_fields() X-Ref |
Test get_fields. |
test_get_fields_database_without_fields() X-Ref |
Test get_fields_database_without_fields. |
test_search_entries() X-Ref |
Test search_entries. |
test_approve_entry() X-Ref |
Test approve_entry. |
test_unapprove_entry() X-Ref |
Test unapprove_entry. |
test_approve_entry_missing_permissions() X-Ref |
Test approve_entry missing permissions. |
test_delete_entry_as_teacher() X-Ref |
Test delete_entry as teacher. Check I can delete any entry. |
test_delete_entry_as_student() X-Ref |
Test delete_entry as student. Check I can delete my own entries. |
test_delete_entry_as_student_in_read_only_period() X-Ref |
Test delete_entry as student in read only mode period. Check I cannot delete my own entries in that period. |
test_delete_entry_missing_permissions() X-Ref |
Test delete_entry with an user missing permissions. |
test_add_entry() X-Ref |
Test add_entry. |
test_add_entry_empty_form() X-Ref |
Test add_entry empty_form. |
test_add_entry_read_only_period() X-Ref |
Test add_entry read_only_period. |
test_add_entry_max_num_entries() X-Ref |
Test add_entry max_num_entries. |
test_add_entry_invalid_group() X-Ref |
Test add_entry invalid group. |
test_update_entry() X-Ref |
Test update_entry. |
test_update_entry_empty_data() X-Ref |
Test update_entry sending empty data. |
test_update_entry_read_only_period() X-Ref |
Test update_entry in read only period. |
test_update_entry_other_user() X-Ref |
Test update_entry other_user. |
test_get_entry_rating_information() X-Ref |
Test get_entry_rating_information. |