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

Public Member Functions

 configurePluginWorksForMinimalisticSetup ()
 
 configurePluginCreatesCorrectDefaultTypoScriptSetup ()
 
 configurePluginWorksForASingleControllerAction ()
 
 configurePluginThrowsExceptionIfExtensionNameIsEmpty ()
 
 configurePluginThrowsExceptionIfPluginNameIsEmpty ()
 
 configurePluginRespectsDefaultActionAsANonCacheableAction ()
 
 configurePluginRespectsNonDefaultActionAsANonCacheableAction ()
 
 configurePluginWorksForMultipleControllerActionsWithCacheableActionAsDefault ()
 
 configurePluginWorksForMultipleControllerActionsWithNonCacheableActionAsDefault ()
 
 registerPluginTriggersAddPluginWhichSetsPluginIconPathIfUsingUnderscoredExtensionNameAndIconPathNotGiven ()
 
 registerPluginTriggersAddPluginWhichSetsPluginIconPathIfUsingUpperCameCasedExtensionNameAndIconPathNotGiven ()
 
 registerPluginTriggersAddPluginWhichSetsPluginIconPathIfIconPathIsGiven ()
 

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

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for class

Definition at line 20 of file ExtensionUtilityTest.php.

Member Function Documentation

configurePluginCreatesCorrectDefaultTypoScriptSetup ( )
Test:
See also
::registerPlugin

Definition at line 77 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginRespectsDefaultActionAsANonCacheableAction ( )
Test:
See also
::registerPlugin

Definition at line 141 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginRespectsNonDefaultActionAsANonCacheableAction ( )
Test:
See also
::registerPlugin

Definition at line 170 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginThrowsExceptionIfExtensionNameIsEmpty ( )
Test:
See also
::registerPlugin

Definition at line 115 of file ExtensionUtilityTest.php.

References ExtensionUtility\configurePlugin().

configurePluginThrowsExceptionIfPluginNameIsEmpty ( )
Test:
See also
::registerPlugin

Definition at line 128 of file ExtensionUtilityTest.php.

References ExtensionUtility\configurePlugin().

configurePluginWorksForASingleControllerAction ( )
Test:
See also
::registerPlugin

Definition at line 89 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginWorksForMinimalisticSetup ( )
Test:
See also
::registerPlugin

Definition at line 60 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginWorksForMultipleControllerActionsWithCacheableActionAsDefault ( )
Test:
See also
::registerPlugin

Definition at line 199 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

configurePluginWorksForMultipleControllerActionsWithNonCacheableActionAsDefault ( )
Test:
See also
::registerPlugin

Definition at line 233 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\configurePlugin().

registerPluginTriggersAddPluginWhichSetsPluginIconPathIfIconPathIsGiven ( )

Tests method combination of registerPlugin() and its dependency addPlugin() to verify plugin icon path resolving works.

Test:

Definition at line 315 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\registerPlugin().

registerPluginTriggersAddPluginWhichSetsPluginIconPathIfUsingUnderscoredExtensionNameAndIconPathNotGiven ( )

Tests method combination of registerPlugin() and its dependency addPlugin() to verify plugin icon path resolving works.

Test:

Definition at line 271 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\registerPlugin().

registerPluginTriggersAddPluginWhichSetsPluginIconPathIfUsingUpperCameCasedExtensionNameAndIconPathNotGiven ( )

Tests method combination of registerPlugin() and its dependency addPlugin() to verify plugin icon path resolving works.

Test:

Definition at line 293 of file ExtensionUtilityTest.php.

References $GLOBALS, and ExtensionUtility\registerPlugin().

setUp ( )
protected

Definition at line 22 of file ExtensionUtilityTest.php.

References $GLOBALS.