‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest:

Public Member Functions

 integerValidatorReturnsNoErrorsForAValidInteger (int|string $integer)
 
 integerValidatorReturnsErrorForAnInvalidInteger (float|string $invalidInteger)
 
 integerValidatorCreatesTheCorrectErrorForAnInvalidSubject ()
 

Static Public Member Functions

static validIntegers ()
 
static invalidIntegers ()
 

Protected Member Functions

 setUp ()
 

Detailed Description

Definition at line 26 of file IntegerValidatorTest.php.

Member Function Documentation

◆ integerValidatorCreatesTheCorrectErrorForAnInvalidSubject()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::integerValidatorCreatesTheCorrectErrorForAnInvalidSubject ( )
Test:

Definition at line 86 of file IntegerValidatorTest.php.

References $validator.

◆ integerValidatorReturnsErrorForAnInvalidInteger()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::integerValidatorReturnsErrorForAnInvalidInteger ( float|string  $invalidInteger)
Test:
‪@dataProvider invalidIntegers

Definition at line 76 of file IntegerValidatorTest.php.

References $validator.

◆ integerValidatorReturnsNoErrorsForAValidInteger()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::integerValidatorReturnsNoErrorsForAValidInteger ( int|string  $integer)
Test:
‪@dataProvider validIntegers

Definition at line 53 of file IntegerValidatorTest.php.

References $validator.

◆ invalidIntegers()

static TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::invalidIntegers ( )
static

Data provider with invalid integers

Definition at line 63 of file IntegerValidatorTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::setUp ( )
protected

◆ validIntegers()

static TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator\IntegerValidatorTest::validIntegers ( )
static

Data provider with valid integers

Definition at line 39 of file IntegerValidatorTest.php.