Skip to content

Commit

Permalink
Patching netedit expected results. Refs eclipse-sumo#3045
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez authored and yct72 committed Dec 6, 2023
1 parent 039aac4 commit 7798287
Show file tree
Hide file tree
Showing 8 changed files with 242 additions and 7 deletions.
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2023-11-10 15:04:04 by Eclipse SUMO netedit Version v1_19_0+0072-041d30c218b
<!-- generated on 2023-11-15 10:43:50 by Eclipse SUMO netedit Version v1_19_0+0151-712183ff097
-->

<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) -->
<flow id="flow" begin="0.00" from="Edge0" to="Edge2" end="36.00" number="18">
<stop chargingStation="chargingStationA" duration="60.00"/>
<stop chargingStation="chargingStationA" duration="60.00"/>
<stop chargingStation="chargingStationA" duration="60.00" expectedContainers="containerID1 containerID2 containerID3"/>
</flow>
Expand Down
Binary file not shown.
@@ -1,2 +0,0 @@
Error: The route file 'routes.netedit' is not accessible.
Quitting (on error).

This file was deleted.

Large diffs are not rendered by default.

Expand Up @@ -8,7 +8,7 @@ dummy

-500
600
20
40
TestFunctions: Clicked over position 304 - 168
TestFunctions: Clicked over position 304 - 168
TestFunctions: Error closing Netedit
TestFunctions: Netedit closed successfully
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2023-11-15 10:48:53 by Eclipse SUMO netedit Version v1_19_0+0151-712183ff097
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<!-- Routes -->
<route id="route_0" edges="Edge0 Edge1 Edge2" color="yellow"/>
<!-- Vehicles, persons and containers (sorted by depart) -->
<flow id="routeFlow" begin="0.00" route="route_0" end="3600.00" number="18">
<stop lane="Edge2_1" startPos="34.80" endPos="40.00" duration="60.00"/>
</flow>
</routes>
Expand Up @@ -60,7 +60,7 @@
netedit.modifyAttribute(netedit.attrs.stopLane.inspect.endPos, "600", True)

# change value
netedit.modifyAttribute(netedit.attrs.stopLane.inspect.endPos, "20", True)
netedit.modifyAttribute(netedit.attrs.stopLane.inspect.endPos, "40", True)

# Check undo redo
netedit.checkUndoRedo(referencePosition)
Expand Down

0 comments on commit 7798287

Please sign in to comment.