Rob Atkinson ha scritto:
> HI
> 
> am having difficuly getting geotools trunk epsg-hsql module to pass
> its test suite, and it may be more obvious to someone what the problem
> is.
> 
> I get a few failures:
> 
> Test set: org.geotools.referencing.factory.epsg.DefaultFactoryTest
> -------------------------------------------------------------------------------
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.703
> sec <<< FAILURE!
> testFind(org.geotools.referencing.factory.epsg.DefaultFactoryTest)
> Time elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError: Should not find without a full scan, because
> the WKT contains no identifier and the CRS name is ambiguous (more
> than one EPSG object have this name).
> 
> 
> testFind is the offending method, and it passes when run from eclipse
> and fails from within maven.
> 
> 
> this one fails under both mvn and eclipse
> 
> junit.framework.ComparisonFailure: The CRS should still in the cache.
> expected:<EPSG:[4326]> but was:<EPSG:[63266405]>
>       at junit.framework.Assert.assertEquals(Assert.java:81)
>       at 
> org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediatorTest.testFindWSG84(HsqlDialectEpsgMediatorTest.java:108)
> 
> Am I chasing a real bug here or a test that assumes it finds something
> in a particular order?

Afaik there are test failures in that module if you're building with 
java 6. We are not able to fix them, a bug report about it has been
open for months without solution:
http://jira.codehaus.org/browse/GEOT-1917
Now that Martin is working on GeoTidy only, the hope for quick
a solution, if there was any left, is gone.
If the plan to backport GeoTidy to Java 5 works, when GeoTidy is
ready, we may get a fix (GeoTidy targets Java 6, so there it'll
work, now let's just hope the backport will not have issues building
with Java 5 ;) )

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to