Summary

Tests Errors Failures Skipped Success Rate Time
29 0 2 0 93.103% 6.734

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.jalamap 3 0 0 0 100% 0.141
org.jalamap.geocoding 23 0 2 0 91.304% 3.312
org.jalamap.data 0 0 0 0 0% 0
org.jalamap.route 3 0 0 0 100% 3.281

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

org.jalamap

Class Tests Errors Failures Skipped Success Rate Time
JalamapSessionTest 3 0 0 0 100% 0.141

org.jalamap.geocoding

Class Tests Errors Failures Skipped Success Rate Time
GeocoderAdditionnalTest 4 0 0 0 100% 0.594
GeocoderAmbigousTest 4 0 1 0 75% 1.094
GeocoderFailuresTest 1 0 0 0 100% 0.094
GeocoderTest 11 0 1 0 90.909% 1.171
ReverseGeocoderTest 3 0 0 0 100% 0.359

org.jalamap.data

Class Tests Errors Failures Skipped Success Rate Time
TestLocations 0 0 0 0 0% 0

org.jalamap.route

Class Tests Errors Failures Skipped Success Rate Time
RouteServiceTest 3 0 0 0 100% 3.281

Test Cases

TestLocations

GeocoderAdditionnalTest

testGeocodeAddressLocationCountryCode 0.14
testGeocodeAddressLocationCountryIsoCode 0.094
testGeocodeAddressLocationTownOfficialCode 0.25
testGeocodeAddressLocationPostalCode 0.11

GeocoderAmbigousTest

testGeocodeAddressLocationCountryAmbiguous 0.282
testGeocodeAddressLocationSubcountryAmbiguous 0.203
expected:<5> but was:<2>
testGeocodeAddressLocationTownAmbiguous 0.422
testGeocodeAddressLocationRoadElementFolkloricNumber 0.157

GeocoderFailuresTest

testGeocodeWrongAddressFails 0.094

GeocoderTest

testGeocodeAddressLocationCountryCode 0.046
testGeocodeAddressLocationCountry 0.063
testGeocodeTextCountry 0.125
testGeocodeAddressLocationCountry2 0.047
testGeocodeAddressLocationSubcountry 0.062
expected:<5> but was:<2>
testGeocodeAddressLocationSubcountry2 0.047
testGeocodeAddressLocationTown 0.11
testGeocodeAddressLocationTown2 0.093
testGeocodeAddressLocationWay 0.11
testGeocodeAddressLocationRoadElement 0.125
testGeocodeTextRoadElement 0.343

ReverseGeocoderTest

testReverseGeocodeCoordinates 0.156
testReverseGeocodeRoadElementId 0.109
testReverseGeocodeRoadElementId2 0.094

JalamapSessionTest

testOpenSession 0.047
testOpenSessionWrongLogin 0.047
testOpenSessionWrongPassword 0.047

RouteServiceTest

testSimpleRoute 0.594
testSimpleRouteParisMarseille 2.375
testSimpleRouteVentoux 0.265

Failure Details

testGeocodeAddressLocationSubcountryAmbiguous
junit.framework.AssertionFailedError: expected:<5> but was:<2>
org.jalamap.geocoding.GeocoderAmbigousTest:74
testGeocodeAddressLocationSubcountry
junit.framework.AssertionFailedError: expected:<5> but was:<2>
org.jalamap.geocoding.GeocoderTest:116