Skip to content

Commit

Permalink
Added netedit test bugs/ticket2327. Refs #3045. Found crash during jo…
Browse files Browse the repository at this point in the history
…in selected edges.

git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@24203 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
palvarezlopez committed May 5, 2017
1 parent ed3cfb5 commit 7ece8c3
Show file tree
Hide file tree
Showing 13 changed files with 2,488 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sumo/tests/netedit/bugs/ticket2327/additionals.netedit
@@ -0,0 +1,15 @@
<additionals>
<busStop id="busStop_-gneE3_0_1" lane="-gneE3_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_-gneE4_0_2" lane="-gneE4_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_-gneE5_0_3" lane="-gneE5_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_-gneE6_0_4" lane="-gneE6_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_-gneE7_0_5" lane="-gneE7_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_gneE4_0_7" lane="gneE4_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_gneE5_0_8" lane="gneE5_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_gneE6_0_9" lane="gneE6_0" startPos="2.50" endPos="7.50"/>
<busStop id="busStop_gneE7_0_6" lane="gneE7_0" startPos="2.50" endPos="7.50"/>
<e3Detector id="e3Detector_0" freq="100.00" file="e3Detector_0.txt" timeThreshold="1.00" speedThreshold="1.39" x="60.00" y="50.00">
<detEntry lane="gneE14_0" pos="5.00"/>
<detExit lane="gneE9_0" pos="5.00"/>
</e3Detector>
</additionals>
Empty file.
16 changes: 16 additions & 0 deletions sumo/tests/netedit/bugs/ticket2327/input_additionals.add.xml
@@ -0,0 +1,16 @@
<additionals>
<busStop id="busStop_-gneE3_0_1" lane="-gneE3_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_-gneE4_0_2" lane="-gneE4_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_-gneE5_0_3" lane="-gneE5_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_-gneE6_0_4" lane="-gneE6_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_-gneE7_0_5" lane="-gneE7_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_gneE2_0_0" lane="gneE2_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_gneE4_0_7" lane="gneE4_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_gneE5_0_8" lane="gneE5_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_gneE6_0_9" lane="gneE6_0" startPos="2.5" endPos="7.5"/>
<busStop id="busStop_gneE7_0_6" lane="gneE7_0" startPos="2.5" endPos="7.5"/>
<e3Detector id="e3Detector_0" freq="100" file="e3Detector_0.txt" timeThreshold="1.00" speedThreshold="1.39" x="60" y="50">
<detEntry lane="gneE14_0" pos="5"/>
<detExit lane="gneE9_0" pos="5"/>
</e3Detector>
</additionals>
146 changes: 146 additions & 0 deletions sumo/tests/netedit/bugs/ticket2327/input_net.con.xml
@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 05/05/17 13:46:00 by Netedit Version dev-SVN-r22761
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
<input>
<sumo-net-file value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net.net.xml"/>
</input>
<output>
<output-file value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net.net.xml"/>
<plain-output-prefix value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net"/>
</output>
<processing>
<no-internal-links value="false"/>
<no-turnarounds value="true"/>
<offset.disable-normalization value="true"/>
<lefthand value="false"/>
<junctions.corner-detail value="0"/>
<rectangular-lane-cut value="false"/>
</processing>
</configuration>
-->

<connections version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/connections_file.xsd">
<connection from="-gneE10" to="-gneE9" fromLane="1" toLane="1"/>
<connection from="-gneE10" to="-gneE17" fromLane="1" toLane="1"/>

<connection from="-gneE11" to="-gneE10" fromLane="1" toLane="1"/>

<connection from="-gneE12" to="-gneE11" fromLane="1" toLane="1"/>
<connection from="-gneE12" to="-gneE18" fromLane="1" toLane="1"/>

<connection from="-gneE13" to="-gneE12" fromLane="1" toLane="1"/>

<connection from="-gneE14" to="-gneE13" fromLane="1" toLane="1"/>
<connection from="-gneE14" to="-gneE19" fromLane="1" toLane="1"/>

<connection from="-gneE15" to="-gneE14" fromLane="1" toLane="1"/>

<connection from="-gneE16" to="gneE19" fromLane="1" toLane="1"/>
<connection from="-gneE16" to="gneE18" fromLane="1" toLane="1"/>
<connection from="-gneE16" to="gneE17" fromLane="1" toLane="1"/>

