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

Public Member Functions

 setUp ()
 
 validNonInclusiveDataProvider ()
 
 invalidNonInclusiveDataProvider ()
 
 validInclusiveDataProvider ()
 
 invalidInclusiveDataProvider ()
 
 isValidWithValidInputAndWithoutInclusiveReturnsTrue ($input)
 
 isValidWithValidInputAndWithInclusiveReturnsTrue ($input)
 
 isValidWithInvalidInputAndWithoutInclusiveReturnsFalse ($input)
 
 isValidWithInvalidInputAndWithInclusiveReturnsFalse ($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 20 of file BetweenValidatorTest.php.

Member Function Documentation

◆ invalidInclusiveDataProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::invalidInclusiveDataProvider ( )

Definition at line 67 of file BetweenValidatorTest.php.

◆ invalidNonInclusiveDataProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::invalidNonInclusiveDataProvider ( )

Definition at line 48 of file BetweenValidatorTest.php.

◆ isValidWithInvalidInputAndWithInclusiveReturnsFalse()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::isValidWithInvalidInputAndWithInclusiveReturnsFalse (   $input)
Test:
invalidInclusiveDataProvider

Definition at line 133 of file BetweenValidatorTest.php.

◆ isValidWithInvalidInputAndWithoutInclusiveReturnsFalse()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::isValidWithInvalidInputAndWithoutInclusiveReturnsFalse (   $input)
Test:
invalidNonInclusiveDataProvider

Definition at line 115 of file BetweenValidatorTest.php.

◆ isValidWithValidInputAndWithInclusiveReturnsTrue()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::isValidWithValidInputAndWithInclusiveReturnsTrue (   $input)
Test:
validInclusiveDataProvider

Definition at line 96 of file BetweenValidatorTest.php.

◆ isValidWithValidInputAndWithoutInclusiveReturnsTrue()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::isValidWithValidInputAndWithoutInclusiveReturnsTrue (   $input)
Test:
validNonInclusiveDataProvider

Definition at line 78 of file BetweenValidatorTest.php.

◆ setUp()

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

Definition at line 32 of file BetweenValidatorTest.php.

◆ validInclusiveDataProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::validInclusiveDataProvider ( )

Definition at line 59 of file BetweenValidatorTest.php.

◆ validNonInclusiveDataProvider()

TYPO3\CMS\Form\Tests\Unit\Validation\BetweenValidatorTest::validNonInclusiveDataProvider ( )

Definition at line 37 of file BetweenValidatorTest.php.

Member Data Documentation

◆ $helper

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

Definition at line 25 of file BetweenValidatorTest.php.

◆ $subject

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

Definition at line 30 of file BetweenValidatorTest.php.