Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
415000100%4.476

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.commons.validator.routines.checkdigit71000100%0.132
org.apache.commons.validator.util11000100%0.006
org.apache.commons.validator.routines202000100%1.131
org.apache.commons.validator131000100%3.207

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

org.apache.commons.validator.routines.checkdigit

ClassTestsErrors FailuresSkippedSuccess RateTime
ABANumberCheckDigitTest7000100%0.002
CUSIPCheckDigitTest7000100%0.004
EAN13CheckDigitTest7000100%0.003
IBANCheckDigitTest7000100%0.095
ISBN10CheckDigitTest7000100%0.003
ISBNCheckDigitTest8000100%0.006
ISINCheckDigitTest7000100%0.009
LuhnCheckDigitTest7000100%0.006
SedolCheckDigitTest7000100%0.003
VerhoeffCheckDigitTest7000100%0.001

org.apache.commons.validator.util

ClassTestsErrors FailuresSkippedSuccess RateTime
FlagsTest11000100%0.006

org.apache.commons.validator.routines

ClassTestsErrors FailuresSkippedSuccess RateTime
BigDecimalValidatorTest12000100%0.022
BigIntegerValidatorTest12000100%0.007
ByteValidatorTest12000100%0.011
CalendarValidatorTest10000100%0.041
CodeValidatorTest7000100%0.003
CreditCardValidatorTest14000100%0.021
CurrencyValidatorTest6000100%0.012
DateValidatorTest8000100%0.024
DomainValidatorTest5000100%0.001
DoubleValidatorTest12000100%0.01
EmailValidatorTest13000100%0.007
FloatValidatorTest13000100%0.013
ISBNValidatorTest12000100%0.012
InetAddressValidatorTest4000100%0.002
IntegerValidatorTest12000100%0.011
LongValidatorTest12000100%0.009
PercentValidatorTest3000100%0.003
RegexValidatorTest7000100%0.004
ShortValidatorTest12000100%0.013
TimeValidatorTest7000100%0.024
UrlValidatorTest9000100%0.881

org.apache.commons.validator

ClassTestsErrors FailuresSkippedSuccess RateTime
ByteTest8000100%0.521
CreditCardValidatorTest2000100%0.008
CustomValidatorResourcesTest1000100%0
DateTest2000100%0.057
DoubleTest6000100%0.147
EmailTest10000100%0.166
EntityImportTest2000100%0.024
ExceptionTest1000100%0.013
ExtensionTest8000100%0.108
FieldTest9000100%0.002
FloatTest6000100%0.096
GenericTypeValidatorTest3000100%0.063
GenericValidatorTest2000100%0
ISBNValidatorTest1000100%0.002
IntegerTest8000100%0.128
LocaleTest5000100%0.082
LongTest8000100%0.122
MultipleConfigFilesTest5000100%0.095
MultipleTest8000100%0.08
ParameterTest1000100%0.014
RequiredIfTest5000100%0.085
RequiredNameTest6000100%0.052
RetrieveFormTest5000100%0.078
ShortTest6000100%0.079
UrlTest5000100%1.147
ValidatorResourcesTest1000100%0.004
ValidatorResultsTest2000100%0.017
ValidatorTest4000100%0.006
VarTest1000100%0.011

Test Cases

[Summary] [Package List] [Test Cases]

ByteTest

testByte0.285
testByteMin0.034
testByteMax0.037
testByteFailure0.029
testByteBeyondMin0.033
testByteBeyondMax0.03
testNumber0.037
testNumberFailure0.022

CreditCardValidatorTest

testIsValid0.006
testAddAllowedCardType0.002

CustomValidatorResourcesTest

testCustomResources0

DateTest

testValidDate0.035
testInvalidDate0.022

DoubleTest

testDouble0.018
testDoubleMin0.021
testDoubleMax0.034
testDoubleFailure0.019
testNumber0.025
testNumberFailure0.02

EmailTest

