‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest:
TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase TYPO3\CMS\Core\Log\LogDataTrait

Public Member Functions

 defaultValuesFromTCAForNewRecordsIsRespected ()
 
 defaultValuesFromGlobalTSconfigForNewRecordsIsRespected ()
 
 defaultValuesFromPageSpecificTSconfigForNewRecordsIsRespected ()
 
 defaultValueForNullTextfieldsIsConsidered ()
 

Protected Member Functions

 setUp ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
 tearDown ()
 
 setUpFrontendSite (int $pageId, array $additionalLanguages=[])
 
 setWorkspaceId (int $workspaceId)
 
 assertErrorLogEntries (?array $expectedMessages=null)
 
 assertCleanReferenceIndex ()
 
HasRecordConstraint getRequestSectionHasRecordConstraint ()
 
DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint ()
 
StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint ()
 
StructureDoesNotHaveRecordConstraint getRequestSectionStructureDoesNotHaveRecordConstraint ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
array null unserializeLogData ($logData)
 
string formatLogDetails (string $detailString, $substitutes)
 

Protected Attributes

const PAGE_DATAHANDLER = 88
 
 $testExtensionsToLoad
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
const VALUE_BackendUserId = 1
 
const VALUE_WorkspaceId = 0
 
int null $expectedErrorLogEntries = 0
 
 $configurationToUseInTestInstance
 
array $recordIds = array( )
 
ActionService $actionService
 
BackendUserAuthentication $backendUser
 
array $siteLanguageConfiguration
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
static formatLogDetailsStatic (string $detailString, array $substitutes)
 

Detailed Description

Tests various places to set default values properly for new records

Definition at line 27 of file DefaultValuesTest.php.

Member Function Documentation

◆ defaultValueForNullTextfieldsIsConsidered()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::defaultValueForNullTextfieldsIsConsidered ( )
Test:

Definition at line 150 of file DefaultValuesTest.php.

References $GLOBALS.

◆ defaultValuesFromGlobalTSconfigForNewRecordsIsRespected()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::defaultValuesFromGlobalTSconfigForNewRecordsIsRespected ( )

◆ defaultValuesFromPageSpecificTSconfigForNewRecordsIsRespected()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::defaultValuesFromPageSpecificTSconfigForNewRecordsIsRespected ( )

◆ defaultValuesFromTCAForNewRecordsIsRespected()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::defaultValuesFromTCAForNewRecordsIsRespected ( )
Test:

Definition at line 48 of file DefaultValuesTest.php.

References $GLOBALS.

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::setUp ( )
protected

Member Data Documentation

◆ $testExtensionsToLoad

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::$testExtensionsToLoad
protected
Initial value:
= array(
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial',
)

Definition at line 31 of file DefaultValuesTest.php.

◆ PAGE_DATAHANDLER

const TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\DefaultValuesTest::PAGE_DATAHANDLER = 88
protected

Definition at line 29 of file DefaultValuesTest.php.