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

Public Member Functions

 doesAddReturnTrueOnDefinedTable ()
 
 doesAddReturnTrueOnDefinedTableTheFirstTimeAndFalseTheSecondTime ()
 
 doesAddThrowExceptionOnEmptyTablename ()
 
 doesAddThrowExceptionOnEmptyExtensionKey ()
 
 doesAddThrowExceptionOnInvalidTablename ()
 
 doesAddThrowExceptionOnInvalidExtensionKey ()
 
 areMultipleElementsOfSameExtensionRegistered ()
 
 areElementsOfDifferentExtensionsRegistered ()
 
 areElementsOfDifferentExtensionsOnSameTableRegistered ()
 
 areElementsOfSameExtensionOnSameTableRegistered ()
 
 areDatabaseDefinitionsOfAllElementsAvailable ()
 
 areDatabaseDefinitionsOfParticularExtensionAvailable ()
 
 areDefaultCategorizedTablesLoaded ()
 
 canApplyTca ()
 
 isRegisteredReturnsTrueIfElementIsAlreadyRegistered ()
 
 isRegisteredReturnsFalseIfElementIsNotRegistered ()
 
 tabIsAddedForElement ()
 
 tabIsNotAddedForElementIfFieldListIsSpecified ()
 
 tabIsOnlyAddedForTypesThatAreSpecifiedInTypesList ()
 
 tabIsAddedOnlyOncePerTable ()
 
 addAllowsSettingOfTheSameTableFieldTwice ()
 
 addInitializesMissingTypes ()
 
 addAddsOnlyOneSqlString ()
 

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

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

Detailed Description

Testcase for CategoryRegistry

Definition at line 20 of file CategoryRegistryTest.php.

Member Function Documentation

addAddsOnlyOneSqlString ( )
Test:

Definition at line 328 of file CategoryRegistryTest.php.

addAllowsSettingOfTheSameTableFieldTwice ( )
Test:

Definition at line 305 of file CategoryRegistryTest.php.

addInitializesMissingTypes ( )
Test:

Definition at line 315 of file CategoryRegistryTest.php.

References $GLOBALS.

areDatabaseDefinitionsOfAllElementsAvailable ( )
Test:

Definition at line 176 of file CategoryRegistryTest.php.

areDatabaseDefinitionsOfParticularExtensionAvailable ( )
Test:

Definition at line 194 of file CategoryRegistryTest.php.

areDefaultCategorizedTablesLoaded ( )
Test:

Definition at line 209 of file CategoryRegistryTest.php.

References $GLOBALS.

areElementsOfDifferentExtensionsOnSameTableRegistered ( )
Test:

Definition at line 150 of file CategoryRegistryTest.php.

References $GLOBALS.

areElementsOfDifferentExtensionsRegistered ( )
Test:

Definition at line 137 of file CategoryRegistryTest.php.

References $GLOBALS.

areElementsOfSameExtensionOnSameTableRegistered ( )
Test:

Definition at line 163 of file CategoryRegistryTest.php.

References $GLOBALS.

areMultipleElementsOfSameExtensionRegistered ( )
Test:

Definition at line 124 of file CategoryRegistryTest.php.

References $GLOBALS.

canApplyTca ( )
Test:

Definition at line 221 of file CategoryRegistryTest.php.

References $GLOBALS.

doesAddReturnTrueOnDefinedTable ( )
Test:

Definition at line 63 of file CategoryRegistryTest.php.

doesAddReturnTrueOnDefinedTableTheFirstTimeAndFalseTheSecondTime ( )
Test:

Definition at line 71 of file CategoryRegistryTest.php.

doesAddThrowExceptionOnEmptyExtensionKey ( )
Test:

Definition at line 91 of file CategoryRegistryTest.php.

doesAddThrowExceptionOnEmptyTablename ( )
Test:

Definition at line 80 of file CategoryRegistryTest.php.

doesAddThrowExceptionOnInvalidExtensionKey ( )
Test:

Definition at line 113 of file CategoryRegistryTest.php.

doesAddThrowExceptionOnInvalidTablename ( )
Test:

Definition at line 102 of file CategoryRegistryTest.php.

isRegisteredReturnsFalseIfElementIsNotRegistered ( )
Test:

Definition at line 243 of file CategoryRegistryTest.php.

isRegisteredReturnsTrueIfElementIsAlreadyRegistered ( )
Test:

Definition at line 234 of file CategoryRegistryTest.php.

setUp ( )
protected

Sets up this test suite.

Definition at line 35 of file CategoryRegistryTest.php.

References $GLOBALS, and BaseTestCase\getUniqueId().

tabIsAddedForElement ( )
Test:

Definition at line 253 of file CategoryRegistryTest.php.

References $GLOBALS.

tabIsAddedOnlyOncePerTable ( )
Test:

Definition at line 289 of file CategoryRegistryTest.php.

References $GLOBALS.

tabIsNotAddedForElementIfFieldListIsSpecified ( )
Test:

Definition at line 266 of file CategoryRegistryTest.php.

References $GLOBALS.

tabIsOnlyAddedForTypesThatAreSpecifiedInTypesList ( )
Test:

Definition at line 279 of file CategoryRegistryTest.php.

References $GLOBALS.

Member Data Documentation

$subject
protected

Definition at line 25 of file CategoryRegistryTest.php.

$tables
protected

Definition at line 30 of file CategoryRegistryTest.php.