Method |
Description |
|
setUp ( ) |
|
|
tearDown ( ) |
|
|
testAddCustomRegexFormats ( ) |
Tests that new formats can be added to existing regex methods using Validator::add(). |
|
testAddCustomRegexMethods ( ) |
Tests that new methods can be called on Validator by adding rules using Validator::add(). |
|
testAlphaNumeric ( ) |
Tests the the 'alphaNumeric' rule validates correct values. |
|
testBooleanValidation ( ) |
|
|
testCheckAny ( ) |
Verifies that if validating with _any_, any format for
a rule will match. See issue #888 for more information. |
|
testCheckHasErrors ( ) |
|
|
testCheckMultipleHasErrors ( ) |
|
|
testCheckMultipleHasFirstError ( ) |
|
|
testCheckMultipleHasOneError ( ) |
|
|
testCheckMultiplePasses ( ) |
|
|
testCheckPasses ( ) |
|
|
testCheckSkipEmpty ( ) |
|
|
testCheckWithLastRule ( ) |
|
|
testCreditCardValidation ( ) |
Tests credit card validation for numbers in various vendors' formats. |
|
testCustomMethodDispatching ( ) |
Tests static method call routing to enable patterns defined in Validator::$_rules to be
called as methods. |
|
testCustomWithFormat ( ) |
|
|
testDateValidation ( ) |
|
|
testDecimal ( ) |
Test basic decimal number validation. |
|
testDecimalWithPlaces ( ) |
Test decimal validation with precision specified. |
|
testEmailDomainCheckBadMxrr ( ) |
|
|
testEmailDomainCheckGoodMxrr ( ) |
Tests email address validation, with additional hostname lookup |
|
testEmailValidation ( ) |
|
|
testEvents ( ) |
Tests that event flags applied to rules only trigger when the corresponding event is passed
in the $options parameter of check(). |
|
testFieldOption ( ) |
|
|
testInList ( ) |
Tests 'inList' validation. |
|
testIsInRange ( ) |
|
|
testIsLengthBetweenRule ( ) |
Tests the the 'lengthBetween' rule validates correct values. |
|
testIsNumericRule ( ) |
|
|
testIsRegex ( ) |
Tests the regular expression validation for various regex delimiters |
|
testNestedFields ( ) |
Tests validating nested fields using dot-separated paths. |
|
testNotEmptyRule ( ) |
Tests that the 'notEmpty' rule validates correct values |
|
testPrefilterMethodAccess ( ) |
|
|
testRegexContainment ( ) |
Tests that setting the 'contain' rule option to false correctly requires a string to be
an exact match of the regex, with no additional characters outside. |
|
testRespondsToMagic ( ) |
|
|
testRespondsToParentCall ( ) |
|
|
testRuleFormatMessageOnly ( ) |
|
|
testStateReset ( ) |
Tests that the rules state is reset when calling Validator::reset(). |
|
testUuid ( ) |
Tests that valid and invalid UUIDs are properly detected. |
|
testValidationWithContextData ( ) |
|
|