Skip to content

Commit

Permalink
added test refs #14528, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 17, 2024
1 parent 82ac62b commit 0f8954e
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Error: The from-node is not given for edge 'E1'.
Error: The to-node is not given for edge 'E1'.
Quitting (on error).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-03-17 19:47:55 by Eclipse SUMO netedit Version v1_19_0+1351-3763c2a86eb
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/neteditConfiguration.xsd">
<input>
<sumo-net-file value="/localdata1/debug/14528/input_net.net.xml"/>
</input>
<output>
<output-file value="/localdata1/debug/14528/input_net.net.xml"/>
</output>
<processing>
<offset.disable-normalization value="true"/>
</processing>
<junctions>
<no-turnarounds value="true"/>
</junctions>
<netedit>
<new-network value="false"/>
</netedit>
</configuration>
-->

<net version="1.20" junctionCornerDetail="5" limitTurnSpeed="5.50" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">

<location netOffset="0.00,0.00" convBoundary="0.00,0.00,200.00,0.00" origBoundary="10000000000.00,10000000000.00,-10000000000.00,-10000000000.00" projParameter="!"/>

<edge id=":J1_0" function="internal">
<lane id=":J1_0_0" index="0" allow="bus" speed="13.89" length="0.10" shape="100.00,-1.60 100.00,-1.60"/>
</edge>

<edge id="E0" from="J0" to="J1" priority="-1">
<lane id="E0_0" index="0" speed="13.89" length="100.00" shape="0.00,-1.60 100.00,-1.60"/>
</edge>
<edge id="E1" from="J1" to="J2" priority="-1">
<lane id="E1_0" index="0" allow="bus" speed="13.89" length="100.00" shape="100.00,-1.60 200.00,-1.60"/>
</edge>

<junction id="J0" type="dead_end" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,0.00 0.00,-3.20"/>
<junction id="J1" type="priority" x="100.00" y="0.00" incLanes="E0_0" intLanes=":J1_0_0" shape="100.00,0.00 100.00,-3.20 100.00,0.00">
<request index="0" response="0" foes="0" cont="0"/>
</junction>
<junction id="J2" type="dead_end" x="200.00" y="0.00" incLanes="E1_0" intLanes="" shape="200.00,-3.20 200.00,0.00"/>

<connection from="E0" to="E1" fromLane="0" toLane="0" via=":J1_0_0" dir="s" state="M"/>

<connection from=":J1_0" to="E1" fromLane="0" toLane="0" dir="s" state="M"/>

</net>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<edges version="1.20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/edgediff_file.xsd">
<edge id="E1" allow="bus passenger"/>
</edges>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--sumo-net-file input_net.net.xml --edge-files input_plain.edg.xml
--remove-edges.by-vclass bus
Empty file.
3 changes: 3 additions & 0 deletions tests/netconvert/import/XML/diff/testsuite.netconvert
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ remove_opposite

# ensure there are no NANs in a junction shape
from_to_samePos

# patching permissions should impact edge filtering by permissions
change_permissions_filtered

0 comments on commit 0f8954e

Please sign in to comment.