[FEATURE] Add several testcases for validators
authorAndreas Lappe <nd@off-pist.de>
Wed, 28 Mar 2012 17:04:39 +0000 (19:04 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Wed, 10 Oct 2012 11:18:12 +0000 (13:18 +0200)
commit2b188da1e6d8033a5589614dc979f7f255a68f52
tree2d101e54ce6286b187a89e7cf4fa074b0af8ceaa
parent7472f53a064bde013b938d4d28051ba211aeb5a3
[FEATURE] Add several testcases for validators

This adds several testcases for the provided validators.

Change-Id: Ie7a056cadaf767dbc306a980561c15e70d9698d8
Resolves: #35333
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10067
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
23 files changed:
typo3/sysext/form/Classes/Validation/AbstractValidator.php
typo3/sysext/form/Classes/Validation/AlphabeticValidator.php
typo3/sysext/form/Tests/Unit/Validation/AlphabeticValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/AlphanumericValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/BetweenValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/DateValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/DigitValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/EmailValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/EqualsValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/FileAllowedTypesValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/FileMaximumSizeValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/FileMinimumSizeValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/FloatValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/GreaterThanValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/Helper.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/InArrayValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/IntegerValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/IpValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/LengthValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/LessThanValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/RegExpValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/RequiredValidatorTest.php [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Validation/UriValidatorTest.php [new file with mode: 0644]