testEmail0.02
testEmailWithNumericAddress0.019
testEmailExtension0.02
testEmailWithDash0.016
testEmailWithDotEnd0.012
testEmailWithBogusCharacter0.014
testEmailWithCommas0.015
testEmailWithSpaces0.014
testEmailWithControlChars0.023
testEmailLocalhost0.01

EntityImportTest

testEntityImport0.013
testParseURL0.011

ExceptionTest

testValidatorException0.013

ExtensionTest

testRequired0.015
testRequiredFirstNameBlank0.012
testRequiredFirstName0.014
testRequiredLastNameBlank0.015
testRequiredLastName0.015
testRequiredName0.013
testOverrideRule0.012
testOrder0.011

FieldTest

testEmptyArgs0
testDefaultPositionImplied0
testDefaultUsingPositions0
testDefaultOnePosition0
testDefaultSomePositions0.001
testOverrideUsingPositionA0
testOverrideUsingPositionB0
testOverridePositionImplied0
testOverrideSomePosition0

FloatTest

testFloat0.019
testFloatMin0.019
testFloatMax0.012
testFloatFailure0.016
testNumber0.014
testNumberFailure0.015

GenericTypeValidatorTest

testType0.021
testUSLocale0.02
testFRLocale0.022

GenericValidatorTest

testMinLength0
testMaxLength0

ISBNValidatorTest

testIsValid0.002

IntegerTest

testInt0.017
testIntMin0.014
testIntegerMax0.015
testIntFailure0.014
testIntBeyondMin0.016
testIntBeyondMax0.018
testNumber0.015
testNumberFailure0.017

LocaleTest

testLocale10.018
testLocale20.02
testLocale30.013
testLocale40.014
testLocale50.016

LongTest

testLong0.016
testLongMin0.014
testLongMax0.017
testLongFailure0.016
testLongBeyondMin0.018
testLongBeyondMax0.015
testNumber0.011
testNumberFailure0.015

MultipleConfigFilesTest

testMergedConfig0.016
testBothBlank0.018
testRequiredFirstNameBlankLastNameShort0.017
testRequiredLastNameShort0.015
testRequiredLastNameLong0.017

MultipleTest

testBothBlank0.002
testRequiredFirstNameBlankLastNameShort0.012
testRequiredLastNameShort0.011
testRequiredLastNameLong0.011
testFailingFirstDependentValidator0.012
testFailingNextDependentValidator0.011
testPassingDependentsFailingMain0.009
testPassingDependentsPassingMain0.011

ParameterTest

testAllValid0.013

RequiredIfTest

testRequired0.013
testRequiredFirstNameBlank0.03
testRequiredFirstName0.009
testRequiredLastNameBlank0.021
testRequiredLastName0.011

RequiredNameTest

testRequired0.006
testRequiredFirstNameBlank0.009
testRequiredFirstName0.009
testRequiredLastNameBlank0.009
testRequiredLastName0.009
testRequiredName0.009

RetrieveFormTest

testDefaultForm0.015
testLanguageForm0.013
testLanguageCountryForm0.019
testLanguageCountryVariantForm0.015
testFormNotFound0.016

ShortTest

testShortMin0.014
testShortMax0.011
testShortBeyondMin0.014
testShortBeyondMax0.012
testNumber0.017
testNumberFailure0.011

UrlTest

testIsValid1.145
testIsValidScheme0.001
testValidator2020
testValidator2040
testValidateUrl0.001

ValidatorResourcesTest

testNullInputStream0.003

ValidatorResultsTest

testAllValid0.009
testErrors0.007

ValidatorTest

testManualObject0.003
testOnlyReturnErrors0.001
testOnlyValidateField0.001
testManualBoolean0.001

VarTest

testVars0.011

BigDecimalValidatorTest

testBigDecimalValidatorMethods0.003
testBigDecimalRangeMinMax0
testFormat0
testSerialization0.01
testFormatType0
testValidateMinMax0
testInvalidStrict0.001
testInvalidNotStrict0.001
testValidStrict0.002
testValidNotStrict0.001
testValidateLocale0.001
testRangeMinMax0

