Summary

[ summary] [ package list] [ test cases]

Tests Errors Failures Success rate Time(s)
253 0 0 100.00% 24.84

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

Package Tests Errors Failures Success Rate Time
org.apache.commons.validator 121 0 0 100.00% 22.74
org.apache.commons.validator.routines 121 0 0 100.00% 1.95
org.apache.commons.validator.util 11 0 0 100.00% 0.16

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

org.apache.commons.validator

Class Tests Errors Failures Success Rate Time
Success ByteTest 8 0 0 100.00% 0.578
Success CreditCardValidatorTest 2 0 0 100.00% 0.156
Success CustomValidatorResourcesTest 1 0 0 100.00% 0.406
Success DateTest 2 0 0 100.00% 0.438
Success DoubleTest 6 0 0 100.00% 0.547
Success EmailTest 9 0 0 100.00% 0.625
Success EntityImportTest 2 0 0 100.00% 0.422
Success ExceptionTest 1 0 0 100.00% 0.406
Success ExtensionTest 8 0 0 100.00% 0.562
Success FieldTest 9 0 0 100.00% 0.140
Success FloatTest 6 0 0 100.00% 0.547
Success GenericValidatorTest 2 0 0 100.00% 0.156
Success IntegerTest 8 0 0 100.00% 0.594
Success ISBNValidatorTest 1 0 0 100.00% 0.157
Success LocaleTest 5 0 0 100.00% 0.500
Success LongTest 8 0 0 100.00% 0.593
Success MultipleConfigFilesTest 5 0 0 100.00% 0.516
Success ParameterTest 1 0 0 100.00% 0.407
Success RequiredIfTest 5 0 0 100.00% 0.500
Success RequiredNameTest 6 0 0 100.00% 0.516
Success RetrieveFormTest 5 0 0 100.00% 0.500
Success ShortTest 6 0 0 100.00% 0.547
Success TypeTest 3 0 0 100.00% 0.485
Success UrlTest 5 0 0 100.00% 11.375
Success ValidatorResultsTest 2 0 0 100.00% 0.438
Success ValidatorTest 4 0 0 100.00% 0.219
Success VarTest 1 0 0 100.00% 0.406

org.apache.commons.validator.routines

Class Tests Errors Failures Success Rate Time
Success BigDecimalValidatorTest 11 0 0 100.00% 0.156
Success BigIntegerValidatorTest 11 0 0 100.00% 0.156
Success ByteValidatorTest 11 0 0 100.00% 0.140
Success CalendarValidatorTest 9 0 0 100.00% 0.172
Success CurrencyValidatorTest 6 0 0 100.00% 0.156
Success DateValidatorTest 7 0 0 100.00% 0.157
Success DoubleValidatorTest 11 0 0 100.00% 0.141
Success FloatValidatorTest 12 0 0 100.00% 0.140
Success IntegerValidatorTest 11 0 0 100.00% 0.140
Success LongValidatorTest 11 0 0 100.00% 0.140
Success PercentValidatorTest 3 0 0 100.00% 0.156
Success ShortValidatorTest 11 0 0 100.00% 0.141
Success TimeValidatorTest 7 0 0 100.00% 0.156

org.apache.commons.validator.util

Class Tests Errors Failures Success Rate Time
Success FlagsTest 11 0 0 100.00% 0.157

Test Cases

[ summary] [ package list] [ test cases]

ByteTest

Success testByte 0.28
Success testByteMin 0.02
Success testByteMax 0.03
Success testByteFailure 0.02
Success testByteBeyondMin 0.02
Success testByteBeyondMax 0.05
Success testNumber 0.02
Success testNumberFailure 0.02

CreditCardValidatorTest

Success testIsValid 0.02
Success testAddAllowedCardType 0.00

CustomValidatorResourcesTest

Success testCustomResources 0.27

DateTest

Success testValidDate 0.28
Success testInvalidDate 0.03

DoubleTest

Success testDouble 0.28
Success testDoubleMin 0.02
Success testDoubleMax 0.03
Success testDoubleFailure 0.02
Success testNumber 0.03
Success testNumberFailure 0.03

EmailTest

Success testEmail 0.30
Success testEmailWithNumericAddress 0.03
Success testEmailExtension 0.03
Success testEmailWithDash 0.02
Success testEmailWithDotEnd 0.02
Success testEmailWithBogusCharacter 0.02
Success testEmailWithCommas 0.02
Success testEmailWithSpaces 0.02
Success testEmailWithControlChars 0.05

EntityImportTest

Success testEntityImport 0.25
Success testParseURL 0.03

ExceptionTest

Success testValidatorException 0.27

ExtensionTest

Success testRequired 0.28
Success testRequiredFirstNameBlank 0.02
Success testRequiredFirstName 0.02
Success testRequiredLastNameBlank 0.02
Success testRequiredLastName 0.02
Success testRequiredName 0.02
Success testOverrideRule 0.05
Success testOrder 0.02

FieldTest

Success testEmptyArgs 0.00
Success testDefaultPositionImplied 0.00
Success testDefaultUsingPositions 0.00
Success testDefaultOnePosition 0.00
Success testDefaultSomePositions 0.00
Success testOverrideUsingPositionA 0.00
Success testOverrideUsingPositionB 0.00
Success testOverridePositionImplied 0.00
Success testOverrideSomePosition 0.00

