Summary

[ summary] [ package list] [ test cases]

Tests Errors Failures Success rate Time(s)
247 0 0 100.00% 35.97

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.routines 121 0 0 100.00% 0.25
org.apache.commons.validator.util 11 0 0 100.00% 0.02
org.apache.commons.validator 115 0 0 100.00% 35.70

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

org.apache.commons.validator.routines

Class Tests Errors Failures Success Rate Time
Success CurrencyValidatorTest 6 0 0 100.00% 0.031
Success IntegerValidatorTest 11 0 0 100.00% 0.015
Success TimeValidatorTest 7 0 0 100.00% 0.016
Success ShortValidatorTest 11 0 0 100.00% 0.016
Success LongValidatorTest 11 0 0 100.00% 0.015
Success PercentValidatorTest 3 0 0 100.00% 0.016
Success ByteValidatorTest 11 0 0 100.00% 0.000
Success FloatValidatorTest 12 0 0 100.00% 0.032
Success CalendarValidatorTest 9 0 0 100.00% 0.032
Success DoubleValidatorTest 11 0 0 100.00% 0.015
Success DateValidatorTest 7 0 0 100.00% 0.031
Success BigIntegerValidatorTest 11 0 0 100.00% 0.016
Success BigDecimalValidatorTest 11 0 0 100.00% 0.016

org.apache.commons.validator.util

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

org.apache.commons.validator

Class Tests Errors Failures Success Rate Time
Success RequiredIfTest 5 0 0 100.00% 0.718
Success LocaleTest 5 0 0 100.00% 0.641
Success ISBNValidatorTest 1 0 0 100.00% 0.094
Success MultipleConfigFilesTest 5 0 0 100.00% 0.703
Success EntityImportTest 1 0 0 100.00% 0.390
Success RetrieveFormTest 5 0 0 100.00% 0.610
Success CreditCardValidatorTest 2 0 0 100.00% 0.015
Success ExtensionTest 8 0 0 100.00% 0.765
Success DateTest 2 0 0 100.00% 0.468
Success RequiredNameTest 6 0 0 100.00% 0.703
Success GenericValidatorTest 2 0 0 100.00% 0.031
Success FieldTest 9 0 0 100.00% 0.032
Success IntegerTest 8 0 0 100.00% 0.938
Success ExceptionTest 1 0 0 100.00% 0.422
Success LongTest 8 0 0 100.00% 1.328
Success ShortTest 6 0 0 100.00% 0.797
Success UrlTest 3 0 0 100.00% 21.781
Success ByteTest 8 0 0 100.00% 0.922
Success FloatTest 6 0 0 100.00% 0.781
Success ValidatorResultsTest 2 0 0 100.00% 0.515
Success DoubleTest 6 0 0 100.00% 0.797
Success TypeTest 3 0 0 100.00% 0.703
Success ValidatorTest 4 0 0 100.00% 0.219
Success EmailTest 8 0 0 100.00% 0.937
Success VarTest 1 0 0 100.00% 0.391

Test Cases

[ summary] [ package list] [ test cases]

CurrencyValidatorTest

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

IntegerValidatorTest

Success testIntegerValidatorMethods 0.00
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.02

TimeValidatorTest

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

ShortValidatorTest

Success testShortValidatorMethods 0.00
Success testShortRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.02
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.00
Success testLongRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.00
Success testInvalidStrict 0.00
Success testInvalidNotStrict 0.00
Success testValidStrict 0.02
Success testValidNotStrict 0.00
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 0.00

PercentValidatorTest

Success testFormatType 0.00
Success testValid 0.02
Success testInvalid 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

FloatValidatorTest

Success testFloatValidatorMethods 0.00
Success testFloatSmallestValues 0.00
Success testFloatRangeMinMax 0.00
Success testFormatType 0.00
Success testValidateMinMax 0.02
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 testFormat 0.00
Success testCompare 0.00
Success testCalendarValidatorMethods 0.00
Success testDateTimeStyle 0.00
Success testAdjustToTimeZone 0.00
Success testPatternValid 0.00
Success testPatternInvalid 0.02
Success testLocaleValid 0.00
Success testLocaleInvalid 0.00

DoubleValidatorTest

Success testDoubleValidatorMethods 0.00
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

DateValidatorTest

Success testCompare 0.00
Success testDateValidatorMethods 0.00
Success testFormat 0.00
Success testPatternValid 0.02
Success testPatternInvalid 0.00
Success testLocaleValid 0.00
Success testLocaleInvalid 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

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.02
Success testValidateLocale 0.00
Success testFormat 0.00
Success testRangeMinMax 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

