cpee 1.5.15 → 1.5.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/testsets/Async.xml +17 -13
  3. data/cockpit/testsets/BCO.xml +37 -20
  4. data/cockpit/testsets/BCS.xml +37 -20
  5. data/cockpit/testsets/Centurio.xml +12 -9
  6. data/cockpit/testsets/Concurrent.xml +8 -7
  7. data/cockpit/testsets/Coopis Testset.xml +12 -9
  8. data/cockpit/testsets/Endpoints and Data Manipulation.xml +4 -5
  9. data/cockpit/testsets/ICSOC Testset.xml +30 -19
  10. data/cockpit/testsets/Infinity.xml +4 -2
  11. data/cockpit/testsets/Lego Boxer.xml +2 -2
  12. data/cockpit/testsets/Lego Conveyor.xml +2 -2
  13. data/cockpit/testsets/Lego Crane.xml +2 -2
  14. data/cockpit/testsets/Lego Ejector.xml +2 -2
  15. data/cockpit/testsets/Lego Plate.xml +2 -2
  16. data/cockpit/testsets/Lego Transporter.xml +2 -2
  17. data/cockpit/testsets/LgLinear.xml +43 -24
  18. data/cockpit/testsets/Linear.xml +41 -22
  19. data/cockpit/testsets/Log.xml +12 -11
  20. data/cockpit/testsets/Mangler 1.xml +27 -16
  21. data/cockpit/testsets/Mangler 2.xml +19 -12
  22. data/cockpit/testsets/Promise.xml +35 -14
  23. data/cockpit/testsets/SOPROMO Test Sonification.xml +18 -15
  24. data/cockpit/testsets/Subprocess.xml +18 -14
  25. data/cockpit/testsets/Syncing P34 1.xml +42 -23
  26. data/cockpit/testsets/Syncing P34 2.xml +42 -23
  27. data/cockpit/testsets/Syncing P34 3.xml +42 -23
  28. data/cockpit/testsets/Syncing P34.xml +42 -23
  29. data/cockpit/testsets/TEST - Bad Loop.xml +50 -29
  30. data/cockpit/testsets/TEST - Wrong Positions.xml +74 -35
  31. data/cockpit/testsets/Take_5.xml +18 -14
  32. data/cockpit/testsets/Update.xml +5 -4
  33. data/cockpit/testsets/Worklist Parallel.xml +13 -6
  34. data/cockpit/testsets/Worklist Test CPEE.xml +4 -3
  35. data/cockpit/testsets/Worklist Test.xml +7 -4
  36. data/cockpit/testsets/Worklist Test2.xml +7 -4
  37. data/cockpit/testsets/convert_preset.rb +32 -0
  38. data/cockpit/testsets/testsets.xml +1 -1
  39. data/cockpit/testsets/transformations.xml +1 -1
  40. data/cockpit/themes/compact/theme.js +1 -1
  41. data/cockpit/themes/extended/theme.js +1 -1
  42. data/cockpit/themes/packed/theme.js +1 -1
  43. data/cpee.gemspec +1 -1
  44. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9032110f699ad05cee7dfc9700945ae55cd13421989df985912f72ebe16330b
4
- data.tar.gz: 66203da69e541f8339897c365ebeaae6824f51ea3d34bcb0de02a9fce6cc4b2c
3
+ metadata.gz: 9ffc8fabd041a5e647f3fb16f56d0e484932dc70fd8ba1871eb7a79d06eec77c
4
+ data.tar.gz: 69e814034e4022ecfb5e8334aa10bc3e9c0eb55cfaded1a879df16f49cbd571b
5
5
  SHA512:
6
- metadata.gz: 339b3684647593c7159f4e3902f75eda6116c93f3ba8caed0321908f7d9c6063437f2d1c4aa511e1a9c26572866b3ff86866e6fbb720de86e37ed37ed09b0675
7
- data.tar.gz: 9e664463869e9d18c10c54cc12265905fc79b26e050ea1662545811343a63c5d28ef4846632e6b785a4076662d53867dcf0da5862604db7d8efd6187c212fa01
6
+ metadata.gz: c460baadf6a8882fc1cad5452926e9f569184a40f69f7c1971ecf0ddb73920449927451142bd3153db690166fc268e9208237222d92e6dd734e4f38a91f5353b
7
+ data.tar.gz: 88a2ce31209987e68fa5e543df287b32ec27f21507189824931e3a485ee65fd6ea6907d37d9f75d9b6a8276364e4d1f06f98705065c3dab0993f7bd6cf1cd888
@@ -15,18 +15,22 @@
15
15
  <arguments/>