BigIntegerValidatorTest

testBigIntegerValidatorMethods0.001
testBigIntegerRangeMinMax0
testFormat0
testSerialization0.001
testFormatType0
testValidateMinMax0
testInvalidStrict0.001
testInvalidNotStrict0
testValidStrict0
testValidNotStrict0.001
testValidateLocale0
testRangeMinMax0

ByteValidatorTest

testByteValidatorMethods0.001
testByteRangeMinMax0.001
testFormat0
testSerialization0.001
testFormatType0
testValidateMinMax0.001
testInvalidStrict0
testInvalidNotStrict0
testValidStrict0.001
testValidNotStrict0.001
testValidateLocale0
testRangeMinMax0

CalendarValidatorTest

testFormat0.009
testCalendarValidatorMethods0.003
testCompare0.001
testDateTimeStyle0.001
testAdjustToTimeZone0
testPatternValid0.003
testPatternInvalid0.004
testLocaleValid0.004
testLocaleInvalid0.004
testSerialization0.001

CodeValidatorTest

testCheckDigit0
testLength0.001
testRegex0.001
testNoInput0
testValidator294_10
testValidator294_20
testConstructors0

CreditCardValidatorTest

testIsValid0.001
testAddAllowedCardType0
testArrayConstructor0
testAmexValidator0.001
testAmexOption0
testDinersValidator0.002
testDinersOption0
testDiscoverValidator0.001
testDiscoverOption0.002
testMastercardValidator0.002
testMastercardOption0
testVisaValidator0.006
testVisaOption0
testMastercardUsingSeparators0

CurrencyValidatorTest

testPattern0
testFormatType0
testValid0.002
testInvalid0.001
testIntegerValid0.001
testIntegerInvalid0.002

DateValidatorTest

testCompare0.004
testDateValidatorMethods0.006
testPatternValid0.001
testPatternInvalid0.003
testLocaleValid0.001
testLocaleInvalid0.003
testFormat0
testSerialization0.001

DomainValidatorTest

testValidDomains0
testInvalidDomains0
testTopLevelDomains0.001
testAllowLocal0
testIDN0

DoubleValidatorTest

testDoubleValidatorMethods0.001
testDoubleRangeMinMax0.001
testFormat0
testSerialization0.001
testFormatType0
testValidateMinMax0
testInvalidStrict0.001
testInvalidNotStrict0.001
testValidStrict0.001
testValidNotStrict0.002
testValidateLocale0
testRangeMinMax0

EmailValidatorTest

testEmail0.002
testEmailWithNumericAddress0
testEmailExtension0
testEmailWithDash0
testEmailWithDotEnd0
testEmailWithBogusCharacter0
testEmailWithCommas0
testEmailWithSpaces0
testEmailWithControlChars0.001
testEmailLocalhost0
testEmailWithSlashes0.001
testEmailUserName0.002
testValidator2930

FloatValidatorTest

testFloatValidatorMethods0.002
testFloatSmallestValues0.002
testFloatRangeMinMax0
testFormat0
testSerialization0.001
testFormatType0
testValidateMinMax0.001
testInvalidStrict0.001
testInvalidNotStrict0.001
testValidStrict0.001
testValidNotStrict0.001
testValidateLocale0
testRangeMinMax0

ISBNValidatorTest

testInvalid0.002
testValidISBN10Format0
testInvalidISBN10Format0.001
testValidISBN13Format0
testInvalidISBN13Format0.003
testIsValidISBN100.001
testIsValidISBN130
testValidateISBN100.001
testValidateISBN10Convert0.002
testValidateISBN130.001
testNull0
testConversionErrors0

InetAddressValidatorTest

testInetAddressesFromTheWild0
testInetAddressesByClass0
testReservedInetAddresses0
testBrokenInetAddresses0

IntegerValidatorTest

