Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/commons-validator
/ functions
Functions
1,283 in github.com/apache/commons-validator
⨍
Functions
1,283
◇
Types & classes
176
Method
testFormatMultipleMixedArgs
Tests that a format string with multiple arguments of mixed types is formatted correctly.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:43
Method
testFormatNewline
Tests that the varargs constructor formats {@code %n} as the platform line separator.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:52
Method
testFormatNoArgs
Tests that a format string with no arguments produces the expected message.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:60
Method
testFormatNullArg
Tests that a null argument in the varargs is handled and formatted as "null".
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:68
Method
testFormatOneIntArg
Tests that a format string with a single integer argument is formatted correctly.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:76
Method
testFormatOneStringArg
Tests that a format string with a single string argument is formatted correctly.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:84
Method
testFormatType
Test Format Type
src/test/java/org/apache/commons/validator/routines/PercentValidatorTest.java:59
Method
testFormatType
Test Format Type
src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java:93
Method
testFormatType
Test Format Type
src/test/java/org/apache/commons/validator/routines/CurrencyValidatorTest.java:53
Method
testFragments
()
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:155
Method
testGeneric
()
src/test/java/org/apache/commons/validator/routines/CreditCardValidatorTest.java:340
Method
testGenericTldsSortedAndLowerCase
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:437
Method
testGenericValidatorCircularDependency
Tests [VALIDATOR-502] Circular dependency in static initialization causes NPE in GenericValidator.isCreditCard().
src/test/java/org/apache/commons/validator/routines/CreditCardValidatorTest.java:354
Method
testGetArray
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:443
Method
testGetFlags
()
src/test/java/org/apache/commons/validator/util/FlagsTest.java:58
Method
testGetPatterns
()
src/test/java/org/apache/commons/validator/routines/RegexValidatorTest.java:81
Method
testGetRegexValidatorPatterns
()
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:405
Method
testGetValidator
()
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:410
Method
testHasValidator
()
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:416
Method
testHashCode
()
src/test/java/org/apache/commons/validator/util/FlagsTest.java:64
Method
testIDN
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:457
Method
testIDNJava6OrLater
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:462
Method
testIPv6
Test IPv6 addresses. <p> These tests were ported from a <a href="https://download.dartware.com/thirdparty/test-ipv6-regex.pl">Perl script</a>. </p>
src/test/java/org/apache/commons/validator/routines/InetAddressValidatorTest.java:90
Method
testISBN10
()
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitNonAsciiDigitTest.java:70
Method
testISIN
()
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitNonAsciiDigitTest.java:75
Method
testISSN
()
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitNonAsciiDigitTest.java:80
Method
testInValid
(final String invalidIban)
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:422
Method
testInetAddressesByClass
Test valid and invalid IPs from each address class.
src/test/java/org/apache/commons/validator/routines/InetAddressValidatorTest.java:55
Method
testInetAddressesFromTheWild
Test IPs that point to real, well-known hosts (without actually looking them up).
src/test/java/org/apache/commons/validator/routines/InetAddressValidatorTest.java:76
Method
testInfrastructureTldsSortedAndLowerCase
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:472
Method
testInstanceOverride
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorStartupTest.java:49
Method
testInt
Tests the int validation.
src/test/java/org/apache/commons/validator/IntegerTest.java:34
Method
testIntBeyondMax
Tests the int validation failure.
src/test/java/org/apache/commons/validator/IntegerTest.java:46
Method
testIntBeyondMin
Tests the int validation failure.
src/test/java/org/apache/commons/validator/IntegerTest.java:58
Method
testIntFailure
Tests the int validation failure.
src/test/java/org/apache/commons/validator/IntegerTest.java:82
Method
testIntMin
Tests the int validation.
src/test/java/org/apache/commons/validator/IntegerTest.java:93
Method
testIntegerInvalid
Test Invalid integer (non decimal) currency values
src/test/java/org/apache/commons/validator/routines/CurrencyValidatorTest.java:62
Method
testIntegerMax
Tests the int validation.
src/test/java/org/apache/commons/validator/IntegerTest.java:70
Method
testIntegerRangeMinMax
Test Integer Range/Min/Max
src/test/java/org/apache/commons/validator/routines/IntegerValidatorTest.java:85
Method
testIntegerValid
Test Valid integer (non-decimal) currency values
src/test/java/org/apache/commons/validator/routines/CurrencyValidatorTest.java:78
Method
testIntegerValidatorMethods
Test IntegerValidator validate Methods
src/test/java/org/apache/commons/validator/routines/IntegerValidatorTest.java:116
Method
testInvalid
Test Invalid percentage values
src/test/java/org/apache/commons/validator/routines/PercentValidatorTest.java:68
Method
testInvalid
Test Invalid ISBN-10 codes
src/test/java/org/apache/commons/validator/routines/ISBNValidatorTest.java:106
Method
testInvalid
Test Invalid ISSN codes
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:73
Method
testInvalid
Test Invalid currency values
src/test/java/org/apache/commons/validator/routines/CurrencyValidatorTest.java:102
Method
testInvalidDate
Tests the date validation.
src/test/java/org/apache/commons/validator/DateTest.java:56
Method
testInvalidDomains
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:478
Method
testInvalidDomains501
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:496
Method
testInvalidFalse
()
src/test/java/org/apache/commons/validator/routines/ISINValidatorTest.java:85
Method
testInvalidFormatThrowsException
Tests that an invalid format string throws {@link IllegalFormatException}.
src/test/java/org/apache/commons/validator/routines/checkdigit/CheckDigitExceptionTest.java:92
Method
testInvalidISBN10Format
Test Invalid ISBN-10 formats.
src/test/java/org/apache/commons/validator/routines/ISBNValidatorTest.java:138
Method
testInvalidISBN13Format
Test Invalid ISBN-13 formats.
src/test/java/org/apache/commons/validator/routines/ISBNValidatorTest.java:152
Method
testInvalidLength
Sets up routine & valid codes.
src/test/java/org/apache/commons/validator/routines/checkdigit/ISBNCheckDigitTest.java:47
Method
testInvalidNotStrict
Test Invalid, strict=false
src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java:102
Method
testInvalidStrict
Test Invalid, strict=true
src/test/java/org/apache/commons/validator/routines/AbstractNumberValidatorTest.java:116
Method
testInvalidTrue
()
src/test/java/org/apache/commons/validator/routines/ISINValidatorTest.java:92
Method
testIpv6EmbeddedIpv4
()
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:164
Method
testIpv6Port
()
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:176
Method
testIpv6SizesInvalid
(final String host)
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:187
Method
testIpv6SizesValid
(final String host)
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:213
Method
testIsException
Tests that ValidatorException is an instance of Exception.
src/test/java/org/apache/commons/validator/ValidatorExceptionTest.java:177
Method
testIsIDNtoASCIIBroken
()
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:505
Method
testIsOnIsFalseWhenNotAllFlagsInArgumentAreOn
()
src/test/java/org/apache/commons/validator/util/FlagsTest.java:70
Method
testIsOnIsTrueWhenHighOrderBitIsSetAndQueried
()
src/test/java/org/apache/commons/validator/util/FlagsTest.java:78
Method
testIsOnOff
()
src/test/java/org/apache/commons/validator/util/FlagsTest.java:86
Method
testIsValid
()
src/test/java/org/apache/commons/validator/ISBNValidatorTest.java:38
Method
testIsValid
()
src/test/java/org/apache/commons/validator/CreditCardValidatorTest.java:67
Method
testIsValid
()
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:230
Method
testIsValid
()
src/test/java/org/apache/commons/validator/routines/CreditCardValidatorTest.java:363
Method
testIsValidExtract
Test valid EAN-13 ISSN codes and extract the ISSN
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:83
Method
testIsValidFalse
()
src/test/java/org/apache/commons/validator/routines/ISINValidatorTest.java:102
Method
testIsValidFalse
Test isValid() for invalid values.
src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java:201
Method
testIsValidISBN10
Test isValid() ISBN-10 codes
src/test/java/org/apache/commons/validator/routines/ISBNValidatorTest.java:166
Method
testIsValidISBN13
Test isValid() ISBN-13 codes
src/test/java/org/apache/commons/validator/routines/ISBNValidatorTest.java:187
Method
testIsValidISSN
Test isValid() ISSN codes
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:94
Method
testIsValidISSNConvert
Test isValid() ISSN codes and convert them
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:104
Method
testIsValidISSNConvertNull
()
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:119
Method
testIsValidISSNConvertSuffix
()
src/test/java/org/apache/commons/validator/routines/ISSNValidatorTest.java:124
Method
testIsValidScheme
()
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:284
Method
testIsValidSurroundingWhitespace
The format validator trims the input, so surrounding whitespace must not change the result.
src/test/java/org/apache/commons/validator/routines/checkdigit/ECNumberCheckDigitTest.java:60
Method
testIsValidSurroundingWhitespace
The format validator trims the input, so surrounding whitespace must not change the result.
src/test/java/org/apache/commons/validator/routines/checkdigit/CASNumberCheckDigitTest.java:64
Method
testIsValidTrue
()
src/test/java/org/apache/commons/validator/routines/ISINValidatorTest.java:109
Method
testIsValidTrue
Test isValid() for valid values.
src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java:226
Method
testLanguageCountryForm
Test a form defined in the "default" formset, formsets where just the "language" is specified and formset where the language and country are specified
src/test/java/org/apache/commons/validator/RetrieveFormTest.java:144
Method
testLanguageCountryVariantForm
Test a form defined in all the formsets
src/test/java/org/apache/commons/validator/RetrieveFormTest.java:172
Method
testLanguageForm
Test a form defined in the "default" formset and formsets where just the "language" is specified.
src/test/java/org/apache/commons/validator/RetrieveFormTest.java:200
Method
testLength
Test the minimum/maximum length
src/test/java/org/apache/commons/validator/routines/CodeValidatorTest.java:115
Method
testLocale1
See what happens when we try to validate with a Locale, Country and variant. Also check if the added locale validation field is getting used. @throws
src/test/java/org/apache/commons/validator/LocaleTest.java:65
Method
testLocale2
See what happens when we try to validate with a Locale, Country and variant @throws ValidatorException If something goes wrong
src/test/java/org/apache/commons/validator/LocaleTest.java:80
Method
testLocale3
See what happens when we try to validate with a Locale, Country and variant @throws ValidatorException If something goes wrong
src/test/java/org/apache/commons/validator/LocaleTest.java:95
Method
testLocale4
See if a locale of en_UK_TEST falls back to en_UK instead of default form set. Bug #16920 states that this isn't happening, even though it is passing
src/test/java/org/apache/commons/validator/LocaleTest.java:111
Method
testLocale5
See if a locale of language=en falls back to default form set. @throws ValidatorException If something goes wrong
src/test/java/org/apache/commons/validator/LocaleTest.java:126
Method
testLocaleInvalid
Test Invalid Dates with "locale" validation
src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java:195
Method
testLocaleInvalid
Test Invalid Dates with "locale" validation
src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java:142
Method
testLocaleValid
Test Valid Dates with "locale" validation
src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java:208
Method
testLocaleValid
Test Valid Dates with "locale" validation
src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java:155
Method
testLong
Tests the long validation.
src/test/java/org/apache/commons/validator/LongTest.java:34
Method
testLongBeyondMax
Tests the long validation failure.
src/test/java/org/apache/commons/validator/LongTest.java:46
Method
testLongBeyondMin
Tests the long validation failure.
src/test/java/org/apache/commons/validator/LongTest.java:58
Method
testLongFailure
Tests the long validation failure.
src/test/java/org/apache/commons/validator/LongTest.java:70
← previous
next →
901–1,000 of 1,283, ranked by callers