Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
40 0 0 0 100% 0.175 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
it.tidalwave.mapviewer.spi 8 0 0 0 100% 0.003 s
it.tidalwave.mapviewer 4 0 0 0 100% 0.117 s
it.tidalwave.mapviewer.impl 28 0 0 0 100% 0.055 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

it.tidalwave.mapviewer.spi

- Class Tests Errors Failures Skipped Success Rate Time
MercatorProjectionTest 8 0 0 0 100% 0.003 s

it.tidalwave.mapviewer

- Class Tests Errors Failures Skipped Success Rate Time
MapAreaTest 4 0 0 0 100% 0.117 s

it.tidalwave.mapviewer.impl

- Class Tests Errors Failures Skipped Success Rate Time
MapViewModelTest 28 0 0 0 100% 0.055 s

Test Cases

[Summary] [Package List] [Test Cases]

MapAreaTest

test_getCenter[(n=50.000000, e=8.000000, s=40.000000, w=4.000000), (45.000000, 6.000000)](1) 0.116 s
test_getCenter[(n=60.000000, e=-150.000000, s=50.000000, w=150.000000), (55.000000, 180.000000)](2) 0.001 s
test_getCenter[(n=60.000000, e=-150.000000, s=50.000000, w=160.000000), (55.000000, -175.000000)](3) 0 s
test_getCenter[(n=60.000000, e=-160.000000, s=50.000000, w=150.000000), (55.000000, 175.000000)](4) 0 s

MapViewModelTest

