Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Jan 7, 2025
1 parent 8efe486 commit 45108a8
Show file tree
Hide file tree
Showing 42 changed files with 210 additions and 115 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:28:38 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:38:12 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="12,13,14" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="12,13,14" end="3800.00" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:30:25 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:39:59 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="20.00" color="blue" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="12.00" departPos="20.00" color="blue" end="3800.00" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:09:19 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:41:46 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="10.20" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="10.20" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:11:02 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:43:28 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<transport from="Edge0" to="Edge2"/>
</containerFlow>
<containerFlow id="cf_1" begin="triggered" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="triggered" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-06 11:15:24 by Eclipse SUMO netedit Version v1_21_0+1670-ab8067742d2
<!-- generated on 2025-01-07 12:49:34 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -15,13 +15,13 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<!-- Vehicles, persons and containers (sorted by depart) -->
<containerFlow id="cf_0" begin="10.00" departPos="0.00" color="red" end="3600.00" containersPerHour="25">
<containerFlow id="cf_0" begin="10.00" departPos="0.00" color="red" end="3600.00" containersPerHour="26">
<param key="KeyA1" value="valueA1"/>
<param key="KeyA2" value="valueA3"/>
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="25">
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="26">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:13:04 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:45:29 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="23.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="23.00" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:15:05 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:47:31 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="KeyA3" value="valueA2"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" number="26" containersPerHour="11501">
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" number="26" containersPerHour="11501.6">
<param key="KeyB1" value="valueB1"/>
<param key="KeyB2" value="valueB3"/>
<param key="KeyB3" value="valueB2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:37:09 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:58:48 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -21,7 +21,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<param key="keyFinal3" value="value3"/>
<tranship from="Edge0" to="Edge1"/>
</containerFlow>
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501.6">
<param key="keyFinal1" value="value1"/>
<param key="keyFinal2" value="value2"/>
<param key="keyFinal3" value="value3"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:32:28 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 12:36:20 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -22,7 +22,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<containerFlow id="cf_0" type="typeC" begin="10.00" departPos="0.00" color="red" end="3600.00" containersPerHour="1200">
<tranship from="Edge0" to="Edge2"/>
</containerFlow>
<containerFlow id="cf_1" type="typeC" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501">
<containerFlow id="cf_1" type="typeC" begin="12.00" departPos="11.00" color="blue" end="3800.00" containersPerHour="11501.6">
<tranship from="Edge1" to="Edge2"/>
</containerFlow>
</routes>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-01-07 09:38:51 by Eclipse SUMO netedit Version v1_21_0+1676-bd89e8c6689
<!-- generated on 2025-01-07 13:09:20 by Eclipse SUMO netedit Version v1_21_0+1701-5bbacf4f4a3
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -18,13 +18,13 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<containerFlow id="c_0" begin="0.00" end="23.00" containersPerHour="10">
<tranship from="Edge0" to="Edge2"/>
</containerFlow>
<containerFlow id="c_5" begin="0.00" end="23.00" containersPerHour="20">
<containerFlow id="c_5" begin="0.00" end="23.00" containersPerHour="20.3">
<tranship from="Edge0" to="Edge2"/>
</containerFlow>
<containerFlow id="c_6" begin="0.00" end="23.00" containersPerHour="2">
<containerFlow id="c_6" begin="0.00" end="23.00" containersPerHour="2.3">
<tranship from="Edge0" to="Edge2"/>
</containerFlow>
<containerFlow id="c_7" begin="0.00" end="23.00" containersPerHour="1">
<containerFlow id="c_7" begin="0.00" end="23.00" containersPerHour="1.7">
<tranship from="Edge0" to="Edge2"/>
</containerFlow>
</routes>
5 changes: 2 additions & 3 deletions tests/netedit/elements/demands/flow/load/from/errors.netedit
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Attribute 'from' in definition of flow 'flow_1' is empty.
Error: Could not build flow with ID 'flow_2' in netedit; edge parent with ID 'dummyEdge' doesn't exist.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.18Dec174643.2935/netedit.gui/elements/demands/flow/load/from/routes.rou.xml failed.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.07Jan110842.11083/netedit.gui/elements/demands/flow/load/from/routes.rou.xml failed.
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
Expand Down
5 changes: 2 additions & 3 deletions tests/netedit/elements/demands/flow/load/from/log.netedit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Attribute 'from' in definition of flow 'flow_1' is empty.
Error: Could not build flow with ID 'flow_2' in netedit; edge parent with ID 'dummyEdge' doesn't exist.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.18Dec174643.2935/netedit.gui/elements/demands/flow/load/from/routes.rou.xml failed.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.07Jan110842.11083/netedit.gui/elements/demands/flow/load/from/routes.rou.xml failed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.18Dec174643.2935/netedit.gui/elements/demands/flow/load/no_edges/routes.rou.xml failed.
Error: Could not build flow with ID 'flow_0' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.07Jan110842.11083/netedit.gui/elements/demands/flow/load/no_edges/routes.rou.xml failed.
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
Expand Down
5 changes: 2 additions & 3 deletions tests/netedit/elements/demands/flow/load/no_edges/log.netedit
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Could not build flow with ID 'flow_0' in netedit; edge parent with ID '' doesn't exist.
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.18Dec174643.2935/netedit.gui/elements/demands/flow/load/no_edges/routes.rou.xml failed.
Error: Could not build flow with ID 'flow_0' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.07Jan110842.11083/netedit.gui/elements/demands/flow/load/no_edges/routes.rou.xml failed.
59 changes: 59 additions & 0 deletions tests/netedit/elements/demands/flow/load/no_fromto/errors.netedit
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
Error: Could not build flow with ID 't_0' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_1' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_2' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_3' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_4' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_5' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_6' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_7' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_8' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_9' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_10' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Could not build flow with ID 't_11' in netedit; Requiere either a route or an embedded route or a from-to attribute (Edges, junctions or TAZs).
Error: Loading of /home/palcraft/.texttest/tmp/netedit.gui.1_from_07Jan110842.36268/netedit.gui/elements/demands/flow/load/no_fromto/routes.rou.xml failed.
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
Loading

0 comments on commit 45108a8

Please sign in to comment.