<connection from="-gneE17" to="gneE16" fromLane="1" toLane="1"/>
<connection from="-gneE17" to="gneE19" fromLane="1" toLane="1"/>
<connection from="-gneE17" to="gneE18" fromLane="1" toLane="1"/>

<connection from="-gneE18" to="gneE17" fromLane="1" toLane="1"/>
<connection from="-gneE18" to="gneE16" fromLane="1" toLane="1"/>
<connection from="-gneE18" to="gneE19" fromLane="1" toLane="1"/>

<connection from="-gneE19" to="gneE18" fromLane="1" toLane="1"/>
<connection from="-gneE19" to="gneE17" fromLane="1" toLane="1"/>
<connection from="-gneE19" to="gneE16" fromLane="1" toLane="1"/>

<connection from="-gneE3" to="gneE3" fromLane="1" toLane="1"/>

<connection from="-gneE4" to="-gneE7" fromLane="1" toLane="1"/>

<connection from="-gneE5" to="-gneE4" fromLane="1" toLane="1"/>

<connection from="-gneE6" to="-gneE5" fromLane="1" toLane="1"/>

<connection from="-gneE7" to="-gneE6" fromLane="1" toLane="1"/>

<connection from="-gneE8" to="-gneE15" fromLane="1" toLane="1"/>
<connection from="-gneE8" to="-gneE16" fromLane="1" toLane="1"/>

<connection from="-gneE9" to="-gneE8" fromLane="1" toLane="1"/>

<connection from="gneE1" to="gneE2" fromLane="1" toLane="1"/>

<connection from="gneE10" to="gneE11" fromLane="1" toLane="1"/>

<connection from="gneE11" to="-gneE18" fromLane="1" toLane="1"/>
<connection from="gneE11" to="gneE12" fromLane="1" toLane="1"/>

<connection from="gneE12" to="gneE13" fromLane="1" toLane="1"/>

<connection from="gneE13" to="-gneE19" fromLane="1" toLane="1"/>
<connection from="gneE13" to="gneE14" fromLane="1" toLane="1"/>

<connection from="gneE14" to="gneE15" fromLane="1" toLane="1"/>

<connection from="gneE15" to="-gneE16" fromLane="1" toLane="1"/>
<connection from="gneE15" to="gneE8" fromLane="1" toLane="1"/>

<connection from="gneE16" to="gneE8" fromLane="1" toLane="1"/>
<connection from="gneE16" to="-gneE15" fromLane="1" toLane="1"/>

<connection from="gneE17" to="gneE10" fromLane="1" toLane="1"/>
<connection from="gneE17" to="-gneE9" fromLane="1" toLane="1"/>

<connection from="gneE18" to="gneE12" fromLane="1" toLane="1"/>
<connection from="gneE18" to="-gneE11" fromLane="1" toLane="1"/>

<connection from="gneE19" to="gneE14" fromLane="1" toLane="1"/>
<connection from="gneE19" to="-gneE13" fromLane="1" toLane="1"/>

<connection from="gneE2" to="gneE1" fromLane="1" toLane="1"/>

<connection from="gneE3" to="-gneE3" fromLane="1" toLane="1"/>

<connection from="gneE4" to="gneE5" fromLane="1" toLane="1"/>

<connection from="gneE5" to="gneE6" fromLane="1" toLane="1"/>

<connection from="gneE6" to="gneE7" fromLane="1" toLane="1"/>

<connection from="gneE7" to="gneE4" fromLane="1" toLane="1"/>

<connection from="gneE8" to="gneE9" fromLane="1" toLane="1"/>

<connection from="gneE9" to="-gneE17" fromLane="1" toLane="1"/>
<connection from="gneE9" to="gneE10" fromLane="1" toLane="1"/>