testIntegerValidatorMethods0
testIntegerRangeMinMax0.001
testFormat0
testSerialization0.004
testFormatType0
testValidateMinMax0
testInvalidStrict0.001
testInvalidNotStrict0
testValidStrict0
testValidNotStrict0.005
testValidateLocale0
testRangeMinMax0

LongValidatorTest

testLongValidatorMethods0.004
testLongRangeMinMax0
testFormat0
testSerialization0
testFormatType0.001
testValidateMinMax0
testInvalidStrict0.001
testInvalidNotStrict0
testValidStrict0.001
testValidNotStrict0.001
testValidateLocale0.001
testRangeMinMax0

PercentValidatorTest

testFormatType0
testValid0.001
testInvalid0.001

RegexValidatorTest

testSingle0.001
testMultipleSensitive0.001
testMultipleInsensitive0
testNullValue0.001
testMissingRegex0
testExceptions0
testToString0.001

ShortValidatorTest

testShortValidatorMethods0.002
testShortRangeMinMax0.004
testFormat0
testSerialization0
testFormatType0
testValidateMinMax0
testInvalidStrict0.005
testInvalidNotStrict0
testValidStrict0
testValidNotStrict0
testValidateLocale0
testRangeMinMax0

TimeValidatorTest

testPatternValid0.005
testPatternInvalid0.003
testLocaleValid0.002
testLocaleInvalid0.005
testFormat0
testCompare0
testTimeZone0

UrlValidatorTest

testIsValid0.878
testIsValidScheme0
testValidator2020
testValidator2040
testValidateUrl0
testValidator2180
testValidator2480.001
testValidator2880.001
testValidator2760

ABANumberCheckDigitTest

testSerialization0
testIsValidTrue0
testIsValidFalse0
testCalculateValid0.001
testCalculateInvalid0
testMissingCode0
testZeroSum0

CUSIPCheckDigitTest

testSerialization0
testIsValidTrue0
testIsValidFalse0.003
testCalculateValid0
testCalculateInvalid0
testMissingCode0
testZeroSum0.001

EAN13CheckDigitTest

testSerialization0
testIsValidTrue0
testIsValidFalse0.001
testCalculateValid0
testCalculateInvalid0.001
testMissingCode0
testZeroSum0

IBANCheckDigitTest

testZeroSum0.001
testSerialization0
testIsValidTrue0.001
testIsValidFalse0.09
testCalculateValid0.001
testCalculateInvalid0
testMissingCode0.001

ISBN10CheckDigitTest

testSerialization0
testIsValidTrue0
testIsValidFalse0.001
testCalculateValid0
testCalculateInvalid0
testMissingCode0.001
testZeroSum0

ISBNCheckDigitTest

testInvalidLength0.001
testSerialization0
testIsValidTrue0.001
testIsValidFalse0.003
testCalculateValid0
testCalculateInvalid0
testMissingCode0.001
testZeroSum0

ISINCheckDigitTest

testSerialization0.001
testIsValidTrue0
testIsValidFalse0.005
testCalculateValid0
testCalculateInvalid0
testMissingCode0
testZeroSum0

LuhnCheckDigitTest

testSerialization0
testIsValidTrue0
testIsValidFalse0.004
testCalculateValid0
testCalculateInvalid0
testMissingCode0.001
testZeroSum0

SedolCheckDigitTest

testSerialization0.001
testIsValidTrue0.001
testIsValidFalse0
testCalculateValid0.001
testCalculateInvalid0
testMissingCode0
testZeroSum0

VerhoeffCheckDigitTest

testZeroSum0
testSerialization0.001
testIsValidTrue0
testIsValidFalse0
testCalculateValid0
testCalculateInvalid0
testMissingCode0

FlagsTest

testToString0
testHashCode0
testGetFlags0
testIsOnOff0
testTurnOnOff0
testTurnOff0
testTurnOffAll0
testClear0
testTurnOnAll0
testClone0
testEqualsObject0