##### Validator

- Overview
- Download
- Issue Tracking
- Routines Docs
- JavaDoc
- JavaScript Doc
- Validator Wiki

##### JavaDocs

- SVN Latest
- Current Release
- 1.2.0 Release
- 1.1.4 Release
- 1.0.4 Release

##### Development

- Building
- Mailing Lists
- Team
- Tasks
- SVN Repository

##### Project Documentation

- About
- Project Info
- Project Reports
  - Checkstyle
  - Changes
  - Change Log
  - File Activity
  - Developer Activity
  - JavaDocs
  - JavaDoc Report
  - JavaDoc Warnings Report
  - Source Xref
  - Test Xref
  - Unit Tests
  - PMD Report
  - Simian Report
  - FAQs
  - JCoverage
- Development Process

##### Commons

- Home
- Components
- Sandbox
- Dormant
- Volunteering
- Contributing Patches
- Building Components
- Releasing Components
- Wiki

##### Legend

- External Link
- Opens in a new window

## 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
--- | --- | --- | --- | --- | ---
| CurrencyValidatorTest | 6 | 0 | 0 | 100.00% | 0.031
| IntegerValidatorTest | 11 | 0 | 0 | 100.00% | 0.015
| TimeValidatorTest | 7 | 0 | 0 | 100.00% | 0.016
| ShortValidatorTest | 11 | 0 | 0 | 100.00% | 0.016
| LongValidatorTest | 11 | 0 | 0 | 100.00% | 0.015
| PercentValidatorTest | 3 | 0 | 0 | 100.00% | 0.016
| ByteValidatorTest | 11 | 0 | 0 | 100.00% | 0.000
| FloatValidatorTest | 12 | 0 | 0 | 100.00% | 0.032
| CalendarValidatorTest | 9 | 0 | 0 | 100.00% | 0.032
| DoubleValidatorTest | 11 | 0 | 0 | 100.00% | 0.015
| DateValidatorTest | 7 | 0 | 0 | 100.00% | 0.031
| BigIntegerValidatorTest | 11 | 0 | 0 | 100.00% | 0.016
| BigDecimalValidatorTest | 11 | 0 | 0 | 100.00% | 0.016

### org.apache.commons.validator.util

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

### org.apache.commons.validator

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

## Test Cases

[ summary] [ package list] [ test cases]

### CurrencyValidatorTest

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

### IntegerValidatorTest

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

### TimeValidatorTest

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

### ShortValidatorTest

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

### LongValidatorTest

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

### PercentValidatorTest

| testFormatType | 0.00
| testValid | 0.02
| testInvalid | 0.00

### ByteValidatorTest

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

### FloatValidatorTest

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

### CalendarValidatorTest

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

### DoubleValidatorTest

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

### DateValidatorTest

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

### BigIntegerValidatorTest

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

### BigDecimalValidatorTest

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

### FlagsTest

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

### RequiredIfTest

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

### LocaleTest

| testLocale1 | 0.45
| testLocale2 | 0.05
| testLocale3 | 0.05
| testLocale4 | 0.05
| testLocale5 | 0.05

### ISBNValidatorTest

| testIsValid | 0.08

### MultipleConfigFilesTest

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

### EntityImportTest

| testEntityImport | 0.38

### RetrieveFormTest

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

### CreditCardValidatorTest

| testIsValid | 0.02
| testAddAllowedCardType | 0.00

### ExtensionTest

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

### DateTest

| testValidDate | 0.41
| testInvalidDate | 0.05

### RequiredNameTest

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

### GenericValidatorTest

| testMinLength | 0.03
| testMaxLength | 0.00

### FieldTest

| testEmptyArgs | 0.02
| testDefaultPositionImplied | 0.00
| testDefaultUsingPositions | 0.00
| testDefaultOnePosition | 0.00
| testDefaultSomePositions | 0.00
| testOverrideUsingPositionA | 0.00
| testOverrideUsingPositionB | 0.00
| testOverridePositionImplied | 0.00
| testOverrideSomePosition | 0.00

### IntegerTest

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

### ExceptionTest

| testValidatorException | 0.41

### LongTest

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

### ShortTest

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

### UrlTest

| testIsValid | 21.76
| testIsValidScheme | 0.00
| testValidateUrl | 0.00

### ByteTest

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

### FloatTest

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

### ValidatorResultsTest

| testAllValid | 0.44
| testErrors | 0.06

### DoubleTest

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

### TypeTest

| testType | 0.47
| testUSLocale | 0.11
| testFRLocale | 0.11

### ValidatorTest

| testManualObject | 0.19
| testOnlyReturnErrors | 0.00
| testOnlyValidateField | 0.02
| testManualBoolean | 0.00

### EmailTest

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

### VarTest

| testVars | 0.39