Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSDK-592] Re-enable tests #192

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Tests/Demo.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
{
"skippedTests" : [
"MockServerIntegrationTestCase",
"OfflineIntegrationTests",
"SearchBox_SearchEngineIntegrationTests\/testResolvedSearchResult()",
"SearchBox_SearchEngineIntegrationTests\/testResolvedSearchResultWhenQueryChanged()"
"OfflineIntegrationTests"
],
"target" : {
"containerPath" : "container:MapboxSearch.xcodeproj",
Expand All @@ -56,10 +54,6 @@
{
"skippedTests" : [
"BaseTestCase",
"FavoritesUITestCase\/testAddEditLocationRemoveFavorite()",
"FavoritesUITestCase\/testAddRemoveFavorite()",
"FavoritesUITestCase\/testAddRenameCancelRemoveFavorite()",
"FavoritesUITestCase\/testAddRenameRemoveFavorite()",
"MockServerUITestCase"
],
"target" : {
Expand Down
15 changes: 8 additions & 7 deletions Tests/MockData/search-box/search-box-retrieve-minsk.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
"type": "Point"
},
"properties": {
"name": "Минск",
"name": "Minsk",
"mapbox_id": "dXJuOm1ieHBsYzpDWWds",
"feature_type": "place",
"place_formatted": "Minsk, Belarus",
"full_address": "Minsk, Minsk Region, Belarus",
"place_formatted": "Minsk Region, Belarus",
"context": {
"country": {
"id": "dXJuOm1ieHBsYzpJaVU",
Expand All @@ -23,14 +24,14 @@
"country_code_alpha_3": "BLR"
},
"region": {
"id": "dXJuOm1ieHBsYzo1Q1U",
"name": "Minsk",
"region_code": "HM",
"region_code_full": "BY-HM"
"id": "dXJuOm1ieHBsYzp4Q1U",
"name": "Minsk Region",
"region_code": "MI",
"region_code_full": "BY-MI"
},
"place": {
"id": "dXJuOm1ieHBsYzpDWWds",
"name": "Минск"
"name": "Minsk"
}
},
"coordinates": {
Expand Down
321 changes: 1 addition & 320 deletions Tests/MockData/search-box/search-box-suggestions-minsk.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,325 +24,6 @@
"metadata": {},
"distance": 9430000
},
{
"name": "Minsky's Pizza",
"mapbox_id": "dXJuOm1ieHJldDpHcEpoSE9ERDhHTTVoQnRmOVJLWWt3VlMxR3JyUDlIcUo2NjNHSE92MVhadVFBdUNfSVFxYlRBTDB5d3k5cTIwcXdObHdpWG1OUmhVbzBsZXBad3JORlhRYXhCb3FES3lJZUhKckdPclZoMG5uWEhjSElUYmlTU2ZqYnRWZDBZOWxiRkN1cnhkVW8wN3lGS2JsSFdIM29KelNTX2N1X1dUdG5ZeGlrczY4VzFtTk01eExiTEpwQWxRN1Q0MWwycHlubEszSTNJeVdveDhsRmptTjZ5SXFySW0tX2ctRk5GQ0l3MnBSSERrME1VTjNkQnNfMFNWeEFxdWotQ1duVDdReVBoWnQ4RTNtcEp1Ukp4MlJNbVRvdXd2TmZJNmc0clRkSjJpaEF5d0xzN2tHcjhZenBpYkJ5OHozcC01b0NJang4VGR2TElVNGZrdVlHVlZGaktnNU5kY2pEOWhkdlFZSnQ2Vm9wYWFETkdwZ25iRWk0bVhUQnNCdkZKMUQ4UGhEUW5aOHkweU82S29GV1B5WlZLSDVrcVZnWkZjYmR6T2xNcjJmWlRGcUM1QWNZRW5rVkNrVjliWFRPdFBlWWJEOG8tc25ILTlJVmtIeldVbV9fUW5iaGJYbW1oV1RjYlR6TkN4VjkwV2hBMTUzUEc5VzdoMGZiNWMtZjdLcUNQbGFDU29KRWNQSzBvLWI4Qkx3a3o4d2cyTG56VWUyWlFjbUJLR0E1cUF4NVBiVVhrYVZmdGVwVWxmUU1sekNTaU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minsky's Pizza"
],
"external_ids": {}
},
{
"name": "Paul Minsky PhD",
"mapbox_id": "dXJuOm1ieHBvaTo1NzFjMzQzMy1lNzdkLTQ3MDctODdmMi02NmZmMDg2ZDQxYTc",
"feature_type": "poi",
"address": "2006 Dwight Way Ste 101",
"full_address": "2006 Dwight Way Ste 101, Berkeley, California 94704, United States",
"place_formatted": "Berkeley, California 94704, United States",
"context": {
"country": {
"name": "United States",
"country_code": "US",
"country_code_alpha_3": "USA"
},
"region": {
"name": "California",
"region_code": "CA",
"region_code_full": "US-CA"
},
"postcode": {
"id": "dXJuOm1ieHBsYzpFcjN1N0E",
"name": "94704"
},
"place": {
"id": "dXJuOm1ieHBsYzpBWW1JN0E",
"name": "Berkeley"
},
"neighborhood": {
"id": "dXJuOm1ieHBsYzpJM0JzN0E",
"name": "South Berkeley"
},
"address": {
"name": "2006 Dwight Way Ste 101",
"address_number": "2006",
"street_name": "dwight way"
},
"street": {
"name": "dwight way"
}
},
"language": "en",
"maki": "marker",
"poi_category": [
"doctor's office",
"health services",
"services"
],
"poi_category_ids": [
"doctors_office",
"health_services",
"services"
],
"external_ids": {
"foursquare": "93cba9492be84d01aeca92be",
"safegraph": "23w-223@5vg-7qm-xkf"
},
"metadata": {},
"distance": 15000
},
{
"name": "Katie Mink LAc",
"name_preferred": "Mink Katie L.Ac.",
"mapbox_id": "dXJuOm1ieHBvaTplYjY5NmFkMy0xZjNlLTRmMjAtOWJjMy1hNGM3YTYyZWQzMzA",
"feature_type": "poi",
"address": "1720 Bancroft Way",
"full_address": "1720 Bancroft Way, Berkeley, California 94703, United States",
"place_formatted": "Berkeley, California 94703, United States",
"context": {
"country": {
"name": "United States",
"country_code": "US",
"country_code_alpha_3": "USA"
},
"region": {
"name": "California",
"region_code": "CA",
"region_code_full": "US-CA"
},
"postcode": {
"id": "dXJuOm1ieHBsYzpFcjNPN0E",
"name": "94703"
},
"place": {
"id": "dXJuOm1ieHBsYzpBWW1JN0E",
"name": "Berkeley"
},
"neighborhood": {
"id": "dXJuOm1ieHBsYzpCaVFzN0E",
"name": "Central Berkeley"
},
"address": {
"name": "1720 Bancroft Way",
"address_number": "1720",
"street_name": "bancroft way"
},
"street": {
"name": "bancroft way"
}
},
"language": "en",
"maki": "marker",
"poi_category": [
"health services",
"medical practice",
"services"
],
"poi_category_ids": [
"health_services",
"medical_practice",
"services"
],
"external_ids": {
"safegraph": "22y-229@5vg-7qm-ht9",
"foursquare": "336af7a8e3474eb55f971af8"
},
"metadata": {},
"distance": 15000
},
{
"name": "Minsky's Pizza",
"mapbox_id": "dXJuOm1ieHBvaTo1YzUxMzVmNy0wZjgyLTQzM2EtYjJiNC02MTI2M2JiY2UyN2E",
"feature_type": "poi",
"address": "7198 Renner Rd",
"full_address": "7198 Renner Rd, Shawnee, Kansas 66217, United States",
"place_formatted": "Shawnee, Kansas 66217, United States",
"context": {
"country": {
"name": "United States",
"country_code": "US",
"country_code_alpha_3": "USA"
},
"region": {
"name": "Kansas",
"region_code": "KS",
"region_code_full": "US-KS"
},
"postcode": {
"id": "dXJuOm1ieHBsYzpEWjBPN0E",
"name": "66217"
},
"place": {
"id": "dXJuOm1ieHBsYzpFZDlvN0E",
"name": "Shawnee"
},
"address": {
"name": "7198 Renner Rd",
"address_number": "7198",
"street_name": "renner rd"
},
"street": {
"name": "renner rd"
}
},
"language": "en",
"maki": "restaurant",
"poi_category": [
"fast food restaurant",
"food",
"food and drink",
"salad bar"
],
"poi_category_ids": [
"fast_food",
"food",
"food_and_drink",
"salad_bar"
],
"brand": [
"Minsky's Pizza"
],
"brand_id": [
"minskys_pizza"
],
"external_ids": {
"safegraph": "225-222@5pr-6ny-q2k",
"foursquare": "4b1efdf7f964a520982224e3"
},
"metadata": {},
"distance": 2400000
},
{
"name": "Minsky's Pizza",
"mapbox_id": "dXJuOm1ieHBvaTo4NWIwZDU2NS01M2M5LTRlNGEtOTdjNC0zMTgxMzUxMzNhNjY",
"feature_type": "poi",
"address": "2201 NW State Route 7",
"full_address": "2201 NW State Route 7, Blue Springs, Missouri 64015, United States",
"place_formatted": "Blue Springs, Missouri 64015, United States",
"context": {
"country": {
"name": "United States",
"country_code": "US",
"country_code_alpha_3": "USA"
},
"region": {
"name": "Missouri",
"region_code": "MO",
"region_code_full": "US-MO"
},
"postcode": {
"id": "dXJuOm1ieHBsYzpEVFN1N0E",
"name": "64015"
},
"place": {
"id": "dXJuOm1ieHBsYzpBZVJJN0E",
"name": "Blue Springs"
},
"address": {
"name": "2201 NW State Route 7",
"address_number": "2201",
"street_name": "nw state route 7"
},
"street": {
"name": "nw state route 7"
}
},
"language": "en",
"maki": "restaurant",
"poi_category": [
"fast food restaurant",
"food",
"food and drink",
"salad bar"
],
"poi_category_ids": [
"fast_food",
"food",
"food_and_drink",
"salad_bar"
],
"brand": [
"Minsky's Pizza"
],
"brand_id": [
"minskys_pizza"
],
"external_ids": {
"safegraph": "224-222@5pr-33t-btv",
"foursquare": "4b6762d9f964a520c14b2be3"
},
"metadata": {},
"distance": 2450000
},
{
"name": "Minsky's Pizza",
"mapbox_id": "dXJuOm1ieHBvaTo5ZDY5YTEwMC03YWJhLTQ3MTItOWM4OS1mZmRiNmM1OGM0MmY",
"feature_type": "poi",
"address": "10540 S Ridgeview Rd",
"full_address": "10540 S Ridgeview Rd, Olathe, Kansas 66061, United States",
"place_formatted": "Olathe, Kansas 66061, United States",
"context": {
"country": {
"name": "United States",
"country_code": "US",
"country_code_alpha_3": "USA"
},
"region": {
"name": "Kansas",
"region_code": "KS",
"region_code_full": "US-KS"
},
"postcode": {
"id": "dXJuOm1ieHBsYzpEWld1N0E",
"name": "66061"
},
"place": {
"id": "dXJuOm1ieHBsYzpEbjVJN0E",
"name": "Olathe"
},
"neighborhood": {
"id": "dXJuOm1ieHBsYzpHc1pzN0E",
"name": "North Ridgeview"
},
"address": {
"name": "10540 S Ridgeview Rd",
"address_number": "10540",
"street_name": "s ridgeview rd"
},
"street": {
"name": "s ridgeview rd"
}
},
"language": "en",
"maki": "restaurant",
"poi_category": [
"fast food restaurant",
"food",
"food and drink",
"salad bar"
],
"poi_category_ids": [
"fast_food",
"food",
"food_and_drink",
"salad_bar"
],
"brand": [
"Minsky's Pizza"
],
"brand_id": [
"minskys_pizza"
],
"external_ids": {
"safegraph": "226-222@5pr-6p8-2zf",
"foursquare": "5bde4038db1d81002c9b585c"
},
"metadata": {},
"distance": 2400000
},
{
"name": "Minsk",
"mapbox_id": "dXJuOm1ieHBsYzo1Q1U",
Expand Down Expand Up @@ -405,4 +86,4 @@
}
],
"attribution": "© 2023 Mapbox and its suppliers. All rights reserved. Use of this data is subject to the Mapbox Terms of Service. (https://www.mapbox.com/about/maps/)"
}
}