Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
538 0 0 0 100% 0.835

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
de.powerstat.validation.test 92 0 0 0 100% 0.457
de.powerstat.validation.values.test 446 0 0 0 100% 0.378

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

de.powerstat.validation.test

Class Tests Errors Failures Skipped Success Rate Time
ValidationUtilsTests 92 0 0 0 100% 0.457

de.powerstat.validation.values.test

Class Tests Errors Failures Skipped Success Rate Time
BICTests 13 0 0 0 100% 0.019
CountryTests 10 0 0 0 100% 0.011
CurrencyTests 10 0 0 0 100% 0.015
DaysTests 13 0 0 0 100% 0.016
DayTests 8 0 0 0 100% 0.011
EMailTests 23 0 0 0 100% 0.021
HostnameTests 23 0 0 0 100% 0.021
HoursTests 7 0 0 0 100% 0.011
HourTests 8 0 0 0 100% 0.008
IBANTests 107 0 0 0 100% 0.063
IPV4AddressTests 31 0 0 0 100% 0.012
IPV4MaskTests 23 0 0 0 100% 0.017
IPV6AddressTests 21 0 0 0 100% 0.009
IPV6MaskTests 8 0 0 0 100% 0.005
LanguageTests 10 0 0 0 100% 0.014
MinutesTests 7 0 0 0 100% 0.009
MinuteTests 8 0 0 0 100% 0.006
MonthsTests 8 0 0 0 100% 0.007
MonthTests 8 0 0 0 100% 0.007
PortTests 15 0 0 0 100% 0.014
SecondsTests 7 0 0 0 100% 0.008
SecondTests 9 0 0 0 100% 0.011
StreetNrTests 24 0 0 0 100% 0.017
TopLevelDomainTests 14 0 0 0 100% 0.008
WeeksTests 8 0 0 0 100% 0.012
WeekTests 8 0 0 0 100% 0.01
YearsTests 7 0 0 0 100% 0.008
YearTests 8 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

ValidationUtilsTests

isIPV6prefixLength{int}[1] 0.292
isIPV6prefixLength{int}[2] 0.001
sanitizeUrlPathO 0.001
checkIPV4prefixLengthException 0.002
isIPV4special{String}[1] 0
isIPV4special{String}[2] 0
isIPV4special{String}[3] 0
isIPV4special{String}[4] 0
isIPV4special{String}[5] 0
isIPV4special{String}[6] 0.001
isIPV4special{String}[7] 0
isIPV4special{String}[8] 0
isIPV4special{String}[9] 0
isIPV4special{String}[10] 0
isIPV4special{String}[11] 0.001
isIPV4special{String}[12] 0.002
isIPV4special{String}[13] 0
isIPV4special{String}[14] 0
isIPV4special{String}[15] 0
isPortFalse 0.001
isIPV4Null 0
checkIPV6prefixLengthException 0
isHostnameFalse 0
isIPV6NonePublic{String}[1] 0.002
isIPV6NonePublic{String}[2] 0
isIPV4NonePrivate 0.001
isDynamicPort{int}[1] 0.001
isDynamicPort{int}[2] 0
sanitizeUrlPathEmpty 0
checkIPV4prefixLength 0
existHostname 0.003
isIPV4prefixLength{int}[1] 0.001
isIPV4prefixLength{int}[2] 0
checkHostnameLength{String}[1] 0.001
checkHostnameLength{String}[2] 0
checkHostnameLength{String}[3] 0
checkHostnameLength{String}[4] 0
isIPV6Public 0.001
isSystemPort{int}[1] 0
isSystemPort{int}[2] 0
isRegisteredPort{int}[1] 0
isRegisteredPort{int}[2] 0
isIPV6NonePrivate 0
isIPV6 0.001
isPort 0
isIPV6private{String}[1] 0
isIPV6private{String}[2] 0
isIPV6private{String}[3] 0
isHostname 0.007
isRegisteredPortFalse{int}[1] 0.002
isRegisteredPortFalse{int}[2] 0
existHostnameFalse 0.002
checkNoneIPV4 0.001
isIPV4private{String}[1] 0.001
isIPV4private{String}[2] 0
isIPV4private{String}[3] 0
isIPV4private{String}[4] 0
isIPV4private{String}[5] 0
checkIPV6Failure{String}[1] 0
sanitizeUrlPathInvalid 0
splitHostnamePortOk1 0.001
splitHostnamePortOk2 0
checkIPV4 0
checkIPV6{String, String}[1] 0
checkIPV6{String, String}[2] 0.008
checkPortOutOfRange{int}[1] 0.011
checkPortOutOfRange{int}[2] 0.001
checkPortOk{int}[1] 0.001
checkPortOk{int}[2] 0
checkPortOk{int}[3] 0
splitHostnamePortWrong 0
checkHostnameOk{String}[1] 0.001
checkHostnameOk{String}[2] 0.001
checkHostnameOk{String}[3] 0
checkHostnameOk{String}[4] 0
checkHostnameOk{String}[5] 0.001
checkHostnameOk{String}[6] 0
isDynamicPortFalse{int}[1] 0
isDynamicPortFalse{int}[2] 0.001
isIPV6NoneSpecial 0
isIPV6special{String}[1] 0.001
isIPV6special{String}[2] 0
isIPV6special{String}[3] 0.001
isSystemPortFalse{int}[1] 0
isSystemPortFalse{int}[2] 0.001
isIPV4public 0
checkHostnameIllegalParameters{String}[1] 0.002
checkHostnameIllegalParameters{String}[2] 0
checkHostnameIllegalParameters{String}[3] 0
checkHostnameIllegalParameters{String}[4] 0
checkHostnameIllegalParameters{String}[5] 0.001
checkIPV6prefixLength 0

