mutter/src/tests/migration
Thomas Mühlbacher 70cdd72040 monitor-config-store: Properly escape monitor spec
Makes sure that monitor specs which may be read from EDID data do not
contain characters that are invalid in XML. Makes it possible to restore
monitor configs of monitor models with characters such as '&' in them.

To make this change not break any tests, the sample monitor configs need
to be adjusted as well. Apostrophes don't strictly have to be escaped in
XML text elements. However, we now do escape the elements in
`<monitorspec>` specifically.

Closes: <https://gitlab.gnome.org/GNOME/mutter/-/issues/1011>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1685>
2021-01-29 16:49:58 +00:00
..
basic-new.xml tests: Add monitor config migration tests 2017-08-21 12:23:51 +08:00
basic-old.xml tests: Add monitor config migration tests 2017-08-21 12:23:51 +08:00
first-rotated-new.xml tests: Add rotated multi head monitor config migration test 2017-08-21 12:23:51 +08:00
first-rotated-old.xml tests: Add rotated multi head monitor config migration test 2017-08-21 12:23:51 +08:00
oneoff-new-finished.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
oneoff-new.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
oneoff-old.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
rotated-new-finished.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
rotated-new.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
rotated-old.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
tiled-new.xml tests: Add monitor config migration tests 2017-08-21 12:23:51 +08:00
tiled-old.xml tests: Add monitor config migration tests 2017-08-21 12:23:51 +08:00
wiggle-new-discarded.xml monitor-tests: Test config migration with refresh rate wiggle room 2017-10-04 09:45:52 -04:00
wiggle-new-finished.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
wiggle-new.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
wiggle-old.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00