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

Public Member Functions

 setUp ()
 
 validDataProviderWithoutWhitespace ()
 
 validDataProviderWithWhitespace ()
 
 invalidDataProviderWithoutWhitespace ()
 
 invalidDataProviderWithWhitespace ()
 
 isValidForValidInputWithoutAllowedWhitespaceReturnsTrue ($input)
 
 isValidForValidInputWithAllowedWhitespaceReturnsTrue ($input)
 
 isValidForInvalidInputWithoutAllowedWhitespaceReturnsFalse ($input)
 
 isValidForInvalidInputWithAllowedWhitespaceReturnsFalse ($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 AlphanumericValidatorTest.php.

Member Function Documentation

◆ invalidDataProviderWithoutWhitespace()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::invalidDataProviderWithoutWhitespace ( )

Definition at line 55 of file AlphanumericValidatorTest.php.

◆ invalidDataProviderWithWhitespace()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::invalidDataProviderWithWhitespace ( )

Definition at line 64 of file AlphanumericValidatorTest.php.

◆ isValidForInvalidInputWithAllowedWhitespaceReturnsFalse()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::isValidForInvalidInputWithAllowedWhitespaceReturnsFalse (   $input)
Test:
invalidDataProviderWithWhitespace

Definition at line 128 of file AlphanumericValidatorTest.php.

◆ isValidForInvalidInputWithoutAllowedWhitespaceReturnsFalse()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::isValidForInvalidInputWithoutAllowedWhitespaceReturnsFalse (   $input)
Test:
invalidDataProviderWithoutWhitespace

Definition at line 111 of file AlphanumericValidatorTest.php.

◆ isValidForValidInputWithAllowedWhitespaceReturnsTrue()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::isValidForValidInputWithAllowedWhitespaceReturnsTrue (   $input)
Test:
validDataProviderWithWhitespace

Definition at line 93 of file AlphanumericValidatorTest.php.

◆ isValidForValidInputWithoutAllowedWhitespaceReturnsTrue()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::isValidForValidInputWithoutAllowedWhitespaceReturnsTrue (   $input)
Test:
validDataProviderWithoutWhitespace

Definition at line 76 of file AlphanumericValidatorTest.php.

◆ setUp()

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

Definition at line 31 of file AlphanumericValidatorTest.php.

◆ validDataProviderWithoutWhitespace()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::validDataProviderWithoutWhitespace ( )

Definition at line 36 of file AlphanumericValidatorTest.php.

◆ validDataProviderWithWhitespace()

TYPO3\CMS\Form\Tests\Unit\Validation\AlphanumericValidatorTest::validDataProviderWithWhitespace ( )

Definition at line 45 of file AlphanumericValidatorTest.php.

Member Data Documentation

◆ $helper

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

Definition at line 24 of file AlphanumericValidatorTest.php.

◆ $subject

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

Definition at line 29 of file AlphanumericValidatorTest.php.