BICTests

getBic 0.003
testToString 0
testCompareTo 0.001
bicCorrect{String}[1] 0.002
bicCorrect{String}[2] 0
bicWrong{String}[1] 0.001
bicWrong{String}[2] 0.001
testHashCode 0.001
testEquals 0.002
bicLength{String}[1] 0.001
bicLength{String}[2] 0
bicLength{String}[3] 0
bicLength{String}[4] 0

CountryTests

countryLength{String}[1] 0.001
countryLength{String}[2] 0
testToString 0
countryOk0{String}[1] 0
testCompareTo 0.001
testHashCode 0
testEquals 0.002
countryIllegalParameters{String}[1] 0
countryIllegalParameters{String}[2] 0.001
getCountry 0

CurrencyTests

getCurrency 0.003
testToString 0
testCompareTo 0.002
currencyLength{String}[1] 0
currencyLength{String}[2] 0
currencyOk0{String}[1] 0
testHashCode 0.001
testEquals 0.001
ccurrencyIllegalParameters{String}[1] 0.001
ccurrencyIllegalParameters{String}[2] 0.002

DaysTests

isDays{long}[1] 0.002
isDays{long}[2] 0.001
isDays{long}[3] 0.001
isDays{long}[4] 0
isDays{long}[5] 0
testToString 0
testCompareTo 0
isNotADays{long}[1] 0.002
isNotADays{long}[2] 0.001
isNotADays{long}[3] 0.001
isNotADays{long}[4] 0
testHashCode 0
testEquals 0.001

DayTests

testToString 0.001
testCompareTo 0.001
isDay{int}[1] 0
isDay{int}[2] 0.001
testHashCode 0.001
testEquals 0.002
isNotADay{int}[1] 0.001
isNotADay{int}[2] 0.001

EMailTests

emailWithComment0 0.001
emailWithComment1 0
emailWithDoubleDot 0.001
testToString 0
testCompareTo 0.002
emailWithDotAtStart 0
emailWithDotAtEnd 0
emailWithIllegalCharacters0 0
emailOk0{String}[1] 0
emailOk0{String}[2] 0
emailOk0{String}[3] 0.001
emailOk0{String}[4] 0
emailOk0{String}[5] 0
emailOk0{String}[6] 0
emailWithMissingAt 0
testHashCode 0.001
emailWithDoubleQuotes 0.001
testEquals 0.003
emailLength{String}[1] 0.001
emailLength{String}[2] 0.001
emailLength{String}[3] 0.001
getEMail 0
emailWithIpAndMissingCloseSquareBracket 0

HostnameTests

