]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/db/import/naming.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / db / import / naming.feature
index f3019e2a52fe9e6e03b65e190443da5633e5a51a..bb29d2a314a46f7f917e298c4cf37fa311eb340c 100644 (file)
@@ -37,3 +37,24 @@ Feature: Import and search of names
         Then placex contains
           | object | country_code | name   | name+name:fi | name+name:de |
           | N1     | de           | german | finnish      | local        |
         Then placex contains
           | object | country_code | name   | name+name:fi | name+name:de |
           | N1     | de           | german | finnish      | local        |
+
+    Scenario Outline: Names in any script can be found
+        Given the places
+            | osm | class | type   | name   |
+            | N1  | place | hamlet | <name> |
+        When importing
+        And sending search query "<name>"
+        Then results contain
+            | osm |
+            | N1  |
+
+     Examples:
+        | name |
+        | Berlin |
+        | 北京 |
+        | Вологда |
+        | Αθήνα |
+        | القاهرة |
+        | រាជធានីភ្នំពេញ |
+        | 東京都 |
+        | ပုဗ္ဗသီရိ |