PHP Class Former\LiveValidationTest

Inheritance: extends Former\TestCases\FormerTests
Afficher le fichier Open project: anahkiasen/former

Méthodes publiques

Méthode Description
providePatterns ( )
provideTypes ( )
testCanAddRequiredTextToPlainFields ( )
testCanAddRequiredTextToPlainFieldsAsArray ( )
testCanApplyMultipleRulesWithString ( )
testCanApplyPatternsToFields ( $type, $pattern )
testCanApplyPatternsToFieldsAsArray ( $type, $pattern )
testCanApplyRulesByChaining ( )
testCanCreateMaxFileSizeForFiles ( )
testCanDisableLiveValidation ( )
testCanDisableLiveValidationAsArray ( )
testCanForceFieldToImage ( )
testCanForceFieldToImageAsArray ( )
testCanHaveSpacesInRulesForSomeReason ( )
testCanRestrictMimeTypes ( )
testCanRestrictMimeTypesAsArray ( )
testCanSetBoundariesToText ( )
testCanSetBoundariesToTextAsArray ( )
testCanSetBoundariestoNumber ( )
testCanSetBoundariestoNumberAsArray ( )
testCanSetDateAsAfterSomething ( )
testCanSetDateAsAfterSomethingAsArray ( )
testCanSetDateAsBeforeSomething ( )
testCanSetDateAsBeforeSomethingAsArray ( )
testCanSetDatetimeAsBeforeSomething ( )
testCanSetFieldAsRequired ( )
testCanSetFieldAsRequiredAsArray ( )
testCanSetMaxToNumber ( )
testCanSetMaxToNumberAsArray ( )
testCanSetMaxToText ( )
testCanSetMaxToTextAsArray ( )
testCanSetMinToNumber ( )
testCanSetMinToNumberAsArray ( )
testCanSetMinToText ( )
testCanSetMinToTextAsArray ( )
testCanSetNestedBracketFieldAsRequired ( )
testCanSetNestedBracketFieldAsRequiredAsArray ( )
testCanSetNestedDotFieldAsRequired ( )
testCanSetNestedDotFieldAsRequiredAsArray ( )
testCanSetNumberFieldAsNumeric ( )
testCanSetNumberFieldAsNumericAsArray ( )
testCanSkipUnexistingHtmlEquivalents ( )
testCanSwitchTypesAccordingToRules ( $type )
testCanSwitchTypesAccordingToRulesAsArray ( $type )
testCanUseMultipleRulesArray ( )
testCanUseMultipleRulesArrayAsArray ( )
testCantUseAcceptOnNonFilesFields ( )

Method Details

providePatterns() public méthode

public providePatterns ( )

provideTypes() public méthode

public provideTypes ( )

testCanAddRequiredTextToPlainFields() public méthode

testCanAddRequiredTextToPlainFieldsAsArray() public méthode

testCanApplyMultipleRulesWithString() public méthode

testCanApplyPatternsToFields() public méthode

public testCanApplyPatternsToFields ( $type, $pattern )

testCanApplyPatternsToFieldsAsArray() public méthode

public testCanApplyPatternsToFieldsAsArray ( $type, $pattern )

testCanApplyRulesByChaining() public méthode

testCanCreateMaxFileSizeForFiles() public méthode

testCanDisableLiveValidation() public méthode

testCanDisableLiveValidationAsArray() public méthode

testCanForceFieldToImage() public méthode

testCanForceFieldToImageAsArray() public méthode

testCanHaveSpacesInRulesForSomeReason() public méthode

testCanRestrictMimeTypes() public méthode

testCanRestrictMimeTypesAsArray() public méthode

testCanSetBoundariesToText() public méthode

testCanSetBoundariesToTextAsArray() public méthode

testCanSetBoundariestoNumber() public méthode

testCanSetBoundariestoNumberAsArray() public méthode

testCanSetDateAsAfterSomething() public méthode

testCanSetDateAsAfterSomethingAsArray() public méthode

testCanSetDateAsBeforeSomething() public méthode

testCanSetDateAsBeforeSomethingAsArray() public méthode

testCanSetDatetimeAsBeforeSomething() public méthode

testCanSetFieldAsRequired() public méthode

testCanSetFieldAsRequiredAsArray() public méthode

testCanSetMaxToNumber() public méthode

testCanSetMaxToNumberAsArray() public méthode

testCanSetMaxToText() public méthode

public testCanSetMaxToText ( )

testCanSetMaxToTextAsArray() public méthode

testCanSetMinToNumber() public méthode

testCanSetMinToNumberAsArray() public méthode

testCanSetMinToText() public méthode

public testCanSetMinToText ( )

testCanSetMinToTextAsArray() public méthode

testCanSetNestedBracketFieldAsRequired() public méthode

testCanSetNestedBracketFieldAsRequiredAsArray() public méthode

testCanSetNestedDotFieldAsRequired() public méthode

testCanSetNestedDotFieldAsRequiredAsArray() public méthode

testCanSetNumberFieldAsNumeric() public méthode

testCanSetNumberFieldAsNumericAsArray() public méthode

testCanSkipUnexistingHtmlEquivalents() public méthode

testCanSwitchTypesAccordingToRules() public méthode

testCanSwitchTypesAccordingToRulesAsArray() public méthode

testCanUseMultipleRulesArray() public méthode

testCanUseMultipleRulesArrayAsArray() public méthode

testCantUseAcceptOnNonFilesFields() public méthode