testToString 0.001
testCompareTo 0.001
hostnameLength{String}[1] 0
hostnameLength{String}[2] 0
hostnameLength{String}[3] 0
hostnameLength{String}[4] 0.001
hostnameIllegalParameters{String}[1] 0
hostnameIllegalParameters{String}[2] 0
hostnameIllegalParameters{String}[3] 0
hostnameIllegalParameters{String}[4] 0
hostnameIllegalParameters{String}[5] 0
exist 0
existFalse 0
testHashCode 0.001
testEquals 0.001
getHostname 0
hostnameOk0{String}[1] 0
hostnameOk0{String}[2] 0.001
hostnameOk0{String}[3] 0
hostnameOk0{String}[4] 0
hostnameOk0{String}[5] 0
hostnameOk0{String}[6] 0
hostnameOk1 0

HoursTests

testToString 0
testCompareTo 0.001
testHashCode 0.001
testEquals 0.002
isNotAHours{long}[1] 0.001
isHours{long}[1] 0.001
isHours{long}[2] 0.001

HourTests

isHour{int}[1] 0
isHour{int}[2] 0
testToString 0
testCompareTo 0.001
isNotAHour{int}[1] 0.001
isNotAHour{int}[2] 0
testHashCode 0
testEquals 0.001

IBANTests

ibanLength{String}[1] 0.001
ibanLength{String}[2] 0
testToString 0.002
testCompareTo 0.001
getIban 0.001
ibanCorrect{String}[1] 0
ibanCorrect{String}[2] 0
ibanCorrect{String}[3] 0
ibanCorrect{String}[4] 0.001
ibanCorrect{String}[5] 0
ibanCorrect{String}[6] 0
ibanCorrect{String}[7] 0.001
ibanCorrect{String}[8] 0
ibanCorrect{String}[9] 0.001
ibanCorrect{String}[10] 0
ibanCorrect{String}[11] 0
ibanCorrect{String}[12] 0.001
ibanCorrect{String}[13] 0.001
ibanCorrect{String}[14] 0.001
ibanCorrect{String}[15] 0
ibanCorrect{String}[16] 0
ibanCorrect{String}[17] 0
ibanCorrect{String}[18] 0
ibanCorrect{String}[19] 0.002
ibanCorrect{String}[20] 0
ibanCorrect{String}[21] 0
ibanCorrect{String}[22] 0
ibanCorrect{String}[23] 0
ibanCorrect{String}[24] 0.001
ibanCorrect{String}[25] 0
ibanCorrect{String}[26] 0
ibanCorrect{String}[27] 0.001
ibanCorrect{String}[28] 0.001
ibanCorrect{String}[29] 0
ibanCorrect{String}[30] 0.001
ibanCorrect{String}[31] 0
ibanCorrect{String}[32] 0.001
ibanCorrect{String}[33] 0
ibanCorrect{String}[34] 0
ibanCorrect{String}[35] 0
ibanCorrect{String}[36] 0.001
ibanCorrect{String}[37] 0
ibanCorrect{String}[38] 0.001
ibanCorrect{String}[39] 0
ibanCorrect{String}[40] 0
ibanCorrect{String}[41] 0.001
ibanCorrect{String}[42] 0
ibanCorrect{String}[43] 0
ibanCorrect{String}[44] 0.001
ibanCorrect{String}[45] 0
ibanCorrect{String}[46] 0
ibanCorrect{String}[47] 0
ibanCorrect{String}[48] 0.002
ibanCorrect{String}[49] 0
ibanCorrect{String}[50] 0.001
ibanCorrect{String}[51] 0
ibanCorrect{String}[52] 0
ibanCorrect{String}[53] 0
ibanCorrect{String}[54] 0
ibanCorrect{String}[55] 0.001
ibanCorrect{String}[56] 0
ibanCorrect{String}[57] 0
ibanCorrect{String}[58] 0
ibanCorrect{String}[59] 0.001
ibanCorrect{String}[60] 0
ibanCorrect{String}[61] 0
ibanCorrect{String}[62] 0
ibanCorrect{String}[63] 0
ibanCorrect{String}[64] 0
ibanCorrect{String}[65] 0
ibanCorrect{String}[66] 0
ibanCorrect{String}[67] 0
ibanCorrect{String}[68] 0
ibanCorrect{String}[69] 0
ibanCorrect{String}[70] 0
ibanCorrect{String}[71] 0
ibanCorrect{String}[72] 0
ibanCorrect{String}[73] 0
ibanCorrect{String}[74] 0.001
ibanCorrect{String}[75] 0
ibanCorrect{String}[76] 0
ibanCorrect{String}[77] 0
ibanCorrect{String}[78] 0
ibanCorrect{String}[79] 0
ibanCorrect{String}[80] 0
ibanCorrect{String}[81] 0
ibanCorrect{String}[82] 0
ibanCorrect{String}[83] 0.001
ibanCorrect{String}[84] 0
ibanCorrect{String}[85] 0
ibanCorrect{String}[86] 0
ibanCorrect{String}[87] 0
ibanCorrect{String}[88] 0
ibanCorrect{String}[89] 0
ibanCorrect{String}[90] 0.001
ibanCorrect{String}[91] 0
ibanCorrect{String}[92] 0
ibanCorrect{String}[93] 0.001
testHashCode 0
testEquals 0.001
ibanWrong{String}[1] 0
ibanWrong{String}[2] 0.001
ibanWrong{String}[3] 0
ibanWrong{String}[4] 0
ibanWrong{String}[5] 0
ibanWrong{String}[6] 0
ibanWrong{String}[7] 0

