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
Marco Trevisan (Treviño)
f15ce01e2b
monitor-unit-tests: Ensure configuration is preserved in laptop with closed lid
...
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1200
2020-04-16 15:14:03 +00:00
Jonas Ådahl
6621a9b5a0
tests: Add missing monitors config XML file
...
Lid switch test, but lid-switch.xml was not added, making it fail due to
theh file not being found.
2018-07-04 10:07:30 +00:00
Jonas Ådahl
99e1cd549d
monitor-unit-tests: Test configs with explicitly disabled monitors
...
Check that configurations where monitors are disabled are properly
used. Also test that old configurations with explicitly disabled
outputs are migrated properly.
https://bugzilla.gnome.org/show_bug.cgi?id=787629
2017-10-02 15:34:41 -04:00
Jonas Ådahl
4cc5b25493
tests: Add test for setting an interlaced monitor mode
...
https://bugzilla.gnome.org/show_bug.cgi?id=765011
2017-07-14 20:54:27 +08:00
Jonas Ådahl
e42206cc43
tests: Add non-precise fractional scaling test
...
https://bugzilla.gnome.org/show_bug.cgi?id=765011
2017-07-14 20:54:27 +08:00
Jonas Ådahl
5ab116a87f
tests: Add tests for fractional scaling
...
https://bugzilla.gnome.org/show_bug.cgi?id=765011
2017-07-14 20:54:26 +08:00
Jonas Ådahl
fb5ebffb8d
tests/monitor-unit-tests: Check handling of odd tiled monitors
...
Add tests for handling tiled monitors where the origin tile output is
not the main output.
https://bugzilla.gnome.org/show_bug.cgi?id=781723
2017-05-26 14:32:43 +08:00
Jonas Ådahl
dd14e1cebc
tests: Add monitor transform config parsing tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-04-07 22:30:49 +08:00
Jonas Ådahl
744b4dcb7c
tests/monitor-unit-tests: Add tests for custom tiled monitor modes
...
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-04-07 22:30:48 +08:00
Jonas Ådahl
4e03e89869
tests: Check that mirroring is configured properly
...
This test checks that mirroring works when using separate CRTCs. It
does not check cloning.
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-04-07 22:30:47 +08:00
Jonas Ådahl
4e17017501
monitor-unit-tests: Check custom tiled monitor config
...
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-04-07 22:30:47 +08:00
Jonas Ådahl
63bc86cd43
tests: Test configured custom logical monitor scale
...
Check that a configured logical monitor scale overrides any calculated
one.
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-04-07 22:30:47 +08:00
Jonas Ådahl
e9a8208607
tests: Add monitor store and config test for output underscanning
...
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-01-25 16:28:56 +08:00
Jonas Ådahl
0fd9c00580
tests: Add monitor and monitor store test for custom primary
...
Test that having a custom primary logical monitor is configured as
expected.
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-01-25 16:28:56 +08:00
Jonas Ådahl
702facbc91
monitor-store-unit-tests: Add test for vertical placement
...
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-01-25 16:28:56 +08:00
Jonas Ådahl
339340df34
tests: Add MetaMonitorConfigStore tests
...
Add tests that check that a XML configuration file results in correct
MetaMonitorsConfig objects.
https://bugzilla.gnome.org/show_bug.cgi?id=777732
2017-01-25 16:28:56 +08:00