tests for golden png

This commit is contained in:
2026-06-13 08:58:51 +02:00
parent f85a68d9fc
commit e2798b26cf
41 changed files with 1127 additions and 1039 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 189 KiB

View File

@@ -42,16 +42,16 @@ hide <<choice_color_5>> stereotype
[*] --> STATE1
state STATE17 <<choice>>
state STATE16 <<choice>>
state STATE14 <<choice>>
state STATE12 <<choice>>
state STATE11 <<choice>>
state STATE8 <<choice>>
state STATE20 <<choice>>
state STATE9 <<choice>>
state STATE19 <<choice>>
state STATE17 <<choice>>
state STATE18 <<choice>>
state STATE19 <<choice>>
state STATE20 <<choice>>
state STATE11 <<choice>>
state STATE12 <<choice>>
state STATE14 <<choice>>
state STATE9 <<choice>>
state STATE8 <<choice>>
STATE1 -[#1E90FF,bold]-> STATE2 <<external>> <<e_Events_EVENT1>> : EVENT1
STATE2 -[#1E90FF,bold]-> STATE3 <<external>> <<e_Events_EVENT2>> : EVENT2
@@ -68,44 +68,44 @@ STATE12 -[#1E90FF,bold]-> STATE13 <<external>> <<e_Events_EVENT12>> : EVENT12
STATE13 -[#1E90FF,bold]-> STATE14 <<external>> <<e_Events_EVENT13>> : EVENT13
STATE14 -[#1E90FF,bold]-> STATE15 <<external>> <<e_Events_EVENT14>> : EVENT14
STATE15 -[#1E90FF,bold]-> STATE16 <<external>> <<e_Events_EVENT15>> : EVENT15
STATE16 -[#4682B4,bold]-> STATE17 <<choice_color_1>> : [guardVarEquals("value1")] (order=0)
STATE16 -[#4682B4,bold]-> STATE18 <<choice_color_1>> : [guardVarEquals("value2")] (order=1)
STATE16 -[#4682B4,bold]-> STATE19 <<choice_color_1>> : (order=2)
STATE17 -[#FF6347,bold]-> STATE20 <<choice_color_0>> : [guardEventHeaderEquals("header1","foo")] (order=0)
STATE17 -[#FF6347,bold]-> STATE16 <<choice_color_0>> : (order=1)
STATE18 -[#FFD700,bold]-> STATE19 <<choice_color_3>> : [guardVarEquals("value3")] (order=0)
STATE18 -[#FFD700,bold]-> STATE20 <<choice_color_3>> : (order=1)
STATE19 -[#32CD32,bold]-> STATE1 <<choice_color_2>> : [guardVarEquals("reset")] (order=0)
STATE19 -[#32CD32,bold]-> STATE20 <<choice_color_2>> : (order=1)
STATE20 -[#FF6347,bold]-> STATE5 <<choice_color_0>> : [guardEventHeaderEquals("header2","bar")] (order=0)
STATE20 -[#FF6347,bold]-> STATE1 <<choice_color_0>> : (order=1)
STATE11 -[#6A5ACD,bold]-> STATE13 <<choice_color_4>> : [guardVarEquals("goTo13")] (order=0)
STATE11 -[#6A5ACD,bold]-> STATE14 <<choice_color_4>> : [guardVarEquals("goTo14")] (order=1)
STATE11 -[#6A5ACD,bold]-> STATE15 <<choice_color_4>> : (order=2)
STATE12 -[#FFD700,bold]-> STATE10 <<choice_color_3>> : [guardVarEquals("goBack10")] (order=0)
STATE12 -[#FFD700,bold]-> STATE11 <<choice_color_3>> : (order=1)
STATE14 -[#32CD32,bold]-> STATE12 <<choice_color_2>> : [guardVarEquals("loop12")] (order=0)
STATE14 -[#32CD32,bold]-> STATE16 <<choice_color_2>> : (order=1)
STATE9 -[#4682B4,bold]-> STATE8 <<choice_color_1>> : [guardVarEquals("stepBack")] (order=0)
STATE9 -[#4682B4,bold]-> STATE7 <<choice_color_1>> : [guardVarEquals("stepBackMore")] (order=1)
STATE9 -[#4682B4,bold]-> STATE6 <<choice_color_1>> : (order=2)
STATE8 -[#FF69B4,bold]-> STATE9 <<choice_color_5>> : [guardVarEquals("forward9")] (order=0)
STATE8 -[#FF69B4,bold]-> STATE10 <<choice_color_5>> : (order=1)
hide <<e_Events_EVENT9>> stereotype
hide <<e_Events_EVENT13>> stereotype
hide <<e_Events_EVENT8>> stereotype
hide <<e_Events_EVENT14>> stereotype
hide <<e_Events_EVENT7>> stereotype
hide <<e_Events_EVENT15>> stereotype
hide <<e_Events_EVENT6>> stereotype
hide <<e_Events_EVENT5>> stereotype
hide <<e_Events_EVENT4>> stereotype
hide <<e_Events_EVENT3>> stereotype
hide <<e_Events_EVENT2>> stereotype
STATE16 -[#FF6347,bold]-> STATE17 <<choice_color_0>> : [guardVarEquals("value1")] (order=0)
STATE16 -[#FF6347,bold]-> STATE18 <<choice_color_0>> : [guardVarEquals("value2")] (order=1)
STATE16 -[#FF6347,bold]-> STATE19 <<choice_color_0>> : (order=2)
STATE17 -[#4682B4,bold]-> STATE20 <<choice_color_1>> : [guardEventHeaderEquals("header1","foo")] (order=0)
STATE17 -[#4682B4,bold]-> STATE16 <<choice_color_1>> : (order=1)
STATE18 -[#32CD32,bold]-> STATE19 <<choice_color_2>> : [guardVarEquals("value3")] (order=0)
STATE18 -[#32CD32,bold]-> STATE20 <<choice_color_2>> : (order=1)
STATE19 -[#FFD700,bold]-> STATE1 <<choice_color_3>> : [guardVarEquals("reset")] (order=0)
STATE19 -[#FFD700,bold]-> STATE20 <<choice_color_3>> : (order=1)
STATE20 -[#6A5ACD,bold]-> STATE5 <<choice_color_4>> : [guardEventHeaderEquals("header2","bar")] (order=0)
STATE20 -[#6A5ACD,bold]-> STATE1 <<choice_color_4>> : (order=1)
STATE11 -[#FF69B4,bold]-> STATE13 <<choice_color_5>> : [guardVarEquals("goTo13")] (order=0)
STATE11 -[#FF69B4,bold]-> STATE14 <<choice_color_5>> : [guardVarEquals("goTo14")] (order=1)
STATE11 -[#FF69B4,bold]-> STATE15 <<choice_color_5>> : (order=2)
STATE12 -[#FF6347,bold]-> STATE10 <<choice_color_0>> : [guardVarEquals("goBack10")] (order=0)
STATE12 -[#FF6347,bold]-> STATE11 <<choice_color_0>> : (order=1)
STATE14 -[#4682B4,bold]-> STATE12 <<choice_color_1>> : [guardVarEquals("loop12")] (order=0)
STATE14 -[#4682B4,bold]-> STATE16 <<choice_color_1>> : (order=1)
STATE9 -[#32CD32,bold]-> STATE8 <<choice_color_2>> : [guardVarEquals("stepBack")] (order=0)
STATE9 -[#32CD32,bold]-> STATE7 <<choice_color_2>> : [guardVarEquals("stepBackMore")] (order=1)
STATE9 -[#32CD32,bold]-> STATE6 <<choice_color_2>> : (order=2)
STATE8 -[#FFD700,bold]-> STATE9 <<choice_color_3>> : [guardVarEquals("forward9")] (order=0)
STATE8 -[#FFD700,bold]-> STATE10 <<choice_color_3>> : (order=1)
hide <<e_Events_EVENT1>> stereotype
hide <<e_Events_EVENT2>> stereotype
hide <<e_Events_EVENT3>> stereotype
hide <<e_Events_EVENT4>> stereotype
hide <<e_Events_EVENT5>> stereotype
hide <<e_Events_EVENT6>> stereotype
hide <<e_Events_EVENT7>> stereotype
hide <<e_Events_EVENT8>> stereotype
hide <<e_Events_EVENT9>> stereotype
hide <<e_Events_EVENT10>> stereotype
hide <<e_Events_EVENT11>> stereotype
hide <<e_Events_EVENT12>> stereotype
hide <<e_Events_EVENT13>> stereotype
hide <<e_Events_EVENT14>> stereotype
hide <<e_Events_EVENT15>> stereotype
@enduml

View File

@@ -1,82 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="STATE1">
<state id="STATE4">
<transition target="STATE5" event="Events.EVENT4"/>
</state>
<state id="STATE3">
<transition target="STATE4" event="Events.EVENT3"/>
<state id="STATE1">
<transition target="STATE2" event="Events.EVENT1"/>
</state>
<state id="STATE2">
<transition target="STATE3" event="Events.EVENT2"/>
</state>
<state id="STATE1">
<transition target="STATE2" event="Events.EVENT1"/>
<state id="STATE3">
<transition target="STATE4" event="Events.EVENT3"/>
</state>
<state id="STATE19">
<transition target="STATE1" cond="guardVarEquals(&quot;reset&quot;)">
<state id="STATE4">
<transition target="STATE5" event="Events.EVENT4"/>
</state>
<state id="STATE5">
<transition target="STATE6" event="Events.EVENT5"/>
</state>
<state id="STATE6">
<transition target="STATE7" event="Events.EVENT6"/>
</state>
<state id="STATE7">
<transition target="STATE8" event="Events.EVENT7"/>
</state>
<state id="STATE8">
<transition target="STATE9" event="Events.EVENT8"/>
<transition target="STATE9" cond="guardVarEquals(&quot;forward9&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE20">
<transition target="STATE10">
<!-- order=1 -->
</transition>
</state>
<state id="STATE18">
<transition target="STATE19" cond="guardVarEquals(&quot;value3&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE20">
<!-- order=1 -->
</transition>
</state>
<state id="STATE15">
<transition target="STATE16" event="Events.EVENT15"/>
</state>
<state id="STATE14">
<transition target="STATE15" event="Events.EVENT14"/>
<transition target="STATE12" cond="guardVarEquals(&quot;loop12&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE16">
<!-- order=1 -->
</transition>
</state>
<state id="STATE17">
<transition target="STATE20" cond="guardEventHeaderEquals(&quot;header1&quot;,&quot;foo&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE16">
<!-- order=1 -->
</transition>
</state>
<state id="STATE16">
<transition target="STATE17" cond="guardVarEquals(&quot;value1&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE18" cond="guardVarEquals(&quot;value2&quot;)">
<!-- order=1 -->
</transition>
<transition target="STATE19">
<!-- order=2 -->
</transition>
</state>
<state id="STATE11">
<transition target="STATE12" event="Events.EVENT11"/>
<transition target="STATE13" cond="guardVarEquals(&quot;goTo13&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE14" cond="guardVarEquals(&quot;goTo14&quot;)">
<!-- order=1 -->
</transition>
<transition target="STATE15">
<!-- order=2 -->
</transition>
</state>
<state id="STATE10">
<transition target="STATE11" event="Events.EVENT10"/>
</state>
<state id="STATE13">
<transition target="STATE14" event="Events.EVENT13"/>
</state>
<state id="STATE9">
<transition target="STATE10" event="Events.EVENT9"/>
<transition target="STATE8" cond="guardVarEquals(&quot;stepBack&quot;)">
@@ -89,6 +42,21 @@
<!-- order=2 -->
</transition>
</state>
<state id="STATE10">
<transition target="STATE11" event="Events.EVENT10"/>
</state>
<state id="STATE11">
<transition target="STATE12" event="Events.EVENT11"/>
<transition target="STATE13" cond="guardVarEquals(&quot;goTo13&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE14" cond="guardVarEquals(&quot;goTo14&quot;)">
<!-- order=1 -->
</transition>
<transition target="STATE15">
<!-- order=2 -->
</transition>
</state>
<state id="STATE12">
<transition target="STATE13" event="Events.EVENT12"/>
<transition target="STATE10" cond="guardVarEquals(&quot;goBack10&quot;)">
@@ -98,20 +66,55 @@
<!-- order=1 -->
</transition>
</state>
<state id="STATE8">
<transition target="STATE9" event="Events.EVENT8"/>
<transition target="STATE9" cond="guardVarEquals(&quot;forward9&quot;)">
<state id="STATE13">
<transition target="STATE14" event="Events.EVENT13"/>
</state>
<state id="STATE14">
<transition target="STATE15" event="Events.EVENT14"/>
<transition target="STATE12" cond="guardVarEquals(&quot;loop12&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE10">
<transition target="STATE16">
<!-- order=1 -->
</transition>
</state>
<state id="STATE7">
<transition target="STATE8" event="Events.EVENT7"/>
<state id="STATE15">
<transition target="STATE16" event="Events.EVENT15"/>
</state>
<state id="STATE6">
<transition target="STATE7" event="Events.EVENT6"/>
<state id="STATE16">
<transition target="STATE17" cond="guardVarEquals(&quot;value1&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE18" cond="guardVarEquals(&quot;value2&quot;)">
<!-- order=1 -->
</transition>
<transition target="STATE19">
<!-- order=2 -->
</transition>
</state>
<state id="STATE17">
<transition target="STATE20" cond="guardEventHeaderEquals(&quot;header1&quot;,&quot;foo&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE16">
<!-- order=1 -->
</transition>
</state>
<state id="STATE18">
<transition target="STATE19" cond="guardVarEquals(&quot;value3&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE20">
<!-- order=1 -->
</transition>
</state>
<state id="STATE19">
<transition target="STATE1" cond="guardVarEquals(&quot;reset&quot;)">
<!-- order=0 -->
</transition>
<transition target="STATE20">
<!-- order=1 -->
</transition>
</state>
<state id="STATE20">
<transition target="STATE5" cond="guardEventHeaderEquals(&quot;header2&quot;,&quot;bar&quot;)">
@@ -121,8 +124,5 @@
<!-- order=1 -->
</transition>
</state>
<state id="STATE5">
<transition target="STATE6" event="Events.EVENT5"/>
</state>
</scxml>