IPV4AddressTests

isPrivate0 0
isPrivate1 0
isPrivate2 0.001
isPrivate3 0
isPrivate4 0
constructorFailure0 0.001
constructorFailure1 0
constructorFailure2 0
constructorFailure3 0.001
testToString 0
isPublic0 0
testCompareTo 0.003
isSpecial10 0
isSpecial11 0
isSpecial12 0
isSpecial13 0
isSpecial14 0
getAddress 0
isNotPublic0 0.001
testHashCode 0
testEquals 0.001
isSpecial0 0.001
isSpecial1 0
isSpecial2 0
isSpecial3 0
isSpecial4 0
isSpecial5 0
isSpecial6 0
isSpecial7 0.001
isSpecial8 0
isSpecial9 0

IPV4MaskTests

constructorFailure0 0.001
constructorFailure1 0
constructorFailure2 0
constructorFailure3 0
constructorFailure4 0
constructorFailure5 0
constructorSuccess10 0.001
constructorSuccess11 0
constructorSuccess12 0
testToString 0
testCompareTo 0.001
constructorSuccess0 0.002
constructorSuccess1 0
constructorSuccess2 0.001
constructorSuccess3 0
constructorSuccess4 0
constructorSuccess5 0.001
constructorSuccess6 0
constructorSuccess7 0.001
constructorSuccess8 0
constructorSuccess9 0
testHashCode 0
testEquals 0.002

IPV6AddressTests

isPrivate0 0.001
isPrivate1 0
isPrivate2 0
isPrivate3 0
constructorFailure0 0
constructorFailure1 0.001
constructorFailure2 0
constructorFailure3 0
testToString 0
isPublic0 0
testCompareTo 0.001
getAddress 0
constructorSuccess0 0
constructorSuccess1 0.002
isNotPublic0 0
testHashCode 0.001
testEquals 0.001
isSpecial0 0
isSpecial1 0
isSpecial2 0
isSpecial3 0

IPV6MaskTests

constructorFailure0 0
constructorFailure1 0
testToString 0.001
testCompareTo 0.001
constructorSuccess0 0
constructorSuccess1 0.001
testHashCode 0
testEquals 0.001

LanguageTests

languageOk0{String}[1] 0.002
testToString 0
testCompareTo 0.002
languageLength{String}[1] 0.001
languageLength{String}[2] 0
getLanguage 0
testHashCode 0.002
testEquals 0.002
countryIllegalParameters{String}[1] 0.001
countryIllegalParameters{String}[2] 0

MinutesTests

testToString 0
isNotAMinutes{long}[1] 0.001
testCompareTo 0.001
isMinutes{long}[1] 0
isMinutes{long}[2] 0
testHashCode 0.001
testEquals 0.001

MinuteTests

