remove special casing for legacy tokenizer from BDD tests

This commit is contained in:
Sarah Hoffmann
2024-09-21 17:07:32 +02:00
parent 74c39267d9
commit d4f3eda314
13 changed files with 7 additions and 282 deletions

View File

@@ -104,7 +104,6 @@ Feature: Parenting of objects
| N3 | W2 |
| N4 | W1 |
@fail-legacy
Scenario: addr:street tag parents to appropriately named street, locale names
Given the grid
| 10 | | | | | 11 |

View File

@@ -195,7 +195,6 @@ Feature: Import of postcodes
| E45 2 | gb | 23 | 5 |
| Y45 | gb | 21 | 5 |
@fail-legacy
Scenario: Postcodes outside all countries are not added to the postcode and word table
Given the places
| osm | class | type | addr+postcode | addr+housenumber | addr+place | geometry |

View File

@@ -11,7 +11,6 @@ Feature: Creation of search terms
| object | name_vector |
| N1 | #New York, #Big Apple |
@fail-legacy
Scenario: Comma-separated names appear as a single full name
Given the places
| osm | class | type | name+alt_name |

View File

@@ -27,7 +27,6 @@ Feature: Searching of house numbers
| N1 |
@fail-legacy
Scenario Outline: Numeral housenumbers in any script are found
Given the places
| osm | class | type | housenr | geometry |
@@ -84,7 +83,6 @@ Feature: Searching of house numbers
| 2, 4, 12 |
@fail-legacy
Scenario Outline: Housenumber - letter combinations are found
Given the places
| osm | class | type | housenr | geometry |
@@ -150,7 +148,6 @@ Feature: Searching of house numbers
| 34/10 |
@fail-legacy
Scenario Outline: a bis housenumber is found
Given the places
| osm | class | type | housenr | geometry |
@@ -184,7 +181,6 @@ Feature: Searching of house numbers
| 45 bis |
@fail-legacy
Scenario Outline: a ter housenumber is found
Given the places
| osm | class | type | housenr | geometry |
@@ -218,7 +214,6 @@ Feature: Searching of house numbers
| 45 TER |
@fail-legacy
Scenario Outline: a number - letter - number combination housenumber is found
Given the places
| osm | class | type | housenr | geometry |
@@ -252,7 +247,6 @@ Feature: Searching of house numbers
| 501h1 |
@fail-legacy
Scenario Outline: Russian housenumbers are found
Given the places
| osm | class | type | housenr | geometry |

View File

@@ -1,7 +1,6 @@
@DB
Feature: Searches in Japan
Test specifically for searches of Japanese addresses and in Japanese language.
@fail-legacy
Scenario: A block house-number is parented to the neighbourhood
Given the grid with origin JP
| 1 | | | | 2 |

View File

@@ -14,7 +14,6 @@ Feature: Querying fo postcode variants
| 0 | postcode | 399174, Singapore |
@fail-legacy
Scenario Outline: Postcodes in the Netherlands (mixed postcode with spaces)
Given the grid with origin NL
| 10 | | | | 11 |
@@ -38,7 +37,6 @@ Feature: Querying fo postcode variants
| 3993 dx |
@fail-legacy
Scenario: Postcodes in Singapore (6-digit postcode)
Given the grid with origin SG
| 10 | | | | 11 |
@@ -52,7 +50,6 @@ Feature: Querying fo postcode variants
| 0 | postcode | 399174, Singapore |
@fail-legacy
Scenario Outline: Postcodes in Andorra (with country code)
Given the grid with origin AD
| 10 | | | | 11 |
@@ -76,7 +73,6 @@ Feature: Querying fo postcode variants
| AD675 |
@fail-legacy
Scenario: Different postcodes with the same normalization can both be found
Given the places
| osm | class | type | addr+postcode | addr+housenumber | geometry |
@@ -97,7 +93,6 @@ Feature: Querying fo postcode variants
| postcode | E4 7EA, United Kingdom |
@fail-legacy
Scenario: Postcode areas are preferred over postcode points
Given the grid with origin DE
| 1 | 2 |

View File

@@ -77,7 +77,6 @@ Feature: Searching of simple objects
| W1 |
@fail-legacy
Scenario Outline: Special cased american states will be found
Given the grid
| 1 | | 2 |

View File

@@ -8,7 +8,6 @@ Feature: Country handling
| | 10 | |
| 4 | | 3 |
@fail-legacy
Scenario: When country names are changed old ones are no longer searchable
Given the places
| osm | class | type | admin | name+name:xy | country | geometry |
@@ -27,7 +26,6 @@ Feature: Country handling
When sending search query "Wenig, Loudou"
Then exactly 0 results are returned
@fail-legacy
Scenario: When country names are deleted they are no longer searchable
Given the places
| osm | class | type | admin | name+name:xy | country | geometry |
@@ -83,7 +81,6 @@ Feature: Country handling
| N10 | Wenig, Lilly |
@fail-legacy
Scenario: When a localised name is deleted, the standard name takes over
Given the places
| osm | class | type | admin | name+name:de | country | geometry |