PHP Class Former\LiveValidationTest

Inheritance: extends Former\TestCases\FormerTests
Mostra file Open project: anahkiasen/former

Public Methods

Method 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 method

public providePatterns ( )

provideTypes() public method

public provideTypes ( )

testCanAddRequiredTextToPlainFields() public method

testCanAddRequiredTextToPlainFieldsAsArray() public method

testCanApplyMultipleRulesWithString() public method

testCanApplyPatternsToFields() public method

public testCanApplyPatternsToFields ( $type, $pattern )

testCanApplyPatternsToFieldsAsArray() public method

public testCanApplyPatternsToFieldsAsArray ( $type, $pattern )

testCanApplyRulesByChaining() public method

testCanCreateMaxFileSizeForFiles() public method

testCanDisableLiveValidation() public method

testCanDisableLiveValidationAsArray() public method

testCanForceFieldToImage() public method

testCanForceFieldToImageAsArray() public method

testCanHaveSpacesInRulesForSomeReason() public method

testCanRestrictMimeTypes() public method

testCanRestrictMimeTypesAsArray() public method

testCanSetBoundariesToText() public method

testCanSetBoundariesToTextAsArray() public method

testCanSetBoundariestoNumber() public method

testCanSetBoundariestoNumberAsArray() public method

testCanSetDateAsAfterSomething() public method

testCanSetDateAsAfterSomethingAsArray() public method

testCanSetDateAsBeforeSomething() public method

testCanSetDateAsBeforeSomethingAsArray() public method

testCanSetDatetimeAsBeforeSomething() public method

testCanSetFieldAsRequired() public method

testCanSetFieldAsRequiredAsArray() public method

testCanSetMaxToNumber() public method

testCanSetMaxToNumberAsArray() public method

testCanSetMaxToText() public method

public testCanSetMaxToText ( )

testCanSetMaxToTextAsArray() public method

testCanSetMinToNumber() public method

testCanSetMinToNumberAsArray() public method

testCanSetMinToText() public method

public testCanSetMinToText ( )

testCanSetMinToTextAsArray() public method

testCanSetNestedBracketFieldAsRequired() public method

testCanSetNestedBracketFieldAsRequiredAsArray() public method

testCanSetNestedDotFieldAsRequired() public method

testCanSetNestedDotFieldAsRequiredAsArray() public method

testCanSetNumberFieldAsNumeric() public method

testCanSetNumberFieldAsNumericAsArray() public method

testCanSkipUnexistingHtmlEquivalents() public method

testCanSwitchTypesAccordingToRules() public method

testCanSwitchTypesAccordingToRulesAsArray() public method

testCanUseMultipleRulesArray() public method

testCanUseMultipleRulesArrayAsArray() public method

testCantUseAcceptOnNonFilesFields() public method