‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest:

Public Member Functions

 getDataStructureIdentifierWithNoListenersReturnsDefault ()
 
 getDataStructureIdentifierWithNoOpListenerReturnsDefault ()
 
 getDataStructureIdentifierWithListenerReturnsThatListenersValue ()
 
 getDataStructureIdentifierWithModifyListenerCallsListener ()
 
 getDataStructureIdentifierThrowsExceptionIfDsIsNotAnArrayAndNoDsPointerField ()
 
 getDataStructureIdentifierReturnsDefaultIfDsIsSetButNoDsPointerField ()
 
 getDataStructureIdentifierThrowsExceptionsIfNoDsPointerFieldIsSetAndDefaultDoesNotExist ()
 
 getDataStructureIdentifierThrowsExceptionIfPointerFieldStringHasMoreThanTwoFields ()
 
 getDataStructureIdentifierThrowsExceptionIfPointerFieldWithStringSingleFieldDoesNotExist ()
 
 getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsFirstDoesNotExist ()
 
 getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsSecondDoesNotExist ()
 
 getDataStructureIdentifierReturnsPointerFieldValueIfDataStructureExists ()
 
 getDataStructureIdentifierReturnsDefaultIfPointerFieldValueDoesNotExist ()
 
 getDataStructureIdentifierThrowsExceptionIfPointerFieldValueDoesNotExistAndDefaultToo ()
 
 getDataStructureIdentifierReturnsValidNameForTwoFieldCombinations (array $row, array $ds, string $expected)
 
 getDataStructureIdentifierThrowsExceptionForTwoFieldsWithNoMatchAndNoDefault ()
 
 parseDataStructureByIdentifierThrowsExceptionWithEmptyString ()
 
 parseDataStructureByIdentifierThrowsExceptionOnInvalidJson ()
 
 parseDataStructureByIdentifierRejectsInvalidInput ()
 
 parseDataStructureByIdentifierParsesDataStructureReturnedByEvent ()
 
 parseDataStructureByIdentifierThrowsExceptionForInvalidSyntax ()
 
 parseDataStructureByIdentifierThrowsExceptionForIncompleteTcaSyntax ()
 
 parseDataStructureByIdentifierThrowsExceptionForInvalidTcaSyntaxPointer ()
 
 parseDataStructureByIdentifierResolvesTcaSyntaxPointer ()
 
 parseDataStructureByIdentifierThrowsExceptionIfDataStructureFileDoesNotExist ()
 
 parseDataStructureByIdentifierFetchesFromFile ()
 
 parseDataStructureByIdentifierThrowsExceptionForInvalidXmlStructure ()
 
 parseDataStructureByIdentifierThrowsExceptionIfStructureHasBothSheetAndRoot ()
 
 parseDataStructureByIdentifierCreatesDefaultSheet ()
 
 parseDataStructureByIdentifierResolvesExtReferenceForSingleSheets ()
 
 parseDataStructureByIdentifierResolvesExtReferenceForSingleSheetsWithFilePrefix ()
 
 parseDataStructureByIdentifierModifyEventManipulatesDataStructure ()
 
 parseDataStructureByIdentifierPreparesCategoryField ()
 
 parseDataStructureByIdentifierThrowsExceptionOnInvalidCategoryRelationship ()
 
 parseDataStructureByIdentifierThrowsEsxceptionOnInvalidMaxitemsForOneToOne ()
 
 parseDataStructureByIdentifierThrowsExceptionOnInvalidMaxitems ()
 
 cleanFlexFormXMLThrowsWithMissingTca ()
 
 cleanFlexFormXMLThrowsWithMissingDataField ()
 
 cleanFlexFormXMLReturnsEmptyStringWithInvalidDataStructure ()
 
 cleanFlexFormXMLReturnsEmptyStringWithInvalidValue ()
 
 cleanFlexFormXMLThrowsWithDataStructureWithoutSheets ()
 
 cleanFlexFormHandlesValuesOfSimpleDataStructure ()
 
 cleanFlexFormHandlesValuesOfComplexDataStructure ()
 

Static Public Member Functions

static getDataStructureIdentifierReturnsValidNameForTwoFieldCombinationsDataProvider ()
 

Detailed Description

Definition at line 35 of file FlexFormToolsTest.php.

Member Function Documentation

◆ cleanFlexFormHandlesValuesOfComplexDataStructure()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormHandlesValuesOfComplexDataStructure ( )

Definition at line 934 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormHandlesValuesOfSimpleDataStructure()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormHandlesValuesOfSimpleDataStructure ( )

Definition at line 924 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormXMLReturnsEmptyStringWithInvalidDataStructure()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormXMLReturnsEmptyStringWithInvalidDataStructure ( )

Definition at line 875 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormXMLReturnsEmptyStringWithInvalidValue()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormXMLReturnsEmptyStringWithInvalidValue ( )

Definition at line 883 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormXMLThrowsWithDataStructureWithoutSheets()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormXMLThrowsWithDataStructureWithoutSheets ( )

Definition at line 905 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormXMLThrowsWithMissingDataField()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormXMLThrowsWithMissingDataField ( )

Definition at line 866 of file FlexFormToolsTest.php.

References $GLOBALS.

◆ cleanFlexFormXMLThrowsWithMissingTca()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::cleanFlexFormXMLThrowsWithMissingTca ( )

Definition at line 858 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierReturnsDefaultIfDsIsSetButNoDsPointerField()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierReturnsDefaultIfDsIsSetButNoDsPointerField ( )

