logo separator

[mkgmap-dev] unit test fails in branch

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Feb 8 15:58:24 GMT 2017

Fixed this. 

svn commit comment should have been:
"Merge in trunk and cope with mapSource without bounds"

Ticker


On Wed, 2017-02-08 at 08:46 +0000, Gerd Petermann wrote:
> Hi Ticker,
> 
> please check:
> The unit test testCombiningSupps() in class GmapsuppTest fails:
> SCHWERWIEGEND (MapFailedException): (thrown in Area.split()) Area
> split shift align problems
> uk.me.parabola.imgfmt.MapFailedException: Area split shift align
> problems
> 	at uk.me.parabola.imgfmt.app.Area.split(Area.java:174)
> 	at uk.me.parabola.mkgmap.build.MapArea.split(MapArea.java:206)
> 	at
> uk.me.parabola.mkgmap.build.MapSplitter.splitMaxSize(MapSplitter.java
> :234)
> 	at
> uk.me.parabola.mkgmap.build.MapSplitter.split(MapSplitter.java:103)
> 	at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:6
> 98)
> 	at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:234)
> 	at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(Over
> viewBuilder.java:184)
> 	at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuil
> der.java:91)
> 	at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:620)
> 	at
> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja
> va:128)
> 	at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:138)
> 	at
> uk.me.parabola.mkgmap.main.Main.mainNoSystemExit(Main.java:105)
> 	at
> func.files.GmapsuppTest.testCombiningSupps(GmapsuppTest.java:129)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
> Method.java:50)
> 	at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
> lable.java:12)
> 	at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
> thod.java:47)
> 	at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
> hod.java:17)
> 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
> java:26)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
> va:27)
> 	at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:78)
> 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:57)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> 	at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> 	at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> 	at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> 	at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> 	at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4
> TestReference.java:86)
> 	at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution
> .java:38)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remot
> eTestRunner.java:459)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remot
> eTestRunner.java:678)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTest
> Runner.java:382)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTes
> tRunner.java:192)
> Number of ExitExceptions: 1
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list