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

Public Member Functions

 setup ()
 
 numberValidatorReturnsTrueForASimpleInteger ()
 
 numberValidatorReturnsFalseForAString ()
 

Protected Attributes

 $validatorClassName = \TYPO3\CMS\Extbase\Validation\Validator\NumberValidator::class
 
 $validator
 
- 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 NumberValidatorTest.php.

Member Function Documentation

numberValidatorReturnsFalseForAString ( )
Test:

Definition at line 54 of file NumberValidatorTest.php.

numberValidatorReturnsTrueForASimpleInteger ( )
Test:

Definition at line 46 of file NumberValidatorTest.php.

setup ( )

Definition at line 36 of file NumberValidatorTest.php.

Member Data Documentation

$validator
protected

Definition at line 34 of file NumberValidatorTest.php.

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

Definition at line 29 of file NumberValidatorTest.php.