16
16
  <sensors/>
17
17
  </parameters>
18
- <finalize output="result"/>
19
- <update output="result"/>
20
- <_timing>
21
- <_timing_min/>
22
- <_timing_max/>
23
- <_timing_avg/>
24
- </_timing>
25
- <_notes>
26
- <_notes_general/>
27
- <_notes_output/>
28
- <_attachments/>
29
- </_notes>
18
+ <code>
19
+ <finalize output="result"/>
20
+ <update output="result"/>
21
+ </code>
22
+ <annotations>
23
+ <_timing>
24
+ <_timing_min/>
25
+ <_timing_max/>
26
+ <_timing_avg/>
27
+ </_timing>
28
+ <_notes>
29
+ <_notes_general/>
30
+ <_notes_output/>
31
+ <_attachments/>
32
+ </_notes>
33
+ </annotations>
30
34
  </call>
31
35
  </description>
32
36
  </description>
@@ -39,4 +43,4 @@
39
43
  <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Async</info>
40
44
  <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
41
45
  </attributes>
42
- </testset>
46
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <attributes>
4
3
  <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
@@ -7,50 +6,68 @@
7
6
  <bc>operate</bc>
8
7
  </attributes>
9
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
- <dataelements><!--{{{-->
9
+ <dataelements>
10
+ <!--{{{-->
11
11
  <x/>
12
- </dataelements><!--}}}-->
12
+ </dataelements>
13
+ <!--}}}-->
13
14
  <handlers/>
14
- <endpoints><!--{{{-->
15
+ <endpoints>
16
+ <!--{{{-->
15
17
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
- </endpoints><!--}}}-->
18
+ </endpoints>
19
+ <!--}}}-->
17
20
  <description>
18
- <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
21
+ <description xmlns="http://cpee.org/ns/description/1.0">
22
+ <!--{{{-->
19
23
  <call id="a1" endpoint="timeout">
20
- <parameters><!--{{{-->
24
+ <parameters>
25
+ <!--{{{-->
21
26
  <label>Step 1</label>
22
27
  <method>:post</method>
23
28
  <arguments>
24
29
  <timeout>2</timeout>
25
30
  </arguments>
26
- </parameters><!--}}}-->
27
- <finalize output="result">data.x += "a1,"</finalize>
31
+ </parameters>
32
+ <!--}}}-->
33
+ <code>
34
+ <finalize output="result">data.x += "a1,"</finalize>
35
+ </code>
28
36
  </call>
29
37
  <call id="a2" endpoint="timeout">
30
- <parameters><!--{{{-->
38
+ <parameters>
39
+ <!--{{{-->
31
40
  <label>Step 2</label>
32
41
  <method>:post</method>
33
42
  <arguments>
34
43
  <timeout>4</timeout>
35
44
  </arguments>
36
- </parameters><!--}}}-->
37
- <finalize output="result">data.x += "a2,"</finalize>
45
+ </parameters>
46
+ <!--}}}-->
47
+ <code>
48
+ <finalize output="result">data.x += "a2,"</finalize>
49
+ </code>
38
50
  </call>
39
51
  <call id="a3" endpoint="timeout">
40
- <parameters><!--{{{-->
52
+ <parameters>
53
+ <!--{{{-->
41
54
  <label>Step 3</label>
42
55
  <method>:post</method>
43
56
  <arguments>
44
57
  <timeout>4</timeout>
45
58
  </arguments>
46
- </parameters><!--}}}-->
47
- <finalize output="result">data.x += "a3,"</finalize>
59
+ </parameters>
60
+ <!--}}}-->
61
+ <code>
62
+ <finalize output="result">data.x += "a3,"</finalize>
63
+ </code>
48
64
  </call>
49
- </description><!--}}}-->
65
+ </description>
66
+ <!--}}}-->
50
67
  </description>
51
68
  <transformation>
52
- <description type='copy'/>
53
- <dataelements type='rest'/>
54
- <endpoints type='rest'/>
69
+ <description type="copy"/>
70
+ <dataelements type="rest"/>
71
+ <endpoints type="rest"/>
55
72
  </transformation>
