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

Public Member Functions

 setUp ()
 
 stringProvider ()
 
 stringProviderForCharacterList ()
 
 filterForStringWithWhitespaceInFrontAndEndReturnsStringWithoutThisWhitespace ($input, $expected)
 
 filterForStringWithCharactersInCharacterListReturnsStringWithoutTheseCharacters ($input, $expected, $characterList)
 

Protected Attributes

 $fixture = NULL
 
- 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

Author
Andreas Lappe nd@ka.nosp@m.eufl.nosp@m.i.ch

Definition at line 22 of file TrimFilterTest.php.

Member Function Documentation

◆ filterForStringWithCharactersInCharacterListReturnsStringWithoutTheseCharacters()

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::filterForStringWithCharactersInCharacterListReturnsStringWithoutTheseCharacters (   $input,
  $expected,
  $characterList 
)
Test:
stringProviderForCharacterList

Definition at line 70 of file TrimFilterTest.php.

◆ filterForStringWithWhitespaceInFrontAndEndReturnsStringWithoutThisWhitespace()

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::filterForStringWithWhitespaceInFrontAndEndReturnsStringWithoutThisWhitespace (   $input,
  $expected 
)
Test:
stringProvider

Definition at line 59 of file TrimFilterTest.php.

◆ setUp()

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::setUp ( )

Set up

Definition at line 32 of file TrimFilterTest.php.

◆ stringProvider()

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::stringProvider ( )

Definition at line 36 of file TrimFilterTest.php.

◆ stringProviderForCharacterList()

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::stringProviderForCharacterList ( )

Definition at line 45 of file TrimFilterTest.php.

Member Data Documentation

◆ $fixture

TYPO3\CMS\Form\Tests\Unit\Filter\TrimFilterTest::$fixture = NULL
protected

Definition at line 27 of file TrimFilterTest.php.