RequiredIfTest

Success testRequired 0.50
Success testRequiredFirstNameBlank 0.06
Success testRequiredFirstName 0.05
Success testRequiredLastNameBlank 0.05
Success testRequiredLastName 0.05

LocaleTest

Success testLocale1 0.45
Success testLocale2 0.05
Success testLocale3 0.05
Success testLocale4 0.05
Success testLocale5 0.05

ISBNValidatorTest

Success testIsValid 0.08

MultipleConfigFilesTest

Success testMergedConfig 0.41
Success testBothBlank 0.09
Success testRequiredFirstNameBlankLastNameShort 0.08
Success testRequiredLastNameShort 0.06
Success testRequiredLastNameLong 0.06

EntityImportTest

Success testEntityImport 0.38

RetrieveFormTest

Success testDefaultForm 0.39
Success testLanguageForm 0.06
Success testLanguageCountryForm 0.05
Success testLanguageCountryVariantForm 0.05
Success testFormNotFound 0.06

CreditCardValidatorTest

Success testIsValid 0.02
Success testAddAllowedCardType 0.00

ExtensionTest

Success testRequired 0.44
Success testRequiredFirstNameBlank 0.05
Success testRequiredFirstName 0.05
Success testRequiredLastNameBlank 0.03
Success testRequiredLastName 0.05
Success testRequiredName 0.06
Success testOverrideRule 0.05
Success testOrder 0.05

DateTest

Success testValidDate 0.41
Success testInvalidDate 0.05

RequiredNameTest

Success testRequired 0.45
Success testRequiredFirstNameBlank 0.05
Success testRequiredFirstName 0.05
Success testRequiredLastNameBlank 0.06
Success testRequiredLastName 0.03
Success testRequiredName 0.05

GenericValidatorTest

Success testMinLength 0.03
Success testMaxLength 0.00

FieldTest

Success testEmptyArgs 0.02
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

IntegerTest

Success testInt 0.45
Success testIntMin 0.08
Success testIntegerMax 0.06
Success testIntFailure 0.06
Success testIntBeyondMin 0.08
Success testIntBeyondMax 0.06
Success testNumber 0.06
Success testNumberFailure 0.08

ExceptionTest

Success testValidatorException 0.41

LongTest

Success testLong 0.83
Success testLongMin 0.08
Success testLongMax 0.08
Success testLongFailure 0.06
Success testLongBeyondMin 0.06
Success testLongBeyondMax 0.08
Success testNumber 0.06
Success testNumberFailure 0.08

ShortTest

Success testShortMin 0.45
Success testShortMax 0.06
Success testShortBeyondMin 0.08
Success testShortBeyondMax 0.06
Success testNumber 0.06
Success testNumberFailure 0.06

UrlTest

Success testIsValid 21.76
Success testIsValidScheme 0.00
Success testValidateUrl 0.00

ByteTest

Success testByte 0.45
Success testByteMin 0.06
Success testByteMax 0.08
Success testByteFailure 0.06
Success testByteBeyondMin 0.06
Success testByteBeyondMax 0.06
Success testNumber 0.08
Success testNumberFailure 0.06

FloatTest

Success testFloat 0.45
Success testFloatMin 0.08
Success testFloatMax 0.06
Success testFloatFailure 0.06
Success testNumber 0.06
Success testNumberFailure 0.06

ValidatorResultsTest

Success testAllValid 0.44
Success testErrors 0.06

DoubleTest

Success testDouble 0.45
Success testDoubleMin 0.08
Success testDoubleMax 0.06
Success testDoubleFailure 0.06
Success testNumber 0.06
Success testNumberFailure 0.08

TypeTest

Success testType 0.47
Success testUSLocale 0.11
Success testFRLocale 0.11

ValidatorTest

Success testManualObject 0.19
Success testOnlyReturnErrors 0.00
Success testOnlyValidateField 0.02
Success testManualBoolean 0.00

EmailTest

Success testEmail 0.52
Success testEmailWithNumericAddress 0.05
Success testEmailExtension 0.11
Success testEmailWithDash 0.05
Success testEmailWithDotEnd 0.05
Success testEmailWithBogusCharacter 0.05
Success testEmailWithCommas 0.06
Success testEmailWithSpaces 0.05

VarTest

Success testVars 0.39