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

Public Member Functions

 executeCallsLogExceptionOnCaughtExceptionAndRethrowsException ()
 
 executeReturnsTrueIfNoExceptionIsCaught ()
 
 setCommandIdentifierSetsCommandIdentifierCorrectly ()
 
 getCommandIdentifierReturnsCorrectCommandIdentifier ()
 
 setArgumentsSetsArgumentsCorrectly ()
 
 getArgumentsReturnsCorrectArguments ()
 
 setDefaultsSetsDefaultsCorrectly ()
 
 getDefaultsReturnsCorrectDefaults ()
 
 addDefaultValueAddsDefaultToDefaults ()
 
 addDefaultValueConvertsBooleanValuesToInteger ()
 
 getAdditionalInformationRespectsArguments ()
 

Protected Member Functions

 setUp ()
 
- 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

 $task
 
 $taskExecutor
 
- 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 TaskTest.php.

Member Function Documentation

addDefaultValueAddsDefaultToDefaults ( )
Test:

Definition at line 120 of file TaskTest.php.

addDefaultValueConvertsBooleanValuesToInteger ( )
Test:

Definition at line 134 of file TaskTest.php.

executeCallsLogExceptionOnCaughtExceptionAndRethrowsException ( )
Test:

Definition at line 44 of file TaskTest.php.

executeReturnsTrueIfNoExceptionIsCaught ( )
Test:

Definition at line 57 of file TaskTest.php.

getAdditionalInformationRespectsArguments ( )
Test:

Definition at line 148 of file TaskTest.php.

getArgumentsReturnsCorrectArguments ( )
Test:

Definition at line 93 of file TaskTest.php.

getCommandIdentifierReturnsCorrectCommandIdentifier ( )
Test:

Definition at line 75 of file TaskTest.php.

getDefaultsReturnsCorrectDefaults ( )
Test:

Definition at line 111 of file TaskTest.php.

setArgumentsSetsArgumentsCorrectly ( )
Test:

Definition at line 84 of file TaskTest.php.

setCommandIdentifierSetsCommandIdentifierCorrectly ( )
Test:

Definition at line 66 of file TaskTest.php.

setDefaultsSetsDefaultsCorrectly ( )
Test:

Definition at line 102 of file TaskTest.php.

setUp ( )
protected

Definition at line 32 of file TaskTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$task
protected

Definition at line 25 of file TaskTest.php.

$taskExecutor
protected

Definition at line 30 of file TaskTest.php.