56
- </testset>
73
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <attributes>
4
3
  <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
@@ -7,50 +6,68 @@
7
6
  <bc>start</bc>
8
7
  </attributes>
9
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
- <dataelements><!--{{{-->
9
+ <dataelements>
10
+ <!--{{{-->
11
11
  <x/>
12
- </dataelements><!--}}}-->
12
+ </dataelements>
13
+ <!--}}}-->
13
14
  <handlers/>
14
- <endpoints><!--{{{-->
15
+ <endpoints>
16
+ <!--{{{-->
15
17
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
- </endpoints><!--}}}-->
18
+ </endpoints>
19
+ <!--}}}-->
17
20
  <description>
18
- <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
21
+ <description xmlns="http://cpee.org/ns/description/1.0">
22
+ <!--{{{-->
19
23
  <call id="a1" endpoint="timeout">
20
- <parameters><!--{{{-->
24
+ <parameters>
25
+ <!--{{{-->
21
26
  <label>Step 1</label>
22
27
  <method>:post</method>
23
28
  <arguments>
24
29
  <timeout>2</timeout>
25
30
  </arguments>
26
- </parameters><!--}}}-->
27
- <finalize output="result">data.x += "a1,"</finalize>
31
+ </parameters>
32
+ <!--}}}-->
33
+ <code>
34
+ <finalize output="result">data.x += "a1,"</finalize>
35
+ </code>
28
36
  </call>
29
37
  <call id="a2" endpoint="timeout">
30
- <parameters><!--{{{-->
38
+ <parameters>
39
+ <!--{{{-->
31
40
  <label>Step 2</label>
32
41
  <method>:post</method>
33
42
  <arguments>
34
43
  <timeout>4</timeout>
35
44
  </arguments>
36
- </parameters><!--}}}-->
37
- <finalize output="result">data.x += "a2,"</finalize>
45
+ </parameters>
46
+ <!--}}}-->
47
+ <code>
48
+ <finalize output="result">data.x += "a2,"</finalize>
49
+ </code>
38
50
  </call>
39
51
  <call id="a3" endpoint="timeout">
40
- <parameters><!--{{{-->
52
+ <parameters>
53
+ <!--{{{-->
41
54
  <label>Step 3</label>
42
55
  <method>:post</method>
43
56
  <arguments>
44
57
  <timeout>4</timeout>
45
58
  </arguments>
46
- </parameters><!--}}}-->
47
- <finalize output="result">data.x += "a3,"</finalize>
59
+ </parameters>
60
+ <!--}}}-->
61
+ <code>
62
+ <finalize output="result">data.x += "a3,"</finalize>
63
+ </code>
48
64
  </call>
49
- </description><!--}}}-->
65
+ </description>
66
+ <!--}}}-->
50
67
  </description>
51
68
  <transformation>
52
- <description type='copy'/>
53
- <dataelements type='rest'/>
54
- <endpoints type='rest'/>
69
+ <description type="copy"/>
70
+ <dataelements type="rest"/>
71
+ <endpoints type="rest"/>
55
72
  </transformation>
56
- </testset>
73
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <positions/>
4
3
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -27,12 +26,14 @@
27
26
  <losgroesse>data.losgroesse</losgroesse>
28
27
  </arguments>
29
28
  </parameters>
30
- <finalize output="result">data.qualitaet = result.value('id')
29
+ <code>
30
+ <finalize output="result">data.qualitaet = result.value('id')
31
31
  data.score += result.value('score').to_f
32
32
  status.update 1, 'Produziert'</finalize>
33
+ </code>
33
34
  </call>
34
35
  <parallel>
35
- <loop mode="pre_test" condition="data.losgroesse > 0">
36
+ <loop mode="pre_test" condition="data.losgroesse &gt; 0">
36
37
  <parallel_branch pass="data.losgroesse" local="p">
37
38
  <call id="a2" endpoint="drill">
38
39
  <parameters>
@@ -42,15 +43,17 @@ status.update 1, 'Produziert'</finalize>
42
43
  <to>data.to</to>
43
44
  </arguments>
44
45
  </parameters>
45
- <finalize output="result">data.drilled &lt;&lt; result.value('id')
46
+ <code>
47
+ <finalize output="result">data.drilled &lt;&lt; result.value('id')
46
48
  data.score += result.value('score').to_f</finalize>
