[Schmitzm-commits] r1805 - trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Dec 8 15:55:41 CET 2011
Author: alfonx
Date: 2011-12-08 15:55:39 +0100 (Thu, 08 Dec 2011)
New Revision: 1805
Modified:
trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses/AddrStringUtilTest.java
Log:
Modified: trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses/AddrStringUtilTest.java
===================================================================
--- trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses/AddrStringUtilTest.java 2011-12-08 12:27:32 UTC (rev 1804)
+++ trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses/AddrStringUtilTest.java 2011-12-08 14:55:39 UTC (rev 1805)
@@ -5,6 +5,7 @@
import java.util.Set;
+import org.apache.log4j.Level;
import org.junit.Test;
import de.schmitzm.lang.LangUtil;
@@ -31,6 +32,9 @@
checkHausnummern("1-", "1");
checkHausnummern("1/1", "1");
+ checkHausnummern("23/34", "23", "34");
+ checkHausnummern("23/34a", "23", "34a");
+
checkHausnummern("3/4", "3", "4");
checkHausnummern(" 2, 2 a, 4,", "2", "2a", "4");
@@ -81,6 +85,8 @@
@Test
public void testSplit() {
+ checkSplit("musterstraße", "musterstraße 23/34", "23/34", null, null, null);
+
// TODO
// checkSplit("Strahlenberger Straße", "Strahlenberger Straße 11 13 15 und 17", "11 13 15 und 17", null,
// null, null);
@@ -90,6 +96,7 @@
// "(Seehaus 1)", null);
checkSplit("Leypoldt Strasse", "Leypoldt Strasse 6,/10 8/1", "6", null, ",/10 8/1", null);
+
checkSplit("ander B2", "ander B2 5-6", "5-6", null, null, null);
More information about the Schmitzm-commits
mailing list