[Schmitzm-commits] r1899 - trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 12 01:03:29 CET 2012


Author: alfonx
Date: 2012-03-12 01:03:28 +0100 (Mon, 12 Mar 2012)
New Revision: 1899

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	2012-03-12 00:02:33 UTC (rev 1898)
+++ trunk/schmitzm-adresses/src/test/java/de/schmitzm/adresses/AddrStringUtilTest.java	2012-03-12 00:03:28 UTC (rev 1899)
@@ -326,6 +326,10 @@
 
 	@Test
 	public void testSaeubereStrassenname() {
+		assertEquals("", AddrStringUtil.saeubereStrassenname(""));
+		assertEquals("", AddrStringUtil.saeubereStrassenname("     "));
+		assertEquals("112233", AddrStringUtil.saeubereStrassenname(" 112233    "));
+		
 		assertEquals("Sternstr.", AddrStringUtil.saeubereStrassenname("Sternstraße"));
 		assertEquals("Sternstr.", AddrStringUtil.saeubereStrassenname("Sternstrasse"));
 		assertEquals("Sternstr.", AddrStringUtil.saeubereStrassenname("Sternstrasse"));
@@ -340,8 +344,4 @@
 		assertEquals("78er-Str. 45a-d", AddrStringUtil.saeubereStrassenname("78 er - Straße   45 A - d"));
 	}
 
-	@Test
-	public void testSaeubereStrassennameSuffix() throws Exception {
-
-	}
 }



More information about the Schmitzm-commits mailing list