Skip to content

Commit

Permalink
Patching NETEDIT test expected results. Refs eclipse-sumo#3045
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Oct 20, 2020
1 parent 0d061c8 commit a2d79e4
Show file tree
Hide file tree
Showing 30 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Debug: Created crossing ':gneJ3_c0' in retrieveGNECrossing()
Debug: Created crossing ':gneJ3_c1' in retrieveGNECrossing()
Debug: Adding lane 'gneE2_0' into edge
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,8.40,60.00,30.00
Debug: net has to be saved
Debug: Current saving Status: net unsaved, additionals unsaved, demand elements saved, data sets saved
Debug: Key F5 (Compute) pressed
Expand All @@ -76,7 +76,7 @@ GLDebug: Removing edges during recomputing
GLDebug: Removed object edge:-gneE2 from SUMORTree with boundary -10.00,10.00,60.00,31.60
GLDebug: Removed object edge:gneE0 from SUMORTree with boundary -10.00,-11.60,60.00,10.00
GLDebug: Removed object edge:gneE1 from SUMORTree with boundary -10.00,-10.00,60.00,11.60
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Removed object edge:gneE4 from SUMORTree with boundary 38.40,-10.00,60.00,30.00
GLDebug: Removed object edge:gneE5 from SUMORTree with boundary 40.00,-10.00,61.60,30.00
GLDebug: Removed object edge:gneE8 from SUMORTree with boundary -11.60,-10.00,10.00,30.00
Expand All @@ -90,15 +90,15 @@ GLDebug: Add edges during recomputing after calling myNetBuilder->compute(...)
GLDebug: Inserted edge:-gneE2 into SUMORTree with boundary -10.00,10.00,60.00,31.60
GLDebug: Inserted edge:gneE0 into SUMORTree with boundary -10.00,-11.60,60.00,10.00
GLDebug: Inserted edge:gneE1 into SUMORTree with boundary -10.00,-10.00,60.00,11.60
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Inserted edge:gneE4 into SUMORTree with boundary 38.40,-10.00,60.00,30.00
GLDebug: Inserted edge:gneE5 into SUMORTree with boundary 40.00,-10.00,61.60,30.00
GLDebug: Inserted edge:gneE8 into SUMORTree with boundary -11.60,-10.00,10.00,30.00
GLDebug: Inserted edge:gneE9 into SUMORTree with boundary -10.00,-10.00,11.60,30.00
Debug: Keys Ctrl+Z (Undo) pressed
Debug: Calling GNEUndoList::undo()
Debug: Removing lane 'gneE2_0' from edge
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,8.40,60.00,30.00
Debug: Key F5 (Compute) pressed
GLDebug: Removing junctions during recomputing
Expand Down Expand Up @@ -133,7 +133,7 @@ Debug: Keys Ctrl+Y (Redo) pressed
Debug: Calling GNEUndoList::redo()
Debug: Adding lane 'gneE2_0' into edge
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,8.40,60.00,30.00
Debug: Additionals saved
GLDebug: Removing junctions during recomputing
GLDebug: Removed object junction:gneJ0 from SUMORTree with boundary -13.20,-13.20,13.20,13.20
Expand All @@ -144,7 +144,7 @@ GLDebug: Removing edges during recomputing
GLDebug: Removed object edge:-gneE2 from SUMORTree with boundary -10.00,10.00,60.00,31.60
GLDebug: Removed object edge:gneE0 from SUMORTree with boundary -10.00,-11.60,60.00,10.00
GLDebug: Removed object edge:gneE1 from SUMORTree with boundary -10.00,-10.00,60.00,11.60
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Removed object edge:gneE2 from SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Removed object edge:gneE4 from SUMORTree with boundary 38.40,-10.00,60.00,30.00
GLDebug: Removed object edge:gneE5 from SUMORTree with boundary 40.00,-10.00,61.60,30.00
GLDebug: Removed object edge:gneE8 from SUMORTree with boundary -11.60,-10.00,10.00,30.00
Expand All @@ -158,7 +158,7 @@ GLDebug: Add edges during recomputing after calling myNetBuilder->compute(...)
GLDebug: Inserted edge:-gneE2 into SUMORTree with boundary -10.00,10.00,60.00,31.60
GLDebug: Inserted edge:gneE0 into SUMORTree with boundary -10.00,-11.60,60.00,10.00
GLDebug: Inserted edge:gneE1 into SUMORTree with boundary -10.00,-10.00,60.00,11.60
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,5.20,60.00,30.00
GLDebug: Inserted edge:gneE2 into SUMORTree with boundary -10.00,8.40,60.00,30.00
GLDebug: Inserted edge:gneE4 into SUMORTree with boundary 38.40,-10.00,60.00,30.00
GLDebug: Inserted edge:gneE5 into SUMORTree with boundary 40.00,-10.00,61.60,30.00
GLDebug: Inserted edge:gneE8 into SUMORTree with boundary -11.60,-10.00,10.00,30.00
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 304 - 168
TestFunctions: Clicked over position 304 - 168
TestFunctions: Netedit closed successfully
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 5 with a valid value
netedit.modifyBoolAttribute(7, True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
DummyAllowed

authority army, passenger; taxi. tram
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/allow/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 1 with an non valid value (dummy)
netedit.modifyAttribute(2, "DummyAllowed", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
dummyShape

TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
13.112,16.22 34.19,16.11
TestFunctions: Clicked over position 304 - 168
TestFunctions: Clicked over position 304 - 168
Expand Down
4 changes: 2 additions & 2 deletions tests/netedit/netElements/lanes/inspect/customshape/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 6 with an non valid value (dummy)
netedit.modifyAttribute(8, "dummyShape", True)
Expand All @@ -50,7 +50,7 @@
netedit.rebuildNetwork()

# inspect edge again after recomputing
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 6 with a valid value
netedit.modifyAttribute(6, "13.112,16.22 34.19,16.11", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
DummyDisallowed

authority army, passenger; taxi. tram
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/disallow/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 2 with an non valid value
netedit.modifyAttribute(4, "DummyDisallowed", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
dummyEndOffset

-3
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/endoffset/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 4 with a non valid value (dummy)
netedit.modifyAttribute(6, "dummyEndOffset", True)
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/parameters/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# check parameters
netedit.checkParameters(referencePosition, 10, True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333

dummySpeed
-13
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/speed/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 0 with a non valid value (empty speed)
netedit.modifyAttribute(0, "", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 348
TestFunctions: Clicked over position 554 - 333
dummyWidth

-2
Expand Down
2 changes: 1 addition & 1 deletion tests/netedit/netElements/lanes/inspect/width/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect edge
netedit.leftClick(referencePosition, 250, 180)
netedit.leftClick(referencePosition, 250, 165)

# Change parameter 3 with a non valid value (dummy)
netedit.modifyAttribute(5, "dummyWidth", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 304 - 168
TestFunctions: Clicked over position 304 - 168
TestFunctions: Netedit closed successfully
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
netedit.selectMode()

# select first lane
netedit.leftClick(referencePosition, 250, 173)
netedit.leftClick(referencePosition, 250, 165)

# select second lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# go to inspect mode
netedit.inspectMode()

# inspect lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# Change parameter 5 with a valid value
netedit.modifyBoolAttribute(7, True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273
DummyAllowed

authority army, passenger; taxi. tram
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
netedit.selectMode()

# select first lane
netedit.leftClick(referencePosition, 250, 173)
netedit.leftClick(referencePosition, 250, 165)

# select second lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# go to inspect mode
netedit.inspectMode()

# inspect lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# Change parameter 1 with an non valid value (dummy)
netedit.modifyAttribute(2, "DummyAllowed", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273
DummyDisallowed

authority army, passenger; taxi. tram
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
netedit.selectMode()

# select first lane
netedit.leftClick(referencePosition, 250, 173)
netedit.leftClick(referencePosition, 250, 165)

# select second lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# go to inspect mode
netedit.inspectMode()

# inspect lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# Change parameter 2 with an non valid value
netedit.modifyAttribute(4, "DummyDisallowed", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273
dummyEndOffset

-3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
netedit.selectMode()

# select first lane
netedit.leftClick(referencePosition, 250, 173)
netedit.leftClick(referencePosition, 250, 165)

# select second lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# go to inspect mode
netedit.inspectMode()

# inspect lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# Change parameter 4 with a non valid value (dummy)
netedit.modifyAttribute(6, "dummyEndOffset", True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273
dummyGenericParameters
key1|key2|key3
key1=value1|key2=value2|key3=value3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
netedit.selectMode()

# select first lane
netedit.leftClick(referencePosition, 250, 173)
netedit.leftClick(referencePosition, 250, 165)

# select second lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# go to inspect mode
netedit.inspectMode()

# inspect lane
netedit.leftClick(referencePosition, 250, 112)
netedit.leftClick(referencePosition, 250, 105)

# check parameters
netedit.checkParameters(referencePosition, 9, True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestFunctions: Netedit opened successfully
Finding reference
TestFunctions: 'reference.png' found. Position: 304 - 168
TestFunctions: Clicked over position 554 - 341
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 280
TestFunctions: Clicked over position 554 - 333
TestFunctions: Clicked over position 554 - 273
TestFunctions: Clicked over position 554 - 273

dummySpeed
-13
Expand Down
Loading

0 comments on commit a2d79e4

Please sign in to comment.