A clue! The test only fails when run with the other tests in the same directory.
If I run it alone (or in eclipse) it works: mvn -Dtest=URN_EPSG_Test test I suspect good old surefire has changed again and is not keeping the same JVM (and thus the same System properties around between test executions. Going to hunt down the CRS axis order test and make sure if set's the value back. Jody > Here is the failure: > >> Running org.geotools.referencing.factory.URN_EPSG_Test >> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.032 >> sec <<< FAILURE! >> > And the details: > >> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047 >> sec <<< FAILURE! >> test4326(org.geotools.referencing.factory.URN_EPSG_Test) Time >> elapsed: 0.016 sec <<< FAILURE! >> junit.framework.AssertionFailedError: expected same:<GEOGCS["WGS 84", >> DATUM["World Geodetic System 1984", >> SPHEROID["WGS 84", 6378137.0, 298.257223563, >> AUTHORITY["EPSG","7030"]], >> AUTHORITY["EPSG","6326"]], >> PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], >> UNIT["degree", 0.017453292519943295], >> AXIS["Geodetic longitude", EAST], >> AXIS["Geodetic latitude", NORTH], >> AUTHORITY["EPSG","4326"]]> was not:<GEOGCS["WGS 84", >> DATUM["World Geodetic System 1984", >> SPHEROID["WGS 84", 6378137.0, 298.257223563, >> AUTHORITY["EPSG","7030"]], >> AUTHORITY["EPSG","6326"]], >> PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], >> UNIT["degree", 0.017453292519943295], >> AXIS["Geodetic latitude", NORTH], >> AXIS["Geodetic longitude", EAST], >> AUTHORITY["EPSG","4326"]]> >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.failNotSame(Assert.java:278) >> at junit.framework.Assert.assertSame(Assert.java:242) >> at junit.framework.Assert.assertSame(Assert.java:249) >> at >> org.geotools.referencing.factory.URN_EPSG_Test.test4326(URN_EPSG_Test.java:69) >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
