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

Public Member Functions

 getCategoryIndexFromStringOrNumberReturnsIndexDataProvider ()
 
 getCategoryIndexFromStringOrNumberReturnsIndex ($input, $expected)
 

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

Extension test

Definition at line 20 of file extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php.

Member Function Documentation

getCategoryIndexFromStringOrNumberReturnsIndex (   $input,
  $expected 
)
Test:
getCategoryIndexFromStringOrNumberReturnsIndexDataProvider
Parameters
string | int$inputGiven input
int$expectedExpected result
Returns
void

Definition at line 84 of file extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php.

getCategoryIndexFromStringOrNumberReturnsIndexDataProvider ( )

Data provider for getCategoryIndexFromStringOrNumberReturnsIndex

Returns
array

Definition at line 27 of file extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php.