testToString 0
isNotAMinute{int}[1] 0
isNotAMinute{int}[2] 0.001
testCompareTo 0
isMinute{int}[1] 0
isMinute{int}[2] 0.001
testHashCode 0
testEquals 0.001

MonthsTests

testToString 0
isNotAMonths{long}[1] 0
testCompareTo 0.002
isMonths{long}[1] 0.001
isMonths{long}[2] 0
isMonths{long}[3] 0
testHashCode 0.001
testEquals 0.001

MonthTests

testToString 0
testCompareTo 0.001
testHashCode 0.001
testEquals 0.001
isNotAMonth{int}[1] 0.001
isNotAMonth{int}[2] 0
isMonth{int}[1] 0
isMonth{int}[2] 0

PortTests

isPortFalse 0
isPort 0
testToString 0
testCompareTo 0.002
isSystem{int}[1] 0.002
isSystem{int}[2] 0
isDynamicFalse 0.001
isRegistered{int}[1] 0.001
isRegistered{int}[2] 0
testHashCode 0.001
testEquals 0.002
isSystemFalse 0
isRegisteredFalse 0
isDynamic{int}[1] 0
isDynamic{int}[2] 0

SecondsTests

testToString 0
testCompareTo 0.001
isNotASeconds{long}[1] 0
testHashCode 0.001
testEquals 0.002
isSeconds{long}[1] 0
isSeconds{long}[2] 0.001

SecondTests

testToString 0.001
testCompareTo 0.001
isNotASecond{int}[1] 0.001
isNotASecond{int}[2] 0
isSecond{int}[1] 0
isSecond{int}[2] 0.001
isSecond{int}[3] 0
testHashCode 0.001
testEquals 0.003

StreetNrTests

testCompareTowrong 0
testCompareToOk 0.002
testToString 0.001
streetNrWrong{String}[1] 0.001
streetNrWrong{String}[2] 0.001
streetNrWrong{String}[3] 0
streetNrWrong{String}[4] 0
streetNrWrong{String}[5] 0
testCompareTo 0.001
getStreetNr 0
streetNrLength{String}[1] 0.001
streetNrLength{String}[2] 0
testHashCode 0.001
testEquals 0.001
streetNrCorrect{String}[1] 0
streetNrCorrect{String}[2] 0
streetNrCorrect{String}[3] 0
streetNrCorrect{String}[4] 0
streetNrCorrect{String}[5] 0
streetNrCorrect{String}[6] 0
streetNrCorrect{String}[7] 0
streetNrCorrect{String}[8] 0
streetNrCorrect{String}[9] 0
streetNrCorrect{String}[10] 0

TopLevelDomainTests

topLevelDomainIllegalParameters{String}[1] 0.001
topLevelDomainIllegalParameters{String}[2] 0
topLevelDomainIllegalParameters{String}[3] 0.001
topLevelDomainIllegalParameters{String}[4] 0
topLevelDomainIllegalParameters{String}[5] 0
testToString 0
getTopLevelDomain 0
topLevelDomainOk0{String}[1] 0
topLevelDomainOk0{String}[2] 0
testCompareTo 0.001
topLevelDomainLength{String}[1] 0
topLevelDomainLength{String}[2] 0
testHashCode 0.001
testEquals 0

WeeksTests

testToString 0.001
testCompareTo 0.002
testHashCode 0
testEquals 0.001
isNotAWeeks{long}[1] 0.001
isWeeks{long}[1] 0
isWeeks{long}[2] 0
isWeeks{long}[3] 0

WeekTests

isWeek{int}[1] 0.004
isWeek{int}[2] 0
testToString 0.001
testCompareTo 0.001
isNotAWeek{int}[1] 0
isNotAWeek{int}[2] 0
testHashCode 0.001
testEquals 0.002

YearsTests

testToString 0.003
testCompareTo 0.001
testHashCode 0.001
testEquals 0.001
isNotAYears{long}[1] 0
isYears{long}[1] 0
isYears{long}[2] 0

YearTests

isYear{long}[1] 0
isYear{long}[2] 0
isYear{long}[3] 0
testToString 0
testCompareTo 0.001
isNotAYear{long}[1] 0
testHashCode 0.001
testEquals 0.001