Hmmm... I have a hunch. That tests tries to set up a schema in the temp
directory and then change an xml document on the fly to refer to it. If
the scheam was not found then values would just be returned as
strings... and if found it would be transformed into the type defined by
the schema, an integer in this case.

Being the bad person I am I did not test this on windows... that could
be the problem.

-Justin

Andrea Aime wrote:
> Hi,
> I have this funny test failure in the wfs bindings module
> (extension/xsd/wfs):
> 
> -------------------------------------------------------------------------------
> 
> Test set: org.geotools.wfs.WFSParsingTest
> -------------------------------------------------------------------------------
> 
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.141
> sec <<< FAILURE!
> testParseGetFeature(org.geotools.wfs.WFSParsingTest)  Time elapsed:
> 0.953 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<155> but was:<155>
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.failNotEquals(Assert.java:282)
>         at junit.framework.Assert.assertEquals(Assert.java:64)
>         at junit.framework.Assert.assertEquals(Assert.java:71)
>         at
> org.geotools.wfs.WFSParsingTest.testParseGetFeature(WFSParsingTest.java:211)
> 
> 
> where the assert is:
> 
> assertEquals(BigInteger.valueOf(155), f.getAttribute("intProperty"));
> 
> A type mismatch I guess? The build server does not seem to see it
> thought...
> 
> Cheers
> Andrea
> 
> !DSPAM:4007,47205860279326491211187!
> 


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
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

Reply via email to