TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ArgumentsTest Class Reference
Inheritance diagram for ArgumentsTest:
UnitTestCase BaseTestCase

Public Member Functions

 argumentsObjectIsOfScopePrototype ()
 
 addingAnArgumentManuallyWorks ()
 
 addingAnArgumentReplacesArgumentWithSameName ()
 
 addNewArgumentProvidesFluentInterface ()
 
 addingArgumentThroughArrayAccessWorks ()
 
 retrievingArgumentThroughArrayAccessWorks ()
 
 getArgumentWithNonExistingArgumentNameThrowsException ()
 
 issetReturnsCorrectResult ()
 
 getArgumentNamesReturnsNamesOfAddedArguments ()
 
 getArgumentShortNamesReturnsShortNamesOfAddedArguments ()
 
 addNewArgumentCreatesAndAddsNewArgument ()
 
 addNewArgumentAssumesTextDataTypeByDefault ()
 
 addNewArgumentCanAddArgumentsMarkedAsRequired ()
 
 addNewArgumentCanAddArgumentsMarkedAsOptionalWithDefaultValues ()
 
 callingInvalidMethodThrowsException ()
 
 removeAllClearsAllArguments ()
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 20 of file ArgumentsTest.php.

Member Function Documentation

addingAnArgumentManuallyWorks ( )
Test:

Definition at line 35 of file ArgumentsTest.php.

addingAnArgumentReplacesArgumentWithSameName ( )
Test:

Definition at line 46 of file ArgumentsTest.php.

addingArgumentThroughArrayAccessWorks ( )
Test:

Definition at line 81 of file ArgumentsTest.php.

addNewArgumentAssumesTextDataTypeByDefault ( )
Test:

Definition at line 220 of file ArgumentsTest.php.

References BaseTestCase\getAccessibleMock().

addNewArgumentCanAddArgumentsMarkedAsOptionalWithDefaultValues ( )
Test:

Definition at line 255 of file ArgumentsTest.php.

References BaseTestCase\getAccessibleMock().

addNewArgumentCanAddArgumentsMarkedAsRequired ( )
Test:

Definition at line 237 of file ArgumentsTest.php.

References BaseTestCase\getAccessibleMock().

addNewArgumentCreatesAndAddsNewArgument ( )
Test:

Definition at line 200 of file ArgumentsTest.php.

References BaseTestCase\getAccessibleMock().

addNewArgumentProvidesFluentInterface ( )
Test:

Definition at line 67 of file ArgumentsTest.php.

References BaseTestCase\getAccessibleMock().

argumentsObjectIsOfScopePrototype ( )
Test:

Definition at line 25 of file ArgumentsTest.php.

callingInvalidMethodThrowsException ( )
Test:

Definition at line 274 of file ArgumentsTest.php.

getArgumentNamesReturnsNamesOfAddedArguments ( )
Test:

Definition at line 141 of file ArgumentsTest.php.

getArgumentShortNamesReturnsShortNamesOfAddedArguments ( )
Test:

Definition at line 169 of file ArgumentsTest.php.

getArgumentWithNonExistingArgumentNameThrowsException ( )
Test:

Definition at line 112 of file ArgumentsTest.php.

issetReturnsCorrectResult ( )
Test:

Definition at line 125 of file ArgumentsTest.php.

removeAllClearsAllArguments ( )
Test:

Definition at line 285 of file ArgumentsTest.php.

retrievingArgumentThroughArrayAccessWorks ( )
Test:

Definition at line 97 of file ArgumentsTest.php.