Definition at line 140 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierReturnsDefaultIfPointerFieldValueDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierReturnsDefaultIfPointerFieldValueDoesNotExist ( )

Definition at line 250 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierReturnsPointerFieldValueIfDataStructureExists()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierReturnsPointerFieldValueIfDataStructureExists ( )

Definition at line 232 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierReturnsValidNameForTwoFieldCombinations()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierReturnsValidNameForTwoFieldCombinations ( array  $row,
array  $ds,
string  $expected 
)

Definition at line 385 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierReturnsValidNameForTwoFieldCombinationsDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierReturnsValidNameForTwoFieldCombinationsDataProvider ( )
static

Data provider for getDataStructureIdentifierReturnsValidNameForTwoFieldCombinations

Definition at line 290 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionForTwoFieldsWithNoMatchAndNoDefault()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionForTwoFieldsWithNoMatchAndNoDefault ( )

Definition at line 397 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfDsIsNotAnArrayAndNoDsPointerField()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfDsIsNotAnArrayAndNoDsPointerField ( )

Definition at line 126 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfPointerFieldStringHasMoreThanTwoFields()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfPointerFieldStringHasMoreThanTwoFields ( )

Definition at line 167 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsFirstDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsFirstDoesNotExist ( )

Definition at line 198 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsSecondDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfPointerFieldSWithTwoFieldsSecondDoesNotExist ( )

Definition at line 215 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfPointerFieldValueDoesNotExistAndDefaultToo()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfPointerFieldValueDoesNotExistAndDefaultToo ( )

Definition at line 268 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionIfPointerFieldWithStringSingleFieldDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionIfPointerFieldWithStringSingleFieldDoesNotExist ( )

Definition at line 181 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierThrowsExceptionsIfNoDsPointerFieldIsSetAndDefaultDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierThrowsExceptionsIfNoDsPointerFieldIsSetAndDefaultDoesNotExist ( )

Definition at line 154 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierWithListenerReturnsThatListenersValue()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierWithListenerReturnsThatListenersValue ( )

◆ getDataStructureIdentifierWithModifyListenerCallsListener()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierWithModifyListenerCallsListener ( )

◆ getDataStructureIdentifierWithNoListenersReturnsDefault()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierWithNoListenersReturnsDefault ( )

Definition at line 38 of file FlexFormToolsTest.php.

◆ getDataStructureIdentifierWithNoOpListenerReturnsDefault()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::getDataStructureIdentifierWithNoOpListenerReturnsDefault ( )

Definition at line 53 of file FlexFormToolsTest.php.

◆ parseDataStructureByIdentifierCreatesDefaultSheet()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierCreatesDefaultSheet ( )

Definition at line 578 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierFetchesFromFile()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierFetchesFromFile ( )

Definition at line 520 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierModifyEventManipulatesDataStructure()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierModifyEventManipulatesDataStructure ( )

◆ parseDataStructureByIdentifierParsesDataStructureReturnedByEvent()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierParsesDataStructureReturnedByEvent ( )

◆ parseDataStructureByIdentifierPreparesCategoryField()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierPreparesCategoryField ( )

Definition at line 718 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierRejectsInvalidInput()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierRejectsInvalidInput ( )

Definition at line 434 of file FlexFormToolsTest.php.

◆ parseDataStructureByIdentifierResolvesExtReferenceForSingleSheets()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierResolvesExtReferenceForSingleSheets ( )

Definition at line 619 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierResolvesExtReferenceForSingleSheetsWithFilePrefix()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierResolvesExtReferenceForSingleSheetsWithFilePrefix ( )

Definition at line 653 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierResolvesTcaSyntaxPointer()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierResolvesTcaSyntaxPointer ( )

Definition at line 494 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsEsxceptionOnInvalidMaxitemsForOneToOne()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsEsxceptionOnInvalidMaxitemsForOneToOne ( )

Definition at line 807 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionForIncompleteTcaSyntax()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionForIncompleteTcaSyntax ( )

Definition at line 476 of file FlexFormToolsTest.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionForInvalidSyntax()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionForInvalidSyntax ( )

Definition at line 468 of file FlexFormToolsTest.php.

◆ parseDataStructureByIdentifierThrowsExceptionForInvalidTcaSyntaxPointer()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionForInvalidTcaSyntaxPointer ( )

Definition at line 485 of file FlexFormToolsTest.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionForInvalidXmlStructure()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionForInvalidXmlStructure ( )

Definition at line 547 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionIfDataStructureFileDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionIfDataStructureFileDoesNotExist ( )

Definition at line 509 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionIfStructureHasBothSheetAndRoot()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionIfStructureHasBothSheetAndRoot ( )

Definition at line 563 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionOnInvalidCategoryRelationship()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionOnInvalidCategoryRelationship ( )

Definition at line 782 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionOnInvalidJson()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionOnInvalidJson ( )

Definition at line 426 of file FlexFormToolsTest.php.

◆ parseDataStructureByIdentifierThrowsExceptionOnInvalidMaxitems()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionOnInvalidMaxitems ( )

Definition at line 833 of file FlexFormToolsTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

◆ parseDataStructureByIdentifierThrowsExceptionWithEmptyString()

TYPO3\CMS\Core\Tests\Functional\Configuration\FlexForm\FlexFormToolsTest::parseDataStructureByIdentifierThrowsExceptionWithEmptyString ( )

Definition at line 418 of file FlexFormToolsTest.php.