test_computeFittingZoom[(n=44.401200, e=8.954000, s=44.399200, w=8.952200), 800, 600, 18](1) 0.010 s
test_computeFittingZoom[(n=47.115000, e=18.480000, s=36.619900, w=6.749000), 800, 600, 5](2) 0.007 s
test_computeFittingZoom[(n=60.000000, e=-148.000000, s=46.000000, w=160.000000), 800, 600, 4](3) 0.006 s
test_greatestOdd 0.001 s
test_iterateOnGrid[1, (0.000000, 0.000000), (0, 0) - https://tile.openstreetmap.org/1/0/0.png (1, 0) - https://tile.openstreetmap.org/1/1/0.png (2, 0) - https://tile.openstreetmap.org/1/0/0.png (0, 1) - https://tile.openstreetmap.org/1/0/1.png (1, 1) - https://tile.openstreetmap.org/1/1/1.png (2, 1) - https://tile.openstreetmap.org/1/0/1.png (0, 2) - https://tile.openstreetmap.org/1/0/0.png (1, 2) - https://tile.openstreetmap.org/1/1/0.png (2, 2) - https://tile.openstreetmap.org/1/0/0.png ](1) 0.009 s
test_iterateOnGrid[18, (44.400000, 8.950000), (0, 0) - https://tile.openstreetmap.org/18/137588/94913.png (1, 0) - https://tile.openstreetmap.org/18/137589/94913.png (2, 0) - https://tile.openstreetmap.org/18/137590/94913.png (0, 1) - https://tile.openstreetmap.org/18/137588/94914.png (1, 1) - https://tile.openstreetmap.org/18/137589/94914.png (2, 1) - https://tile.openstreetmap.org/18/137590/94914.png (0, 2) - https://tile.openstreetmap.org/18/137588/94915.png (1, 2) - https://tile.openstreetmap.org/18/137589/94915.png (2, 2) - https://tile.openstreetmap.org/18/137590/94915.png ](2) 0.001 s
test_iterateOnGrid2[18, MapPoint(35222833.000000, 24298096.000000), (0, 0) - https://tile.openstreetmap.org/18/137588/94913.png (1, 0) - https://tile.openstreetmap.org/18/137589/94913.png (2, 0) - https://tile.openstreetmap.org/18/137590/94913.png (0, 1) - https://tile.openstreetmap.org/18/137588/94914.png (1, 1) - https://tile.openstreetmap.org/18/137589/94914.png (2, 1) - https://tile.openstreetmap.org/18/137590/94914.png (0, 2) - https://tile.openstreetmap.org/18/137588/94915.png (1, 2) - https://tile.openstreetmap.org/18/137589/94915.png (2, 2) - https://tile.openstreetmap.org/18/137590/94915.png ](1) 0.001 s
test_iterateOnGrid2[18, MapPoint(35222833.000000, 24298352.000000), (0, 0) - https://tile.openstreetmap.org/18/137588/94914.png (1, 0) - https://tile.openstreetmap.org/18/137589/94914.png (2, 0) - https://tile.openstreetmap.org/18/137590/94914.png (0, 1) - https://tile.openstreetmap.org/18/137588/94915.png (1, 1) - https://tile.openstreetmap.org/18/137589/94915.png (2, 1) - https://tile.openstreetmap.org/18/137590/94915.png (0, 2) - https://tile.openstreetmap.org/18/137588/94916.png (1, 2) - https://tile.openstreetmap.org/18/137589/94916.png (2, 2) - https://tile.openstreetmap.org/18/137590/94916.png ](2) 0.001 s
test_setCenterAndZoomCoordinates[1, (0.000000, 0.000000), (1, 1), MapPoint(256.000000, 256.000000), TileOffset(0.000000, 0.000000)](1) 0.010 s
test_setCenterAndZoomCoordinates[2, (0.000000, 0.000000), (2, 2), MapPoint(512.000000, 512.000000), TileOffset(0.000000, 0.000000)](2) 0 s
test_setCenterAndZoomCoordinates[7, (0.000000, 0.000000), (64, 64), MapPoint(16384.000000, 16384.000000), TileOffset(0.000000, 0.000000)](3) 0 s
test_setCenterAndZoomCoordinates[12, (0.000000, 0.000000), (2048, 2048), MapPoint(524288.000000, 524288.000000), TileOffset(0.000000, 0.000000)](4) 0.001 s
test_setCenterAndZoomCoordinates[12, (45.000000, 11.000000), (2173, 1473), MapPoint(556328.000000, 377199.000000), TileOffset(40.000000, 111.000000)](5) 0.001 s
test_setCenterAndZoomCoordinates[12, (45.000000, 45.000000), (2560, 1473), MapPoint(655360.000000, 377199.000000), TileOffset(0.000000, 111.000000)](6) 0 s
test_setCenterAndZoomCoordinates[18, (44.400000, 8.950000), (137589, 94914), MapPoint(35222832.924444, 24298096.066372), TileOffset(48.924444, 112.066372)](7) 0.001 s
test_setCenterAndZoomPixels[1, (0.000000, 0.000000), (1, 1), MapPoint(256.000000, 256.000000), TileOffset(0.000000, 0.000000)](1) 0.001 s
test_setCenterAndZoomPixels[2, (0.000000, 0.000000), (2, 2), MapPoint(512.000000, 512.000000), TileOffset(0.000000, 0.000000)](2) 0 s
test_setCenterAndZoomPixels[7, (0.000000, 0.000000), (64, 64), MapPoint(16384.000000, 16384.000000), TileOffset(0.000000, 0.000000)](3) 0 s
test_setCenterAndZoomPixels[12, (0.000000, 0.000000), (2048, 2048), MapPoint(524288.000000, 524288.000000), TileOffset(0.000000, 0.000000)](4) 0 s
test_setCenterAndZoomPixels[12, (45.000000, 11.000000), (2173, 1473), MapPoint(556328.000000, 377199.000000), TileOffset(40.000000, 111.000000)](5) 0.001 s
test_setCenterAndZoomPixels[12, (45.000000, 45.000000), (2560, 1473), MapPoint(655360.000000, 377199.000000), TileOffset(0.000000, 111.000000)](6) 0 s
test_setCenterAndZoomPixels[18, (44.400000, 8.950000), (137589, 94914), MapPoint(35222832.924444, 24298096.066372), TileOffset(48.924444, 112.066372)](7) 0 s
test_updateGridSize[256, 256, 3, 3](1) 0.004 s
test_updateGridSize[257, 257, 5, 5](2) 0 s
test_updateGridSize[512, 512, 5, 5](3) 0 s
test_updateGridSize[800, 600, 7, 5](4) 0 s
test_updateGridSize[1000, 300, 7, 5](5) 0 s
test_updateGridSize[1500, 820, 9, 7](6) 0 s

MercatorProjectionTest

test[256, 1, (0.000000, 0.000000), MapPoint(256.000000, 256.000000)](1) 0.003 s
test[256, 1, (45.000000, 45.000000), MapPoint(320.000000, 184.179219)](2) 0 s
test[256, 1, (80.000000, 0.000000), MapPoint(256.000000, 57.476812)](3) 0 s
test[256, 1, (80.000000, 180.000000), MapPoint(512.000000, 57.476812)](4) 0 s
test[256, 1, (0.000000, 180.000000), MapPoint(512.000000, 256.000000)](5) 0 s
test[256, 1, (0.000000, -180.000000), MapPoint(0.000000, 256.000000)](6) 0 s
test[256, 1, (80.000000, -180.000000), MapPoint(0.000000, 57.476812)](7) 0 s
test[256, 1, (-80.000000, -180.000000), MapPoint(0.000000, 454.523188)](8) 0 s