FloatTest

Success testFloat 0.28
Success testFloatMin 0.02
Success testFloatMax 0.03
Success testFloatFailure 0.02
Success testNumber 0.03
Success testNumberFailure 0.03

GenericValidatorTest

Success testMinLength 0.02
Success testMaxLength 0.00

IntegerTest

Success testInt 0.28
Success testIntMin 0.03
Success testIntegerMax 0.02
Success testIntFailure 0.02
Success testIntBeyondMin 0.03
Success testIntBeyondMax 0.03
Success testNumber 0.02
Success testNumberFailure 0.03

ISBNValidatorTest

Success testIsValid 0.02

LocaleTest

Success testLocale1 0.28
Success testLocale2 0.02
Success testLocale3 0.02
Success testLocale4 0.03
Success testLocale5 0.02

LongTest

Success testLong 0.28
Success testLongMin 0.02
Success testLongMax 0.03
Success testLongFailure 0.02
Success testLongBeyondMin 0.02
Success testLongBeyondMax 0.05
Success testNumber 0.02
Success testNumberFailure 0.02

MultipleConfigFilesTest

Success testMergedConfig 0.26
Success testBothBlank 0.05
Success testRequiredFirstNameBlankLastNameShort 0.02
Success testRequiredLastNameShort 0.03
Success testRequiredLastNameLong 0.02

ParameterTest

Success testAllValid 0.27

RequiredIfTest

Success testRequired 0.28
Success testRequiredFirstNameBlank 0.02
Success testRequiredFirstName 0.02
Success testRequiredLastNameBlank 0.03
Success testRequiredLastName 0.02

RequiredNameTest

Success testRequired 0.28
Success testRequiredFirstNameBlank 0.02
Success testRequiredFirstName 0.02
Success testRequiredLastNameBlank 0.02
Success testRequiredLastName 0.02
Success testRequiredName 0.02

RetrieveFormTest

Success testDefaultForm 0.26
Success testLanguageForm 0.02
Success testLanguageCountryForm 0.03
Success testLanguageCountryVariantForm 0.02
Success testFormNotFound 0.02

BigDecimalValidatorTest

Success testBigDecimalValidatorMethods 0.00
Success testBigDecimalRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

BigIntegerValidatorTest

Success testBigIntegerValidatorMethods 0.00
Success testBigIntegerRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

ByteValidatorTest

Success testByteValidatorMethods 0.00
Success testByteRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

CalendarValidatorTest

Success testCalendarValidatorMethods 0.02
Success testCompare 0.00
Success testDateTimeStyle 0.00
Success testFormat 0.00
Success testAdjustToTimeZone 0.00
Success testPatternValid 0.00
Success testPatternInvalid 0.02
Success testLocaleValid 0.00
Success testLocaleInvalid 0.00

CurrencyValidatorTest

Success testFormatType 0.00
Success testValid 0.00
Success testInvalid 0.00
Success testIntegerValid 0.00
Success testIntegerInvalid 0.00
Success testPattern 0.00

DateValidatorTest

Success testDateValidatorMethods 0.02
Success testCompare 0.00
Success testPatternValid 0.02
Success testPatternInvalid 0.00
Success testLocaleValid 0.00
Success testLocaleInvalid 0.00
Success testFormat 0.00

DoubleValidatorTest

Success testDoubleValidatorMethods 0.02
Success testDoubleRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

FloatValidatorTest

Success testFloatValidatorMethods 0.02
Success testFloatSmallestValues 0.00
Success testFloatRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

IntegerValidatorTest

Success testIntegerValidatorMethods 0.02
Success testIntegerRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

LongValidatorTest

Success testLongValidatorMethods 0.02
Success testLongRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

PercentValidatorTest

Success testFormatType 0.00
Success testValid 0.00
Success testInvalid 0.02

ShortValidatorTest

Success testShortValidatorMethods 0.02
Success testShortRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.00
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

TimeValidatorTest

Success testPatternValid 0.00
Success testPatternInvalid 0.00
Success testLocaleValid 0.00
Success testLocaleInvalid 0.02
Success testTimeZone 0.00
Success testFormat 0.00
Success testCompare 0.00

ShortTest

Success testShortMin 0.28
Success testShortMax 0.03
Success testShortBeyondMin 0.02
Success testShortBeyondMax 0.03
Success testNumber 0.02
Success testNumberFailure 0.03

TypeTest

Success testType 0.28
Success testUSLocale 0.03
Success testFRLocale 0.03

UrlTest

Success testIsValid 11.24
Success testIsValidScheme 0.00
Success testValidator202 0.00
Success testValidator204 0.00
Success testValidateUrl 0.00

FlagsTest

Success testHashCode 0.00
Success testGetFlags 0.00
Success testIsOnOff 0.00
Success testTurnOnOff 0.00
Success testTurnOff 0.00
Success testTurnOffAll 0.00
Success testClear 0.00
Success testTurnOnAll 0.00
Success testClone 0.00
Success testEqualsObject 0.00
Success testToString 0.00

ValidatorResultsTest

Success testAllValid 0.27
Success testErrors 0.03

ValidatorTest

Success testManualObject 0.08
Success testOnlyReturnErrors 0.00
Success testOnlyValidateField 0.00
Success testManualBoolean 0.00

VarTest

Success testVars 0.27