TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 constructingArgumentWithoutNameThrowsException ()
 
 constructingArgumentWithInvalidNameThrowsException ()
 
 passingDataTypeToConstructorReallySetsTheDataType ()
 
 setShortNameProvidesFluentInterface ()
 
 setValueProvidesFluentInterface ()
 
 setValueUsesNullAsIs ()
 
 setValueUsesMatchingInstanceAsIs ()
 
 setValueTriesToConvertAnUidIntoTheRealObjectIfTheDataTypeClassSchemaIsSet ()
 
 toStringReturnsTheStringVersionOfTheArgumentsValue ()
 
 setNewValidatorConjunctionCreatesANewValidatorConjunctionObject ()
 
 setNewValidatorConjunctionAddsThePassedValidatorsToTheCreatedValidatorChain ()
 
 settingDefaultValueReallySetsDefaultValue ()
 

Protected Member Functions

 enableDeprecatedPropertyMapperInArgument (\TYPO3\CMS\Extbase\Mvc\Controller\Argument $argument)
 
- 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='')
 

Additional Inherited Members

- 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! This test checks the Argument behavior before Extbase 1.4, i.e. with the old property mapper.

Deprecated:
since Extbase 1.4.0, will be removed two versions after Extbase 6.1

Definition at line 22 of file ArgumentBehaviorBeforeExtbase14Test.php.

Member Function Documentation

◆ constructingArgumentWithInvalidNameThrowsException()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::constructingArgumentWithInvalidNameThrowsException ( )
Test:

Definition at line 36 of file ArgumentBehaviorBeforeExtbase14Test.php.

◆ constructingArgumentWithoutNameThrowsException()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::constructingArgumentWithoutNameThrowsException ( )
Test:

Definition at line 28 of file ArgumentBehaviorBeforeExtbase14Test.php.

◆ enableDeprecatedPropertyMapperInArgument()

◆ passingDataTypeToConstructorReallySetsTheDataType()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::passingDataTypeToConstructorReallySetsTheDataType ( )
Test:

Definition at line 43 of file ArgumentBehaviorBeforeExtbase14Test.php.

◆ setNewValidatorConjunctionAddsThePassedValidatorsToTheCreatedValidatorChain()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setNewValidatorConjunctionAddsThePassedValidatorsToTheCreatedValidatorChain ( )

◆ setNewValidatorConjunctionCreatesANewValidatorConjunctionObject()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setNewValidatorConjunctionCreatesANewValidatorConjunctionObject ( )

◆ setShortNameProvidesFluentInterface()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setShortNameProvidesFluentInterface ( )
Test:

Definition at line 51 of file ArgumentBehaviorBeforeExtbase14Test.php.

◆ settingDefaultValueReallySetsDefaultValue()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::settingDefaultValueReallySetsDefaultValue ( )
Test:

Definition at line 161 of file ArgumentBehaviorBeforeExtbase14Test.php.

◆ setValueProvidesFluentInterface()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setValueProvidesFluentInterface ( )

◆ setValueTriesToConvertAnUidIntoTheRealObjectIfTheDataTypeClassSchemaIsSet()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setValueTriesToConvertAnUidIntoTheRealObjectIfTheDataTypeClassSchemaIsSet ( )

◆ setValueUsesMatchingInstanceAsIs()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setValueUsesMatchingInstanceAsIs ( )

◆ setValueUsesNullAsIs()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::setValueUsesNullAsIs ( )

◆ toStringReturnsTheStringVersionOfTheArgumentsValue()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentBehaviorBeforeExtbase14Test::toStringReturnsTheStringVersionOfTheArgumentsValue ( )