Create test suite for Maps.

This commit is contained in:
Lukas Ruzicka 2022-09-27 19:54:40 +02:00 committed by adamwill
parent b388c6fc94
commit d4717ff090
116 changed files with 1229 additions and 0 deletions

View File

@ -123,6 +123,11 @@ for hashname in ("jlJmL", "7XGzO", "ps61y", "OvXj~", "GqYOp", "VEFrP"):
testliterals.append(f"contacts_contact_added_{hashname}")
for info in ("home", "personal", "work"):
testliterals.append(f"contacts_label_{info}")
# Needles for Maps
for location in ("vilnius", "denali", "wellington", "scarborough", "pune"):
testliterals.append(f"maps_select_{location}")
testliterals.append(f"maps_found_{location}")
testliterals.append(f"maps_info_{location}")
# variable-y in custom_change_device but we only have one value
testliterals.append("anaconda_part_device_sda")
# for Anaconda help related needles.

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 447,
"ypos": 226,
"width": 123,
"height": 113,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_about_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 355,
"ypos": 582,
"width": 54,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_credits"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 742,
"ypos": 46,
"width": 19,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_delete_bar"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 677,
"ypos": 334,
"width": 54,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_export"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 352,
"ypos": 636,
"width": 46,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_legal"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 53,
"ypos": 47,
"width": 18,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_overlays"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 910,
"ypos": 46,
"width": 21,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_route"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_button_zoom_in"
],
"area": [
{
"xpos": 132,
"ypos": 44,
"width": 24,
"height": 24,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 95,
"ypos": 44,
"width": 19,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_zoom_out"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 341,
"ypos": 182,
"width": 162,
"height": 75,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_credits_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 355,
"type": "match",
"height": 80,
"width": 118,
"ypos": 396
}
],
"properties": [],
"tags": [
"maps_exported_map"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 443,
"ypos": 374,
"width": 137,
"height": 117,
"type": "match",
"match": 90
}
],
"properties": [],
"tags": [
"maps_found_brno"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"xpos": 443,
"ypos": 374,
"height": 117,
"width": 137
}
],
"properties": [],
"tags": [
"maps_found_brno"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 107,
"ypos": 389,
"width": 146,
"xpos": 431
}
],
"properties": [],
"tags": [
"maps_found_denali"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 431,
"ypos": 389,
"width": 146,
"height": 107,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_found_denali"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"maps_found_pune"
],
"area": [
{
"xpos": 374,
"ypos": 327,
"width": 212,
"height": 128,
"type": "match",
"match": "90"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 377,
"width": 160,
"ypos": 397,
"height": 77,
"type": "match",
"match": 90
}
],
"properties": [],
"tags": [
"maps_found_scarborough"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 377,
"ypos": 397,
"width": 160,
"height": 77,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_found_scarborough"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"maps_found_vilnius"
],
"area": [
{
"xpos": 540,
"ypos": 387,
"width": 192,
"height": 140,
"type": "match",
"match": "90"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"maps_found_wellington"
],
"area": [
{
"xpos": 379,
"ypos": 379,
"width": 198,
"height": 119,
"type": "match",
"match": "90"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

View File

@ -0,0 +1,22 @@
{
"properties": [],
"tags": [
"maps_info_denali"
],
"area": [
{
"xpos": 478,
"ypos": 513,
"width": 127,
"height": 47,
"type": "match"
},
{
"xpos": 371,
"ypos": 697,
"width": 76,
"height": 29,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_info_pune"
],
"area": [
{
"xpos": 394,
"ypos": 283,
"width": 96,
"height": 29,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 394,
"ypos": 283,
"width": 129,
"height": 56,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_info_scarborough"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 468,
"ypos": 66,
"width": 87,
"height": 100,
"type": "match"
},
{
"xpos": 376,
"ypos": 210,
"width": 74,
"height": 29,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_info_vilnius"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 KiB

View File

@ -0,0 +1,22 @@
{
"properties": [],
"tags": [
"maps_info_wellington"
],
"area": [
{
"xpos": 426,
"ypos": 193,
"width": 107,
"height": 66,
"type": "match"
},
{
"xpos": 375,
"ypos": 287,
"width": 117,
"height": 60,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 216,
"ypos": 82,
"width": 201,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_issues_opened"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 340,
"ypos": 211,
"width": 304,
"height": 38,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_legal_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 354,
"ypos": 508,
"width": 108,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_link_issue"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 357,
"ypos": 438,
"width": 59,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_link_website"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 415,
"ypos": 362,
"width": 197,
"height": 162,
"type": "match",
"match": 90
}
],
"properties": [],
"tags": [
"maps_map_zoomed"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 799,
"ypos": 207,
"width": 84,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_menu_about"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 798,
"ypos": 129,
"width": 116,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_menu_export"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 799,
"ypos": 173,
"width": 132,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_menu_shortcuts"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 102,
"height": 318,
"ypos": 194,
"xpos": 300
}
],
"properties": [],
"tags": [
"maps_route_bike_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 195,
"type": "match",
"height": 329,
"width": 80,
"xpos": 322
}
],
"properties": [],
"tags": [
"maps_route_car_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 830,
"ypos": 98,
"width": 23,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_route_type_bike"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 873,
"ypos": 94,
"width": 23,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_route_type_car"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 789,
"ypos": 94,
"width": 23,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_route_type_walk"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 195,
"width": 98,
"height": 315,
"type": "match",
"xpos": 305
}
],
"properties": [],
"tags": [
"maps_route_walk_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 578,
"width": 157,
"height": 61,
"type": "match",
"xpos": 4
}
],
"properties": [],
"tags": [
"maps_scale_off"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 601,
"type": "match",
"width": 151,
"height": 38,
"xpos": 5
}
],
"properties": [],
"tags": [
"maps_scale_on"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 260,
"ypos": 92,
"width": 94,
"height": 42,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_select_brno"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_select_denali"
],
"area": [
{
"xpos": 391,
"ypos": 131,
"width": 80,
"height": 21,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 192,
"ypos": 158,
"width": 119,
"height": 13,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_select_file"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 748,
"ypos": 257,
"width": 128,
"height": 41,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_select_johngroats"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 748,
"ypos": 292,
"width": 132,
"height": 42,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_select_landsend"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_select_pune"
],
"area": [
{
"xpos": 261,
"ypos": 94,
"width": 107,
"height": 41,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 263,
"ypos": 151,
"width": 119,
"height": 37,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_select_scarborough"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_select_vilnius"
],
"area": [
{
"xpos": 261,
"ypos": 92,
"width": 115,
"height": 44,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"maps_select_wellington"
],
"area": [
{
"xpos": 263,
"ypos": 95,
"width": 111,
"height": 39,
"type": "match"
}
]
}

Some files were not shown because too many files have changed in this diff Show More