TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 tearDown ()
 
 getForInexistentClassThrowsException ()
 
 getForClassThatIsNoFormProtectionSubclassThrowsException ()
 
 getForTypeBackEndWithExistingBackEndReturnsBackEndFormProtection ()
 
 getForTypeBackEndCalledTwoTimesReturnsTheSameInstance ()
 
 getForTypeInstallToolReturnsInstallToolFormProtection ()
 
 getForTypeInstallToolCalledTwoTimesReturnsTheSameInstance ()
 
 getForTypesInstallToolAndBackEndReturnsDifferentInstances ()
 
 setSetsInstanceForType ()
 
 setNotSetsInstanceForOtherType ()
 

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='')
 
- 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
 

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! Testcase

Author
Oliver Klee typo3.nosp@m.-cod.nosp@m.ing@o.nosp@m.live.nosp@m.rklee.nosp@m..de
Ernesto Baschny ernst.nosp@m.@cro.nosp@m.n-it..nosp@m.de

Definition at line 23 of file FormProtectionFactoryTest.php.

Member Function Documentation

◆ getForClassThatIsNoFormProtectionSubclassThrowsException()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForClassThatIsNoFormProtectionSubclassThrowsException ( )

◆ getForInexistentClassThrowsException()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForInexistentClassThrowsException ( )

◆ getForTypeBackEndCalledTwoTimesReturnsTheSameInstance()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForTypeBackEndCalledTwoTimesReturnsTheSameInstance ( )

◆ getForTypeBackEndWithExistingBackEndReturnsBackEndFormProtection()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForTypeBackEndWithExistingBackEndReturnsBackEndFormProtection ( )

◆ getForTypeInstallToolCalledTwoTimesReturnsTheSameInstance()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForTypeInstallToolCalledTwoTimesReturnsTheSameInstance ( )
Test:

Definition at line 81 of file FormProtectionFactoryTest.php.

◆ getForTypeInstallToolReturnsInstallToolFormProtection()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForTypeInstallToolReturnsInstallToolFormProtection ( )
Test:

Definition at line 74 of file FormProtectionFactoryTest.php.

◆ getForTypesInstallToolAndBackEndReturnsDifferentInstances()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::getForTypesInstallToolAndBackEndReturnsDifferentInstances ( )

◆ setNotSetsInstanceForOtherType()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::setNotSetsInstanceForOtherType ( )

◆ setSetsInstanceForType()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::setSetsInstanceForType ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::setUp ( )

Definition at line 25 of file FormProtectionFactoryTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\FormProtection\FormProtectionFactoryTest::tearDown ( )