49
+ </code>
47
50
  </call>
48
51
  </parallel_branch>
49
52
  <manipulate id="a3">data.losgroesse -= 1</manipulate>
50
53
  </loop>
51
54
  </parallel>
52
55
  <choose>
53
- <alternative condition="data.score > 700">
56
+ <alternative condition="data.score &gt; 700">
54
57
  <call id="a4" endpoint="approve">
55
58
  <parameters>
56
59
  <label>Beurteilen</label>
@@ -65,8 +68,8 @@ data.score += result.value('score').to_f</finalize>
65
68
  </description>
66
69
  </description>
67
70
  <transformation>
68
- <description type='copy'/>
69
- <dataelements type='rest'/>
70
- <endpoints type='rest'/>
71
+ <description type="copy"/>
72
+ <dataelements type="rest"/>
73
+ <endpoints type="rest"/>
71
74
  </transformation>
72
- </testset>
75
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <positions/>
4
3
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -13,7 +12,7 @@
13
12
  <description>
14
13
  <description xmlns="http://cpee.org/ns/description/1.0">
15
14
  <parallel>
16
- <loop mode="pre_test" condition="data.persons > 0">
15
+ <loop mode="pre_test" condition="data.persons &gt; 0">
17
16
  <parallel_branch pass="data.persons" local="p">
18
17
  <call id="a2" endpoint="bookHotel">
19
18
  <parameters>
@@ -22,8 +21,10 @@
22
21
  <to>"Vienna"</to>
23
22
  </arguments>
24
23
  </parameters>
25
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
24
+ <code>
25
+ <finalize output="result">data.hotels &lt;&lt; result.value('id')
26
26
  data.costs += result.value('costs').to_f</finalize>
27
+ </code>
27
28
  </call>
28
29
  </parallel_branch>
29
30
  <manipulate id="a3">data.persons -= 1</manipulate>
@@ -32,8 +33,8 @@ data.costs += result.value('costs').to_f</finalize>
32
33
  </description>
33
34
  </description>
34
35
  <transformation>
35
- <description type='copy'/>
36
- <dataelements type='rest'/>
37
- <endpoints type='rest'/>
36
+ <description type="copy"/>
37
+ <dataelements type="rest"/>
38
+ <endpoints type="rest"/>
38
39
  </transformation>
39
- </testset>
40
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <positions/>
4
3
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -28,12 +27,14 @@
28
27
  <persons>data.persons</persons>
29
28
  </arguments>
30
29
  </parameters>
31
- <finalize output="result">data.airline = result.value('id')
30
+ <code>
31
+ <finalize output="result">data.airline = result.value('id')
32
32
  data.costs += result.value('costs').to_f
33
33
  status.update 1, 'Hotel'</finalize>
34
+ </code>
34
35
  </call>
35
36
  <parallel>
36
- <loop mode="pre_test" condition="data.persons > 0">
37
+ <loop mode="pre_test" condition="data.persons &gt; 0">
37
38
  <parallel_branch pass="data.persons" local="p">
38
39
  <call id="a2" endpoint="bookHotel">
39
40
  <parameters>
@@ -43,15 +44,17 @@ status.update 1, 'Hotel'</finalize>
43
44
  <to>data.to</to>
44
45
  </arguments>
45
46
  </parameters>
46
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
47
+ <code>
48
+ <finalize output="result">data.hotels &lt;&lt; result.value('id')
47
49
  data.costs += result.value('costs').to_f</finalize>
50
+ </code>
48
51
  </call>
49
52
  </parallel_branch>
50
53
  <manipulate id="a3">data.persons -= 1</manipulate>
51
54
  </loop>
52
55
  </parallel>
53
56
  <choose mode="inclusive">
54
- <alternative condition="data.costs > 700">
57
+ <alternative condition="data.costs &gt; 700">
55
58
  <call id="a4" endpoint="approve">
56
59
  <parameters>
57
60
  <label>Approve Hotel</label>
@@ -66,8 +69,8 @@ data.costs += result.value('costs').to_f</finalize>
66
69
  </description>
67
70
  </description>
68
71
  <transformation>
69
- <description type='copy'/>
70
- <dataelements type='rest'/>
71
- <endpoints type='rest'/>
72
+ <description type="copy"/>
73
+ <dataelements type="rest"/>
74
+ <endpoints type="rest"/>
72
75
  </transformation>
