logo separator

[mkgmap-dev] [Patch v1] unit tests

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Aug 31 06:57:43 BST 2015

Hi Steve,

please review the attached patch.
It fixes two small problems in the unit tests:
1) an osmmap.img was remaining
2) a file args was not closed and produced this error message:
[junit] Running uk.me.parabola.mkgmap.CommandArgsTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,071 sec
[junit] Exception in thread "Thread-1" java.lang.AssertionError: delete existing file: args
[junit]     at org.junit.Assert.fail(Assert.java:88)
[junit]     at org.junit.Assert.assertTrue(Assert.java:41)
[junit]     at func.lib.TestUtils.deleteOutputFiles(TestUtils.java:75)
[junit]     at func.lib.TestUtils$1.run(TestUtils.java:59)
[junit]     at java.lang.Thread.run(Thread.java:745)

Gerd
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150831/b3f1165a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unit-tests-v1.patch
Type: application/octet-stream
Size: 1678 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150831/b3f1165a/attachment.obj>


More information about the mkgmap-dev mailing list