[Schmitzm-commits] r1088 - trunk/src_junit/schmitzm/geotools/feature

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Oct 10 01:07:27 CEST 2010


Author: alfonx
Date: 2010-10-10 01:07:26 +0200 (Sun, 10 Oct 2010)
New Revision: 1088

Modified:
   trunk/src_junit/schmitzm/geotools/feature/FeatureUtilTest.java
Log:
- Added test dependencies to GP  maven modules.
- Added tests to warn for arabic (any non DBF standard) attribute names in shapefile DBF headers

Modified: trunk/src_junit/schmitzm/geotools/feature/FeatureUtilTest.java
===================================================================
--- trunk/src_junit/schmitzm/geotools/feature/FeatureUtilTest.java	2010-10-09 22:12:04 UTC (rev 1087)
+++ trunk/src_junit/schmitzm/geotools/feature/FeatureUtilTest.java	2010-10-09 23:07:26 UTC (rev 1088)
@@ -64,4 +64,10 @@
 
 	}
 
+	@Test
+	public void testCheckAttributeNameRestrictionsAndError() {
+		assertFalse(FeatureUtil.checkAttributeNameRestrictions("الح"));
+		assertFalse(FeatureUtil.checkAttributeNameRestrictions("aوض"));
+	}
+
 }



More information about the Schmitzm-commits mailing list