Skip to content

Commit

Permalink
Update tests to match the CI's Inkscape version
Browse files Browse the repository at this point in the history
  • Loading branch information
spakin committed Nov 17, 2024
1 parent 43c5315 commit 8d27165
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/data/refs/sis__082a949c332e7677145587b68e1a7658.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><circle cx="396.8503937" cy="561.2598425" r="100" style="stroke:black;fill:yellow;stroke-width:5;filter:url(&quot;#filter5815&quot;)"/></g>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><circle cx="396.8503937" cy="561.2598425" r="100" style="stroke:black;fill:yellow;stroke-width:5;filter:url(#filter5815)"/></g>
</svg>
2 changes: 1 addition & 1 deletion tests/data/refs/sis__6249fdcf4e8d2f996de67f93bcba03ee.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><line x1="20" y1="20" x2="120" y2="20" style="stroke:orange;stroke-width:4;stroke-linecap:round;marker-end:url(&quot;#marker5815&quot;)"/><line x1="120" y1="40" x2="20" y2="40" style="stroke:blue;stroke-width:4;stroke-linecap:round;marker-end:url(&quot;#marker8555&quot;)"/></g>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><line x1="20" y1="20" x2="120" y2="20" style="stroke:orange;stroke-width:4;stroke-linecap:round;marker-end:url(#marker5815)"/><line x1="120" y1="40" x2="20" y2="40" style="stroke:blue;stroke-width:4;stroke-linecap:round;marker-end:url(#marker8555)"/></g>
</svg>
2 changes: 1 addition & 1 deletion tests/data/refs/sis__9daf8bee7e10e3969dad9d51212ffb11.out
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ layout-position-anchor: tl</desc>
<circle style="display:inline;fill:#000080;stroke:none" id="c1" cx="150" cy="450" r="50" inkscape:label="#path3736" transform="matrix(0.965926 0.258819 -0.258819 0.965926 121.58 -23.4893)"/>
<ellipse style="display:inline;fill:none;stroke:#ff0000;stroke-width:16" id="c2" cx="400" cy="450" rx="100" ry="50" inkscape:label="#path3738" transform="matrix(0.965926 0.258819 -0.258819 0.965926 130.098 -88.1938)"/>
<path style="display:inline;fill:#ffff00;stroke:#008000;stroke-width:16" id="c3" sodipodi:type="arc" sodipodi:cx="700" sodipodi:cy="450" sodipodi:rx="100" sodipodi:ry="50" sodipodi:start="0.59013865" sodipodi:end="5.6484511" d="m 783.08635,477.82381 a 100,50 0 0 1 -111.09848,20.17442 100,50 0 0 1 -71.96301,-46.88343 100,50 0 0 1 67.71127,-48.44091 100,50 0 0 1 112.7868,17.67793 L 700,450 Z" inkscape:label="#path3740" transform="matrix(0.965926 0.258819 -0.258819 0.965926 140.032 -163.651)"/>
<path style="display:inline;fill:none;stroke:#000000;stroke-width:10;marker-start:url(&quot;#Arrow2Lstart&quot;)" d="M 100,600 200,700 300,600 400,700" id="p1" inkscape:connector-curvature="0" inkscape:label="#path3746" transform="matrix(0.965926 0.258819 -0.258819 0.965926 176.751 -42.5565)"/>
<path style="display:inline;fill:none;stroke:#000000;stroke-width:10;marker-start:url(#Arrow2Lstart)" d="M 100,600 200,700 300,600 400,700" id="p1" inkscape:connector-curvature="0" inkscape:label="#path3746" transform="matrix(0.965926 0.258819 -0.258819 0.965926 176.751 -42.5565)"/>
<path style="display:inline;fill:none;stroke:#000000;stroke-width:10" d="m 500,600 c 0,0 0,100 100,100 100,0 0,-100 100,-100 100,0 100,100 100,100" id="p2" inkscape:connector-curvature="0" inkscape:label="#path3748" transform="matrix(0.965926 0.258819 -0.258819 0.965926 190.381 -146.084)"/>
<path sodipodi:type="star" style="display:inline;fill:#ffff00;stroke:#008000;stroke-width:10" id="s1" sodipodi:sides="5" sodipodi:cx="189.03001" sodipodi:cy="847.93945" sodipodi:r1="69.364868" sodipodi:r2="34.682434" sodipodi:arg1="0.63598373" sodipodi:arg2="1.2643023" inkscape:flatsided="false" inkscape:rounded="0" inkscape:randomized="0" d="m 244.8332,889.14005 -45.33887,-8.13446 -32.40428,32.73753 -6.27415,-45.63352 -41.14872,-20.70184 41.46124,-20.06861 6.97297,-45.53197 31.89861,33.23044 45.45824,-7.43847 -21.74681,40.60615 z" inkscape:transform-center-x="6.4673011" inkscape:transform-center-y="-0.16430137" transform="matrix(0.965926 0.258819 -0.258819 0.965926 225.641 -18.3635)"/>
<use style="display:inline" x="0" y="0" xlink:href="#s1" inkscape:transform-center-x="6.4673011" inkscape:transform-center-y="-0.16430137" id="u1" transform="matrix(0.965926 0.258819 -0.258819 0.965926 424.817 -16.8572)" width="100%" height="100%" inkscape:label="#use3808"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/data/refs/sis__f1c2d970ef57f8a777751361dcb310f5.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><ellipse cx="200" cy="150" rx="200" ry="150" style="stroke:black;fill:url(&quot;#linearGradient3978&quot;)"/></g>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"><ellipse cx="200" cy="150" rx="200" ry="150" style="stroke:black;fill:url(#linearGradient3978)"/></g>
</svg>
3 changes: 2 additions & 1 deletion tests/data/refs/sispy.out
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

# Generate an image.
path859 = path([Move(8.7185878, 4.0337352), Line(-2.2072895, 0.016013256), Line(8.7185884, -4.0017078), Curve(6.97309, -1.6296469, 6.9831476, 1.6157441, 8.7185878, 4.0337352), zoneClose()], transform='matrix(1.1 0 0 1.1 1.1 0)', fill='#000000', fill_rule='evenodd', stroke_width=0.625, stroke_linejoin='round', stroke_opacity=1, fill_opacity=1)
Arrow2Lstart = marker(path859, ref=(0.0, 0.0), orient='auto', overflow='visible')
rect((651.3089, 353.92661), (900.00002, 555.42472), stroke='none', fill='#ff0000', opacity=0.5, stroke_width=1.11927199)
circle((150, 450), 50, stroke='none', fill='#000080', display='inline')
ellipse((400, 450), (100, 50), stroke='#ff0000', display='inline', stroke_width=16)
arc((700, 450), (100, 50), (0.59013865, 5.6484511), arc_type='slice', stroke='#008000', fill='#ffff00', display='inline', stroke_width=16)
path([Move(100.0, 600.0), Line(200.0, 700.0), Line(300.0, 600.0), Line(400.0, 700.0)], display='inline', stroke_width=10, marker_start='url("#Arrow2Lstart")')
path([Move(100.0, 600.0), Line(200.0, 700.0), Line(300.0, 600.0), Line(400.0, 700.0)], display='inline', stroke_width=10, marker_start=Arrow2Lstart)
path([move(500.0, 600.0), curve(0.0, 0.0, 0.0, 100.0, 100.0, 100.0), curve(100.0, 0.0, 0.0, -100.0, 100.0, -100.0), curve(100.0, 0.0, 100.0, 100.0, 100.0, 100.0)], display='inline', stroke_width=10)
s1 = star(5, (189.03001, 847.93945), (69.364868, 34.682434), angles=(0.63598373, 1.2643023), stroke='#008000', fill='#ffff00', display='inline', stroke_width=10)
clone(s1, transform='translate(200, 2.99622)', display='inline')
Expand Down
3 changes: 2 additions & 1 deletion tests/data/refs/sispy__11ddf183b35dc6e1dd0c991d99226b08.out
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

# Generate an image.
path859 = path([Move(8.7185878, 4.0337352), Line(-2.2072895, 0.016013256), Line(8.7185884, -4.0017078), Curve(6.97309, -1.6296469, 6.9831476, 1.6157441, 8.7185878, 4.0337352), zoneClose()], transform='matrix(1.1 0 0 1.1 1.1 0)', fill='#000000', fill_rule='evenodd', stroke_width=0.625, stroke_linejoin='round', stroke_opacity=1, fill_opacity=1)
Arrow2Lstart = marker(path859, ref=(0.0, 0.0), orient='auto', overflow='visible')
rect((651.3089, 353.92661), (900.00002, 555.42472), stroke='none', fill='#ff0000', opacity=0.5, stroke_width=1.11927199)
circle((150, 450), 50, stroke='none', fill='#000080', display='inline')
ellipse((400, 450), (100, 50), stroke='#ff0000', display='inline', stroke_width=16)
arc((700, 450), (100, 50), (0.59013865, 5.6484511), arc_type='slice', stroke='#008000', fill='#ffff00', display='inline', stroke_width=16)
path([Move(100.0, 600.0), Line(200.0, 700.0), Line(300.0, 600.0), Line(400.0, 700.0)], display='inline', stroke_width=10, marker_start='url("#Arrow2Lstart")')
path([Move(100.0, 600.0), Line(200.0, 700.0), Line(300.0, 600.0), Line(400.0, 700.0)], display='inline', stroke_width=10, marker_start=Arrow2Lstart)
path([move(500.0, 600.0), curve(0.0, 0.0, 0.0, 100.0, 100.0, 100.0), curve(100.0, 0.0, 0.0, -100.0, 100.0, -100.0), curve(100.0, 0.0, 100.0, 100.0, 100.0, 100.0)], display='inline', stroke_width=10)
s1 = star(5, (189.03001, 847.93945), (69.364868, 34.682434), angles=(0.63598373, 1.2643023), stroke='#008000', fill='#ffff00', display='inline', stroke_width=10)
clone(s1, transform='translate(200, 2.99622)', display='inline')
Expand Down

0 comments on commit 8d27165

Please sign in to comment.