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 19, 2020
1 parent 54d92b5 commit 7090c17
Show file tree
Hide file tree
Showing 157 changed files with 777 additions and 725 deletions.
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 454 - 423
TestFunctions: Clicked over position 454 - 408
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 E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change boolean parameter block move
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 454 - 423
TestFunctions: Clicked over position 454 - 408
%%%;:..&&%$%$
myOwnOutput.txt
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter file with an non valid value
netedit.modifyAttribute(1, "%%%;:..&&%$%$", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
dummyTrue
true
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change boolean parameter friendlypos
netedit.modifyAttribute(3, "dummyTrue", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
%%%;:..&&%$%$
customName
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter name with an non valid value
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 454 - 423
TestFunctions: Clicked over position 454 - 408
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,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# check parameters
netedit.checkParameters(referencePosition, 5, 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 454 - 423
TestFunctions: Clicked over position 454 - 408

Type%%%%%1 T;;yp$2 Type3
Type1 Type2 Type3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter vtypes with a empty value
netedit.modifyAttribute(2, "", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
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 E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change boolean parameter block move
netedit.modifyBoolAttribute(8, 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 454 - 423
TestFunctions: Clicked over position 454 - 408
%%%;:..&&%$%$
myOwnOutput.txt
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter file with an non valid value
netedit.modifyAttribute(2, "%%%;:..&&%$%$", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
dummyFrequency
-100
120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter freq with a non valid value (non numeral)
netedit.modifyAttribute(0, "dummyFrequency", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
dummyTrue
true
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change boolean parameter friendlypos
netedit.modifyAttribute(4, "dummyTrue", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
%%%;:..&&%$%$
customName
TestFunctions: Clicked over position 304 - 168
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter name with an non valid value
netedit.modifyAttribute(1, "%%%;:..&&%$%$", 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 454 - 423
TestFunctions: Clicked over position 454 - 408
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,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# check parameters
netedit.checkParameters(referencePosition, 6, 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 454 - 423
TestFunctions: Clicked over position 454 - 408

Type%%%%%1 T;;yp$2 Type3
Type1 Type2 Type3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
netedit.inspectMode()

# inspect E1
netedit.leftClick(referencePosition, 150, 255)
netedit.leftClick(referencePosition, 150, 240)

# Change parameter vtypes with a empty value
netedit.modifyAttribute(3, "", True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ TestFunctions: 'reference.png' found. Position: 304 - 168
0
25
e3Detector
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
detEntry
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 418
detExit
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 604 - 568
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 538
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 @@ -41,7 +41,7 @@
netedit.changeDefaultBoolValue(10)

# try to create E3 with block movement
netedit.leftClick(referencePosition, 100, 90)
netedit.leftClick(referencePosition, 100, 85)

# restore block movement
netedit.changeDefaultBoolValue(10)
Expand All @@ -50,14 +50,14 @@
netedit.changeElement("detEntry")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 250)

# select entry detector
netedit.changeElement("detExit")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 370)

# Check undo redo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ TestFunctions: 'reference.png' found. Position: 304 - 168
0
25
e3Detector
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
detEntry
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 418
detExit
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 604 - 568
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 538
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,20 +38,20 @@
netedit.changeElement("e3Detector")

# create E3 with default parameters
netedit.leftClick(referencePosition, 100, 90)
netedit.leftClick(referencePosition, 100, 85)

# select entry detector
netedit.changeElement("detEntry")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 250)

# select entry detector
netedit.changeElement("detExit")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 370)

# Check undo redo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TestFunctions: 'reference.png' found. Position: 304 - 168
0
25
e3Detector
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
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.changeElement("e3Detector")

# create E3 with default parameters
netedit.leftClick(referencePosition, 100, 90)
netedit.leftClick(referencePosition, 100, 85)

# Check undo redo
netedit.undo(referencePosition, 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ TestFunctions: 'reference.png' found. Position: 304 - 168
25
e3Detector
%%%$$%%$%
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
myOwnFile.txt
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
detEntry
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 418
detExit
TestFunctions: Clicked over position 404 - 268
TestFunctions: Clicked over position 604 - 568
TestFunctions: Clicked over position 404 - 258
TestFunctions: Clicked over position 604 - 538
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 @@ -41,26 +41,26 @@
netedit.changeDefaultValue(5, "%%%$$%%$%")

# try to create E3 with invalid file
netedit.leftClick(referencePosition, 100, 90)
netedit.leftClick(referencePosition, 100, 85)

# set valid file
netedit.changeDefaultValue(5, "myOwnFile.txt")

# create E3 with valid file
netedit.leftClick(referencePosition, 100, 90)
netedit.leftClick(referencePosition, 100, 85)

# select entry detector
netedit.changeElement("detEntry")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 250)

# select entry detector
netedit.changeElement("detExit")

# Create Entry and exit detectors for all E3 detectors (except for the first, that only have one Entry)
netedit.leftClick(referencePosition, 100, 90) # select E3
netedit.leftClick(referencePosition, 100, 85) # select E3
netedit.leftClick(referencePosition, 300, 370)

# Check undo redo
Expand Down
Loading

0 comments on commit 7090c17

Please sign in to comment.