moodle/privacy/tests
David Mudrák 3ecbf154db MDL-62003 privacy: Consistently export files into _files folder
There were two major issues with the previous implementation:

* The exported folder name was localised so it was "Files" or "Soubory"
  etc depending on the current language. Yet URLs referring to the files
  in that folder were always rewritten with hard-coded English "files".
* Files from all fileareas and itemids were all exported to a single
  target directory. So if there were two files with the same name being
  exported from multiple areas (such as submission_content and
  submission_attachment in the workshop module), one would overwrite
  another.

The patch addresses these issues as follows:

* To unify the folder name and also to minimise the risk of conflict
  with a subcontext folder, we now always export stored files under
  "_files" folder.
* Under that folder, there is a subdirectory with the area name and then
  eventually another subdirectory with non-zero itemid. And there
  finally the stored_file is exported to under its own file path.
2018-04-18 17:10:12 +02:00
..
fixtures MDL-61477 admin: sitepolicy handler API 2018-03-15 11:32:55 +08:00
approved_contextlist_test.php
collection_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
contextlist_base_test.php
contextlist_collection_test.php
contextlist_test.php
legacy_polyfill_test.php MDL-61751 core_privacy: Correct test return 2018-04-01 13:34:44 +08:00
manager_test.php MDL-61815 core_privacy: Fix for metadata types and new method. 2018-04-03 12:05:18 +08:00
moodle_content_writer_test.php MDL-62003 privacy: Consistently export files into _files folder 2018-04-18 17:10:12 +02:00
provider_test.php MDL-61861 privacy: Add unit tests to check all providers. 2018-04-08 14:12:42 +08:00
request_helper_test.php
request_transform_test.php
sitepolicy_test.php MDL-61477 admin: sitepolicy handler API 2018-03-15 11:32:55 +08:00
tests_content_writer_test.php MDL-61828 core_privacy: Support proper nesting in test trees 2018-04-08 13:35:09 +08:00
types_database_table_test.php
types_external_location_test.php
types_plugintype_link_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
types_subsystem_link_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
types_user_preference_test.php
writer_test.php