| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for the class in load_data.php
| Copyright: | 2014 Adrian Greeve |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 572 lines (24 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
gradeimport_csv_load_data_testcase:: (12 methods):
tearDown()
csv_load()
test_load_csv_content()
test_fetch_grade_items()
test_insert_grade_record()
test_import_new_grade_item()
test_check_user_exists()
test_create_feedback()
test_update_grade_item()
test_map_user_data_with_value()
test_prepare_import_grade_data()
test_force_import_option()
Class: gradeimport_csv_load_data_testcase - X-Ref
Unit tests for lib.php| tearDown() X-Ref |
| No description |
| csv_load($content) X-Ref |
| Load up the above text through the csv import. param: string $content Text to be imported into the gradebook. return: array All text separated by commas now in an array. |
| test_load_csv_content() X-Ref |
| Test loading data and returning preview content. |
| test_fetch_grade_items() X-Ref |
| Test fetching grade items for the course. |
| test_insert_grade_record() X-Ref |
| Test the inserting of grade record data. |
| test_import_new_grade_item() X-Ref |
| Test preparing a new grade item for import into the gradebook. |
| test_check_user_exists() X-Ref |
| Check that the user matches a user in the system. |
| test_create_feedback() X-Ref |
| Test preparing feedback for inserting / updating into the gradebook. |
| test_update_grade_item() X-Ref |
| Test preparing grade_items for upgrading into the gradebook. |
| test_map_user_data_with_value() X-Ref |
| Test importing data and mapping it with items in the course. |
| test_prepare_import_grade_data() X-Ref |
| Test importing data into the gradebook. |
| test_force_import_option() X-Ref |
| No description |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |