Mercurial > dive4elements > gnv-client
changeset 264:5bbdbc0bbddc
Added SFS-Support to ArcSDE-Query-Part
geo-backend/trunk@211 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 13 Oct 2009 09:00:30 +0000 |
parents | 031ef9649cd1 |
children | e5379e129799 |
files | geo-backend/ChangeLog geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/geo-backend/ChangeLog Tue Oct 13 08:57:19 2009 +0000 +++ b/geo-backend/ChangeLog Tue Oct 13 09:00:30 2009 +0000 @@ -1,5 +1,7 @@ 2009-10-13 Tim Englich <tim.englich@intevation.de> + * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java (QueryExecutorTestCase): + Changed expected Result of Spatial-Query-TestCase because of Changes to the used Query * src/test/ressources/QueryExecutorTestCase.properties: Added SFS-Conformal Query * pom.xml:
--- a/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Tue Oct 13 08:57:19 2009 +0000 +++ b/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Tue Oct 13 09:00:30 2009 +0000 @@ -49,7 +49,7 @@ public void testSpatialQuery(){ try { - this.testQuery(27031, "spatial_query", null); + this.testQuery(5, "spatial_query", null); } catch (QueryException e) { log.error(e,e); fail(); @@ -119,7 +119,7 @@ int columns = resultDescriptor.getColumnCount(); for (int i = 0; i < columns; i++){ String columnName = resultDescriptor.getColumnName(i); - Object value = tmpResult.getObject(columnName); + Object value = tmpResult.getString(columnName); log.debug(columnName + " ==> "+value.toString()); } }