TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
NumberRangeValidatorTest Class Reference
Inheritance diagram for NumberRangeValidatorTest:
UnitTestCase BaseTestCase

Public Member Functions

 numberRangeValidatorReturnsNoErrorForASimpleIntegerInRange ()
 
 numberRangeValidatorReturnsErrorForANumberOutOfRange ()
 
 numberRangeValidatorReturnsNoErrorForANumberInReversedRange ()
 
 numberRangeValidatorReturnsErrorForAString ()
 

Protected Attributes

 $validatorClassName = \TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator::class
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Detailed Description

Test case

Definition at line 27 of file NumberRangeValidatorTest.php.

Member Function Documentation

numberRangeValidatorReturnsErrorForANumberOutOfRange ( )
Test:

Definition at line 47 of file NumberRangeValidatorTest.php.

numberRangeValidatorReturnsErrorForAString ( )
Test:

Definition at line 73 of file NumberRangeValidatorTest.php.

numberRangeValidatorReturnsNoErrorForANumberInReversedRange ( )
Test:

Definition at line 60 of file NumberRangeValidatorTest.php.

numberRangeValidatorReturnsNoErrorForASimpleIntegerInRange ( )
Test:

Definition at line 34 of file NumberRangeValidatorTest.php.

Member Data Documentation

$validatorClassName = \TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator::class
protected

Definition at line 29 of file NumberRangeValidatorTest.php.