TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest Class Reference
Inheritance diagram for TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 validLengthProvider ()
 
 isValidForValidInputReturnsTrue ($input)
 
 invalidLengthProvider ()
 
 isValidForInvalidInputReturnsFalse ($input)
 

Protected Attributes

 $helper
 
 $subject
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Test case

Definition at line 19 of file LengthValidatorTest.php.

Member Function Documentation

◆ invalidLengthProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::invalidLengthProvider ( )
Returns
array

Definition at line 86 of file LengthValidatorTest.php.

◆ isValidForInvalidInputReturnsFalse()

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::isValidForInvalidInputReturnsFalse (   $input)
Test:
invalidLengthProvider

Definition at line 101 of file LengthValidatorTest.php.

◆ isValidForValidInputReturnsTrue()

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::isValidForValidInputReturnsTrue (   $input)
Test:
validLengthProvider

Definition at line 69 of file LengthValidatorTest.php.

◆ setUp()

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::setUp ( )

◆ validLengthProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::validLengthProvider ( )
Returns
array

Definition at line 48 of file LengthValidatorTest.php.

Member Data Documentation

◆ $helper

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::$helper
protected

Definition at line 24 of file LengthValidatorTest.php.

◆ $subject

TYPO3\CMS\Form\Tests\Unit\Validation\LengthValidatorTest::$subject
protected

Definition at line 29 of file LengthValidatorTest.php.