Both on sun sdk 1.6 and ibm sdk 1.5 the following test fail
Failed tests:
testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediator
Test)
testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgFactoryT
est)
Some times only, the following tests fail:
testFind(org.geotools.referencing.factory.epsg.DefaultFactoryTest)
testFindWSG84(org.geotools.referencing.factory.epsg.ThreadedHsqlEps
For the testFindWSG84 it is a set problem (non deterministic order).
The testFind Method looks like a race condition and I have no idea. Anyway,
the
following 3 patches for testFindWSG84 work. Should I commit ?
-----------
Method
testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediatorT
est):
assertEquals("The CRS should still in the cache.","EPSG:4326", id);
should be replaced by
assertEquals("The CRS should still in the cache.",found.toString(), id);
----------
The same holds true for
testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgFactoryTe
st)
assertEquals("The CRS should still in the cache.","EPSG:4326", id);
should be replaced by
assertEquals("The CRS should still in the cache.",found.toString(), id);
----------------
The same holds true for
testFindWSG84(org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactoryT
est
assertEquals("The CRS should still in the cache.","EPSG:4326", id);
should be replaced by
assertEquals("The CRS should still in the cache.",found.toString(), id);
----------------
-------------------------------------------------------------------------
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