logo separator

[mkgmap-dev] Unable to build splitter

From Paul paul at pointdee.co.uk on Mon Jan 30 12:13:24 GMT 2017

I'm not sure if this is a splitter problem or OS problem but I thought 
I'd ask here first as I think that this problem is likely to have 
started with r570 
(http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/025847.html). The 
following has been tried on both openSuSE 13.2 and 42.2

I checked out the latest splitter into an empty directory, ran "ant 
dist" and received an error regarding junit.jar. I then installed 
ant-junit and now when running "ant dist" I get

resolve-test:

compile.tests:
     [javac] Compiling 13 source files to 
/home/bos/Maps/tile-splitter/splitter/build/test-classes

run.tests:
     [junit] Running uk.me.parabola.splitter.AreaSetTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.042 sec
     [junit] TEST uk.me.parabola.splitter.AreaSetTest FAILED
     [junit] Running uk.me.parabola.splitter.ConvertTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.006 sec
     [junit] TEST uk.me.parabola.splitter.ConvertTest FAILED
     [junit] Running uk.me.parabola.splitter.RoundingTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.002 sec
     [junit] TEST uk.me.parabola.splitter.RoundingTest FAILED
     [junit] Running uk.me.parabola.splitter.geo.CityFinderTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.003 sec
     [junit] TEST uk.me.parabola.splitter.geo.CityFinderTest FAILED
     [junit] Running uk.me.parabola.splitter.tools.CustomCollectionsTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.005 sec
     [junit] TEST uk.me.parabola.splitter.tools.CustomCollectionsTest FAILED
     [junit] Running uk.me.parabola.splitter.tools.SparseBitSetTest
     [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 0.002 sec
     [junit] TEST uk.me.parabola.splitter.tools.SparseBitSetTest FAILED
     [junit] Tests FAILED
[junitreport] Processing 
/home/bos/Maps/tile-splitter/splitter/tmp/TESTS-TestSuites.xml to 
/tmp/null380785018
[junitreport] Loading stylesheet 
jar:file:/usr/share/java/ant/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Warning: 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not 
recognized.
[junitreport] Warning: 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[junitreport] Transform time: 303ms
[junitreport] Deleting: /tmp/null380785018

BUILD FAILED
/home/bos/Maps/tile-splitter/splitter/build.xml:261: Test failed.  See 
test-reports/index.html

Total time: 5 seconds





If I then look in test-reports/index.html and expand the failures I get 
the following

No tests found in uk.me.parabola.splitter.AreaSetTest

junit.framework.AssertionFailedError: No tests found in 
uk.me.parabola.splitter.AreaSetTest

If you need more information please ask

Thanks

Paul


More information about the mkgmap-dev mailing list