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

Public Member Functions

 constructResolvesExtensionnameFromOldStyle ()
 
 constructResolvesExtensionnameFromNamespaced ()
 
 addFlashMessageDataProvider ()
 
 addFlashMessageAddsFlashMessageObjectToFlashMessageQueue ($expectedMessage, $messageBody, $messageTitle= '', $severity=\TYPO3\CMS\Core\Messaging\FlashMessage::OK, $storeInSession=true)
 
 addFlashMessageThrowsExceptionOnInvalidMessageBody ()
 

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 AbstractControllerTest.php.

Member Function Documentation

addFlashMessageAddsFlashMessageObjectToFlashMessageQueue (   $expectedMessage,
  $messageBody,
  $messageTitle = '',
  $severity = \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
  $storeInSession = true 
)
Test:
addFlashMessageDataProvider

Definition at line 105 of file AbstractControllerTest.php.

References BaseTestCase\getUniqueId(), and BaseTestCase\inject().

addFlashMessageDataProvider ( )
addFlashMessageThrowsExceptionOnInvalidMessageBody ( )
Test:

Definition at line 135 of file AbstractControllerTest.php.

constructResolvesExtensionnameFromNamespaced ( )
Test:

Definition at line 38 of file AbstractControllerTest.php.

References BaseTestCase\getUniqueId().

constructResolvesExtensionnameFromOldStyle ( )
Test:

Definition at line 25 of file AbstractControllerTest.php.

References BaseTestCase\getUniqueId().