[Schmitzm-commits] r1876 - trunk/schmitzm-core/src/test/java/de/schmitzm/lang

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 29 02:14:37 CET 2012


Author: alfonx
Date: 2012-02-29 02:14:37 +0100 (Wed, 29 Feb 2012)
New Revision: 1876

Modified:
   trunk/schmitzm-core/src/test/java/de/schmitzm/lang/LangUtilTest.java
Log:


Modified: trunk/schmitzm-core/src/test/java/de/schmitzm/lang/LangUtilTest.java
===================================================================
--- trunk/schmitzm-core/src/test/java/de/schmitzm/lang/LangUtilTest.java	2012-02-26 21:28:21 UTC (rev 1875)
+++ trunk/schmitzm-core/src/test/java/de/schmitzm/lang/LangUtilTest.java	2012-02-29 01:14:37 UTC (rev 1876)
@@ -36,6 +36,7 @@
 		assertTrue(LangUtil.parseStringDefaultFalse(" JA BITTE !"));
 		assertTrue(LangUtil.parseStringDefaultFalse("j"));
 		assertTrue(LangUtil.parseStringDefaultFalse("1"));
+		assertTrue(LangUtil.parseStringDefaultFalse("1  "));
 		assertTrue(LangUtil.parseStringDefaultFalse("vorhanden"));
 
 		assertFalse(LangUtil.parseStringDefaultFalse(null));
@@ -43,6 +44,9 @@
 		assertFalse(LangUtil.parseStringDefaultFalse("23"));
 		assertFalse(LangUtil.parseStringDefaultFalse("-2"));
 		assertFalse(LangUtil.parseStringDefaultFalse("Autohaus nicht vorhanden"));
+		assertFalse(LangUtil.parseStringDefaultFalse("1,111"));
+		assertFalse(LangUtil.parseStringDefaultFalse("1111"));
+		assertFalse(LangUtil.parseStringDefaultFalse("1989"));
 	}
 
 	@Test



More information about the Schmitzm-commits mailing list