<crossing node="gneJ11" edges="gneE8 -gneE8" priority="0"/>
<crossing node="gneJ11" edges="-gneE16 gneE16" priority="0"/>
<crossing node="gneJ11" edges="-gneE15 gneE15" priority="0"/>
<crossing node="gneJ12" edges="gneE9 -gneE9" priority="0"/>
<crossing node="gneJ13" edges="-gneE9 gneE9" priority="0"/>
<crossing node="gneJ13" edges="gneE10 -gneE10" priority="0"/>
<crossing node="gneJ13" edges="-gneE17 gneE17" priority="0"/>
<crossing node="gneJ14" edges="-gneE10 gneE10" priority="0"/>
<crossing node="gneJ15" edges="-gneE18 gneE18" priority="0"/>
<crossing node="gneJ15" edges="-gneE11 gneE11" priority="0"/>
<crossing node="gneJ15" edges="gneE12 -gneE12" priority="0"/>
<crossing node="gneJ16" edges="gneE13 -gneE13" priority="0"/>
<crossing node="gneJ17" edges="gneE14 -gneE14" priority="0"/>
<crossing node="gneJ17" edges="-gneE19 gneE19" priority="0"/>
<crossing node="gneJ17" edges="-gneE13 gneE13" priority="0"/>
<crossing node="gneJ18" edges="gneE15 -gneE15" priority="0"/>
<crossing node="gneJ19" edges="gneE16 -gneE16" priority="0"/>
<crossing node="gneJ19" edges="gneE17 -gneE17" priority="0"/>
<crossing node="gneJ19" edges="gneE18 -gneE18" priority="0"/>
<crossing node="gneJ19" edges="gneE19 -gneE19" priority="0"/>
<crossing node="gneJ6" edges="gneE4 -gneE4" priority="0"/>
<crossing node="gneJ7" edges="gneE5 -gneE5" priority="0"/>
<crossing node="gneJ8" edges="-gneE5 gneE5" priority="0"/>
<crossing node="gneJ9" edges="gneE7 -gneE7" priority="0"/>
</connections>
178 changes: 178 additions & 0 deletions sumo/tests/netedit/bugs/ticket2327/input_net.edg.xml
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 05/05/17 13:46:00 by Netedit Version dev-SVN-r22761
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
<input>
<sumo-net-file value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net.net.xml"/>
</input>
<output>
<output-file value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net.net.xml"/>
<plain-output-prefix value="C:\Projects\SUMO_Trunk\tests\netedit\bugs\ticket2327\input_net"/>
</output>
<processing>
<no-internal-links value="false"/>
<no-turnarounds value="true"/>
<offset.disable-normalization value="true"/>
<lefthand value="false"/>
<junctions.corner-detail value="0"/>
<rectangular-lane-cut value="false"/>
</processing>
</configuration>
-->

<edges version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/edges_file.xsd">
<edge id="-gneE10" from="gneJ14" to="gneJ13" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE11" from="gneJ15" to="gneJ14" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE12" from="gneJ16" to="gneJ15" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE13" from="gneJ17" to="gneJ16" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE14" from="gneJ18" to="gneJ17" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE15" from="gneJ11" to="gneJ18" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE16" from="gneJ11" to="gneJ19" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE17" from="gneJ13" to="gneJ19" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE18" from="gneJ15" to="gneJ19" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE19" from="gneJ17" to="gneJ19" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE3" from="gneJ5" to="gneJ4" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE4" from="gneJ7" to="gneJ6" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE5" from="gneJ8" to="gneJ7" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE6" from="gneJ9" to="gneJ8" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE7" from="gneJ6" to="gneJ9" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE8" from="gneJ12" to="gneJ11" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="-gneE9" from="gneJ13" to="gneJ12" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE0" from="gneJ0" to="gneJ1" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE1" from="gneJ2" to="gneJ3" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE10" from="gneJ13" to="gneJ14" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE11" from="gneJ14" to="gneJ15" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE12" from="gneJ15" to="gneJ16" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE13" from="gneJ16" to="gneJ17" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE14" from="gneJ17" to="gneJ18" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE15" from="gneJ18" to="gneJ11" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE16" from="gneJ19" to="gneJ11" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE17" from="gneJ19" to="gneJ13" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE18" from="gneJ19" to="gneJ15" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE19" from="gneJ19" to="gneJ17" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE2" from="gneJ3" to="gneJ2" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE3" from="gneJ4" to="gneJ5" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE4" from="gneJ6" to="gneJ7" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE5" from="gneJ7" to="gneJ8" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE6" from="gneJ8" to="gneJ9" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE7" from="gneJ9" to="gneJ6" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE8" from="gneJ11" to="gneJ12" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
<edge id="gneE9" from="gneJ12" to="gneJ13" priority="1" numLanes="2" speed="13.89">
<lane index="0" allow="pedestrian" width="2.00"/>
<lane index="1" disallow="pedestrian"/>
</edge>
</edges>

0 comments on commit 7ece8c3

Please sign in to comment.