Jody Garnett ha scritto:
> Okay I updated the development page to reflect the new location. Thanks
> for keeping the build box going Justin.
>
> I am encountering a build failure on trunk:
>> Running org.geotools.data.DataUtilitiesTest
>> Tests run: 25, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.364
>> sec <<< FAILURE!
> Where the problem does not occur from withing eclipse. The tests tat
> fail seem to concern the addition of SRID information to the really
> quick feature type syntax I created way back when.
>> testSpecNoCRS(org.geotools.data.DataUtilitiesTest) Time elapsed:
>> 0.005 sec <<< FAILURE!
>> junit.framework.ComparisonFailure: expected:<...String...> but
>> was:<...""...>
>> at junit.framework.Assert.assertEquals(Assert.java:81)
>> at junit.framework.Assert.assertEquals(Assert.java:87)
>> at
>> org.geotools.data.DataUtilitiesTest.testSpecNoCRS(DataUtilitiesTest.java:539)
>>
>> testSpecCRS(org.geotools.data.DataUtilitiesTest) Time elapsed: 1.227
>> sec <<< FAILURE!
>> junit.framework.ComparisonFailure: expected:<...String...> but
>> was:<...""...>
>> at junit.framework.Assert.assertEquals(Assert.java:81)
>> at junit.framework.Assert.assertEquals(Assert.java:87)
>> at
>> org.geotools.data.DataUtilitiesTest.testSpecCRS(DataUtilitiesTest.java:545)
>>
>> testSpecNotIdentifiable(org.geotools.data.DataUtilitiesTest) Time
>> elapsed: 0.031 sec <<< FAILURE!
>> junit.framework.ComparisonFailure: expected:<...String...> but
>> was:<...""...>
>> at junit.framework.Assert.assertEquals(Assert.java:81)
>> at junit.framework.Assert.assertEquals(Assert.java:87)
>> at
>> org.geotools.data.DataUtilitiesTest.testSpecNotIdentifiable(DataUtilitiesTest.java:554)
> I don't remember adding this; but I can see how it would be useful. It
> just makes building a little more tangled as main now depends on
> epsg-hsql for testing (perhaps it did already?)
It was the first way I found to check DataUtilities.spec was working for
good with CRS (since it wasn't before). Can you suggest a better way? :)
> svn blame tells me the following:
>> 27726 aaime public void testSpecNoCRS() throws Exception {
>> 27726 aaime String spec =
>> "id:String,polygonProperty:Polygon";
>> 27726 aaime SimpleFeatureType ft =
>> DataUtilities.createType("testType", spec);
>> 27726 aaime assertEquals(spec, DataUtilities.spec(ft));
>> 27726 aaime }
> Andrea how are you able to build? The build box seems happy, but these
> tests fail for me ...
I have no idea, they do just work for me? I'm checking, but
unfortunately I'm a full build away from starting to work on this since
otherwise whatever I do with maven downloads the jars from Refractions
(and that really takes forever)
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel