‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest:

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 ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

CategoryRegistry $subject
 
array $tables
 

Detailed Description

Testcase for CategoryRegistry

Definition at line 27 of file CategoryRegistryTest.php.

Member Function Documentation

◆ addAllowsSettingOfTheSameTableFieldTwice()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::addAllowsSettingOfTheSameTableFieldTwice ( )
Test:

Definition at line 308 of file CategoryRegistryTest.php.

◆ addInitializesMissingTypes()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::addInitializesMissingTypes ( )
Test:

Definition at line 318 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ areDatabaseDefinitionsOfAllElementsAvailable()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areDatabaseDefinitionsOfAllElementsAvailable ( )
Test:

Definition at line 178 of file CategoryRegistryTest.php.

◆ areDatabaseDefinitionsOfParticularExtensionAvailable()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areDatabaseDefinitionsOfParticularExtensionAvailable ( )
Test:

Definition at line 196 of file CategoryRegistryTest.php.

◆ areDefaultCategorizedTablesLoaded()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areDefaultCategorizedTablesLoaded ( )
Test:

Definition at line 211 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ areElementsOfDifferentExtensionsOnSameTableRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areElementsOfDifferentExtensionsOnSameTableRegistered ( )
Test:

Definition at line 152 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ areElementsOfDifferentExtensionsRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areElementsOfDifferentExtensionsRegistered ( )
Test:

Definition at line 139 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ areElementsOfSameExtensionOnSameTableRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areElementsOfSameExtensionOnSameTableRegistered ( )
Test:

Definition at line 165 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ areMultipleElementsOfSameExtensionRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::areMultipleElementsOfSameExtensionRegistered ( )
Test:

Definition at line 126 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ canApplyTca()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::canApplyTca ( )
Test:

Definition at line 223 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ doesAddReturnTrueOnDefinedTable()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddReturnTrueOnDefinedTable ( )
Test:

Definition at line 65 of file CategoryRegistryTest.php.

◆ doesAddReturnTrueOnDefinedTableTheFirstTimeAndFalseTheSecondTime()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddReturnTrueOnDefinedTableTheFirstTimeAndFalseTheSecondTime ( )
Test:

Definition at line 73 of file CategoryRegistryTest.php.

◆ doesAddThrowExceptionOnEmptyExtensionKey()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddThrowExceptionOnEmptyExtensionKey ( )
Test:

Definition at line 93 of file CategoryRegistryTest.php.

◆ doesAddThrowExceptionOnEmptyTablename()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddThrowExceptionOnEmptyTablename ( )
Test:

Definition at line 82 of file CategoryRegistryTest.php.

◆ doesAddThrowExceptionOnInvalidExtensionKey()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddThrowExceptionOnInvalidExtensionKey ( )
Test:

Definition at line 115 of file CategoryRegistryTest.php.

◆ doesAddThrowExceptionOnInvalidTablename()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::doesAddThrowExceptionOnInvalidTablename ( )
Test:

Definition at line 104 of file CategoryRegistryTest.php.

◆ isRegisteredReturnsFalseIfElementIsNotRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::isRegisteredReturnsFalseIfElementIsNotRegistered ( )
Test:

Definition at line 245 of file CategoryRegistryTest.php.

◆ isRegisteredReturnsTrueIfElementIsAlreadyRegistered()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::isRegisteredReturnsTrueIfElementIsAlreadyRegistered ( )
Test:

Definition at line 236 of file CategoryRegistryTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::setUp ( )
protected

Sets up this test suite.

Definition at line 36 of file CategoryRegistryTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

◆ tabIsAddedForElement()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::tabIsAddedForElement ( )
Test:

Definition at line 255 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ tabIsAddedOnlyOncePerTable()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::tabIsAddedOnlyOncePerTable ( )
Test:

Definition at line 291 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ tabIsNotAddedForElementIfFieldListIsSpecified()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::tabIsNotAddedForElementIfFieldListIsSpecified ( )
Test:

Definition at line 268 of file CategoryRegistryTest.php.

References $GLOBALS.

◆ tabIsOnlyAddedForTypesThatAreSpecifiedInTypesList()

TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::tabIsOnlyAddedForTypesThatAreSpecifiedInTypesList ( )
Test:

Definition at line 281 of file CategoryRegistryTest.php.

References $GLOBALS.

Member Data Documentation

◆ $subject

CategoryRegistry TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::$subject
protected

Definition at line 29 of file CategoryRegistryTest.php.

◆ $tables

array TYPO3\CMS\Core\Tests\UnitDeprecated\Category\CategoryRegistryTest::$tables
protected

Definition at line 31 of file CategoryRegistryTest.php.