test: add merge script test fixtures

This commit is contained in:
pyr0ball 2026-05-25 19:14:19 -07:00
parent f1881d4366
commit 612db50c2c
3 changed files with 35 additions and 0 deletions

11
tests/fixtures/patch-minimal.xml vendored Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape>
<group id="options">
<group id="scroll" mousewheel-zoom="false" />
<group id="zoom" mousewheel-zoom-ctrl="true" />
<group id="new-group" new-attr="new-value" />
</group>
<group id="tools">
<group id="nodes" square-handles="true" show-rotation-handles="false" />
</group>
</inkscape>

11
tests/fixtures/prefs-fresh.xml vendored Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape version="1" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<group id="options">
<group id="window" geometry="800x600+100+100" save-geom="true" />
<group id="scroll" mousewheel-zoom="true" />
<group id="zoom" mousewheel-zoom-ctrl="false" />
</group>
<group id="tools">
<group id="nodes" square-handles="false" show-rotation-handles="true" />
</group>
</inkscape>

13
tests/fixtures/prefs-user-custom.xml vendored Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape version="1" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<group id="options">
<group id="window" geometry="1920x1080+0+0" save-geom="true" />
<group id="scroll" mousewheel-zoom="true" />
<group id="zoom" mousewheel-zoom-ctrl="false" />
<group id="user-custom-setting" my-value="keep-this" />
</group>
<group id="tools">
<group id="nodes" square-handles="false" show-rotation-handles="true" user-pref="preserved" />
<group id="user-tool-pref" color="#ff0000" />
</group>
</inkscape>