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

Public Member Functions

 addModuleLabelsDataProvider ()
 
 validateLabelsString ($moduleName, $labels, array $expectedResult)
 

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

Test case

Definition at line 23 of file ModuleLoaderTest.php.

Member Function Documentation

addModuleLabelsDataProvider ( )
Returns
array

Definition at line 34 of file ModuleLoaderTest.php.

setUp ( )
protected

Definition at line 25 of file ModuleLoaderTest.php.

References $GLOBALS.

validateLabelsString (   $moduleName,
  $labels,
array  $expectedResult 
)
Test:
addModuleLabelsDataProvider
Parameters
string$moduleName
string | array$labels
array$expectedResult

Definition at line 181 of file ModuleLoaderTest.php.