73
- </testset>
76
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <positions/>
4
3
  <handlerwrapper>RescueHandlerWrapper</handlerwrapper>
@@ -24,8 +23,8 @@ data.output = data[:input]</manipulate>
24
23
  </description>
25
24
  </description>
26
25
  <transformation>
27
- <description type='external'/>
28
- <dataelements type='external'/>
29
- <endpoints type='external'/>
26
+ <description type="external"/>
27
+ <dataelements type="external"/>
28
+ <endpoints type="external"/>
30
29
  </transformation>
31
- </testset>
30
+ </testset>
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset>
3
2
  <positions/>
4
3
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -12,64 +11,76 @@
12
11
  <description xmlns="http://cpee.org/ns/description/1.0">
13
12
  <parallel>
14
13
  <parallel_branch>
15
- <loop mode="pre_test" condition='data.feedback'>
14
+ <loop mode="pre_test" condition="data.feedback">
16
15
  <call id="design" endpoint="timeout">
17
- <parameters><!--{{{-->
16
+ <parameters>
17
+ <!--{{{-->
18
18
  <label>Design</label>
19
19
  <method>:post</method>
20
20
  <arguments>
21
21
  <timeout>4</timeout>
22
22
  </arguments>
23
- </parameters><!--}}}-->
23
+ </parameters>
24
+ <!--}}}-->
24
25
  </call>
25
26
  <call id="validate" endpoint="timeout">
26
- <parameters><!--{{{-->
27
+ <parameters>
28
+ <!--{{{-->
27
29
  <label>Validate</label>
28
30
  <method>:post</method>
29
31
  <arguments>
30
32
  <timeout>2</timeout>
31
33
  </arguments>
32
- </parameters><!--}}}-->
34
+ </parameters>
35
+ <!--}}}-->
33
36
  </call>
34
37
  <call id="publish" endpoint="timeout">
35
- <parameters><!--{{{-->
38
+ <parameters>
39
+ <!--{{{-->
36
40
  <label>Publish</label>
37
41
  <method>:post</method>
38
42
  <arguments>
39
43
  <timeout>1</timeout>
40
44
  </arguments>
41
- </parameters><!--}}}-->
45
+ </parameters>
46
+ <!--}}}-->
42
47
  </call>
43
48
  </loop>
44
49
  </parallel_branch>
45
50
  <parallel_branch>
46
- <loop mode="pre_test" condition='data.feedback'>
51
+ <loop mode="pre_test" condition="data.feedback">
47
52
  <call id="prepare" endpoint="timeout">
48
- <parameters><!--{{{-->
53
+ <parameters>
54
+ <!--{{{-->
49
55
  <label>Prepare</label>
50
56
  <method>:post</method>
51
57
  <arguments>
52
58
  <timeout>4</timeout>
53
59
  </arguments>
54
- </parameters><!--}}}-->
60
+ </parameters>
61
+ <!--}}}-->
55
62
  </call>
56
63
  <call id="fab" endpoint="timeout">
57
- <parameters><!--{{{-->
64
+ <parameters>
65
+ <!--{{{-->
58
66
  <label>Fabricate</label>
59
67
  <method>:post</method>
60
68
  <arguments>
61
69
  <timeout>4</timeout>
62
70
  </arguments>
63
- </parameters><!--}}}-->
71
+ </parameters>
72
+ <!--}}}-->
64
73
  </call>
65
74
  <call id="evaluate" endpoint="timeout">
66
- <parameters><!--{{{-->
75
+ <parameters>
76
+ <!--{{{-->
67
77
  <label>Evaluate</label>
68
78
  <method>:post</method>
69
79
  <arguments>
70
80
  <timeout>4</timeout>
71
81
  </arguments>
72
- </parameters><!--}}}-->
82
+ </parameters>
83
+ <!--}}}-->
73
84
  </call>
74
85
  </loop>
75
86
  </parallel_branch>
@@ -77,8 +88,8 @@
77
88
  </description>
78
89
  </description>
79
90
  <transformation>
80
- <description type='copy'/>
81
- <dataelements type='rest'/>
82
- <endpoints type='rest'/>
91
+ <description type="copy"/>
92
+ <dataelements type="rest"/>
93
+ <endpoints type="rest"/>
83
94
  </transformation>
84
- </testset>
95
+ </testset>