[Schmitzm-commits] r1298 - trunk/src_junit/skrueger/geotools/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 22 16:24:32 CET 2010


Author: alfonx
Date: 2010-11-22 16:24:31 +0100 (Mon, 22 Nov 2010)
New Revision: 1298

Modified:
   trunk/src_junit/skrueger/geotools/io/GsServerListTest.java
Log:


Modified: trunk/src_junit/skrueger/geotools/io/GsServerListTest.java
===================================================================
--- trunk/src_junit/skrueger/geotools/io/GsServerListTest.java	2010-11-22 15:24:03 UTC (rev 1297)
+++ trunk/src_junit/skrueger/geotools/io/GsServerListTest.java	2010-11-22 15:24:31 UTC (rev 1298)
@@ -31,4 +31,12 @@
 		assertEquals(gsl.get(0).getPassword(), gsl2.get(0).getPassword());
 		assertEquals(gsl.get(1).getPassword(), gsl2.get(1).getPassword());
 	}
+	
+
+	@Test
+	public void testParseEmpty() {
+		assertEquals(0, new GsServerList( (String) null).size());
+		assertEquals(0, new GsServerList("").size());
+		assertEquals(0, new GsServerList("         ö#äöä#öä#").size());
+	}
 }



More information about the Schmitzm-commits mailing list