moodle/backup/util/structure
Eloy Lafuente (stronk7) 9f53b0e965 MDL-73971 phpunit: Move more tests to use correct names and namespaces
Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- Some fixtures, initially defined in the test files have been
  moved to new files in fixtures subdirectory, leaving the unit
  test files clearer:
  - moodle2_course_format_test.php
- Rename wrong named test:
  - baseoptiogroup_test = baseoptigroup_test
2022-05-06 18:29:11 +02:00
..
tests MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
backup_attribute.class.php
backup_final_element.class.php
backup_nested_element.class.php MDL-31390 Allow data to be sorted at backup 2013-03-01 10:03:13 +00:00
backup_optigroup.class.php MDL-31017 whitespace clean - take1 2012-01-04 16:27:32 +01:00
backup_optigroup_element.class.php
backup_structure_processor.class.php MDL-45574 Backup progress: Can time out with large number of files 2014-06-06 10:41:40 +01:00
base_atom.class.php
base_attribute.class.php
base_final_element.class.php MDL-24962 backup - now destroying circular refs manually to help PHP 5.2 2010-11-01 22:09:44 +00:00
base_nested_element.class.php MDL-60281 general: various strict corrections for PHP7.2 2017-10-16 09:37:20 +08:00
base_optigroup.class.php
base_processor.class.php
restore_path_element.class.php MDL-34118 question backup: a mod can use usages in different ways. 2012-08-17 11:13:10 +01:00