‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest:

Public Member Functions

 fixtureCanBeCreated ()
 
 adminIsAllowedToModifyNonAdminTable ()
 
 nonAdminIsNorAllowedToModifyNonAdminTable ()
 
 nonAdminWithTableModifyAccessIsAllowedToModifyNonAdminTable ()
 
 adminIsAllowedToModifyAdminTable ()
 
 nonAdminIsNotAllowedToModifyAdminTable ()
 
 nonAdminWithTableModifyAccessIsNotAllowedToModifyAdminTable ()
 
 checkValueForDatetime ($input, $serverTimezone, $expectedOutput)
 
 checkValueForColor (string $input, mixed $expected, array $additionalFieldConfig=[])
 
 checkValuePasswordWithSaltedPasswordKeepsExistingHash ()
 
 checkValuePasswordWithSaltedPasswordReturnsHashForSaltedPassword ()
 
 numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectly (string $value, int $expectedReturnValue)
 
 numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectly (string $value, string $expectedReturnValue)
 
 inputValueCheckRespectsRightLowerAndUpperLimitForDouble (string $value, string|int $expectedReturnValue)
 
 inputValueCheckRespectsRightLowerAndUpperLimitWithDefaultValueForDouble (string $value, string|int $expectedReturnValue)
 
 valueCheckRecognizesDatetimeValuesAsIntegerValuesCorrectly (string $value, int $expected)
 
 inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmpty (string|int $inputValue, int $expected,)
 
 datetimeValueCheckDbtypeIsIndependentFromTimezone (string $value, string $dbtype, string $expectedOutput)
 
 inputValueCheckNativeDbType (string|null $value, string $dbType, string $format, bool $nullable, $expectedOutput)
 
 doesCheckModifyAccessListThrowExceptionOnWrongHookInterface ()
 
 doesCheckModifyAccessListHookGetsCalled ()
 
 doesCheckModifyAccessListHookModifyAccessAllowed ()
 
 processDatamapForFrozenNonZeroWorkspaceReturnsFalse ()
 
 checkValue_flex_procInData_travDS (array $dataValues, array $DSelements, array $expected)
 
 logCallsWriteLogOfBackendUserIfLoggingIsEnabled ()
 
 logDoesNotCallWriteLogOfBackendUserIfLoggingIsDisabled ()
 
 logAddsEntryToLocalErrorLogArray ()
 
 logFormatsDetailMessageWithAdditionalDataInLocalErrorArray ()
 
 logFormatsDetailMessageWithPlaceholders ()
 
 equalSubmittedAndStoredValuesAreDetermined (bool $expected, string|int|null $submittedValue, string|int|null $storedValue, string $storedType, bool $allowNull)
 
 deletePagesOnRootLevelIsDenied ()
 
 deleteRecord_procBasedOnFieldTypeRespectsEnableCascadingDelete ()
 
 checkValue_checkReturnsExpectedValues (string|int $value, string|int $expectedValue)
 
 checkValueForInputConvertsNullToEmptyString ()
 
 checkValueForJson (string|array $input, array $expected)
 
 checkValueForUuidReturnsValidUuidUnmodified ()
 
 checkValueForUuidCreatesValidUuidValueForReqiredFieldsWithInvalidUuidGiven ()
 
 checkValueForUuidDiscardsInvalidUuidIfFieldIsNotRequired ()
 
 checkValueForUuidCreatesValidUuidValueWithDefinedVersion ()
 
 referenceValuesAreCasted (string $value, array $configuration, bool $isNew, int|string $expected)
 
 clearPrefixFromValueRemovesPrefix (string $input, string $expected)
 
 applyFiltersToValuesFiltersValues (array $tcaFieldConfiguration, array $values, array $expected)
 
 applyFiltersToValuesExpectsArray ()
 
 validateValueForRequiredReturnsExpectedValue (array $tcaFieldConfig, $input, bool $expectation)
 

Static Public Member Functions

static checkValueForDatetimeDataProvider ()
 
static checkValueForColorDataProvider ()
 
static numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectlyDataProvider ()
 
static numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectlyDataProvider ()
 
static inputValuesRangeDoubleDataProvider ()
 
static datetimeValuesDataProvider ()
 
static inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmptyDataProvider ()
 
static datetimeValueCheckDbtypeIsIndependentFromTimezoneDataProvider ()
 
static inputValueCheckNativeDbTypeDataProvider ()
 
static checkValue_flex_procInData_travDSDataProvider ()
 
static equalSubmittedAndStoredValuesAreDeterminedDataProvider ()
 
static checkValue_checkReturnsExpectedValuesDataProvider ()
 
static checkValueForJsonDataProvider ()
 
static referenceValuesAreCastedDataProvider ()
 
static clearPrefixFromValueRemovesPrefixDataProvider ()
 
static applyFiltersToValuesFiltersValuesDataProvider ()
 
static validateValueForRequiredReturnsExpectedValueDataHandler ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
DataHandler &MockObject &AccessibleObjectInterface $subject
 
BackendUserAuthentication &MockObject $backendUserMock
 

Detailed Description

Definition at line 41 of file DataHandlerTest.php.

Member Function Documentation

◆ adminIsAllowedToModifyAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::adminIsAllowedToModifyAdminTable ( )
Test:

Definition at line 101 of file DataHandlerTest.php.

◆ adminIsAllowedToModifyNonAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::adminIsAllowedToModifyNonAdminTable ( )
Test:

Definition at line 73 of file DataHandlerTest.php.

◆ applyFiltersToValuesExpectsArray()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::applyFiltersToValuesExpectsArray ( )
Test:

Definition at line 1353 of file DataHandlerTest.php.

◆ applyFiltersToValuesFiltersValues()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::applyFiltersToValuesFiltersValues ( array  $tcaFieldConfiguration,
array  $values,
array  $expected 
)

@dataProvider applyFiltersToValuesFiltersValuesDataProvider

Test:

Definition at line 1345 of file DataHandlerTest.php.

◆ applyFiltersToValuesFiltersValuesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::applyFiltersToValuesFiltersValuesDataProvider ( )
static

Definition at line 1305 of file DataHandlerTest.php.

◆ checkValue_checkReturnsExpectedValues()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValue_checkReturnsExpectedValues ( string|int  $value,
string|int  $expectedValue 
)

@dataProvider checkValue_checkReturnsExpectedValuesDataProvider

Test:

Definition at line 1131 of file DataHandlerTest.php.

◆ checkValue_checkReturnsExpectedValuesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValue_checkReturnsExpectedValuesDataProvider ( )
static

Definition at line 1097 of file DataHandlerTest.php.

◆ checkValue_flex_procInData_travDS()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValue_flex_procInData_travDS ( array  $dataValues,
array  $DSelements,
array  $expected 
)

This test ensures, that the eval method checkValue_SW is called on flexform structures.

Test:
‪@dataProvider checkValue_flex_procInData_travDSDataProvider

Definition at line 772 of file DataHandlerTest.php.

References $GLOBALS.

◆ checkValue_flex_procInData_travDSDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValue_flex_procInData_travDSDataProvider ( )
static

Definition at line 687 of file DataHandlerTest.php.

◆ checkValueForColor()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForColor ( string  $input,
mixed  $expected,
array  $additionalFieldConfig = [] 
)
Test:
‪@dataProvider checkValueForColorDataProvider

Definition at line 184 of file DataHandlerTest.php.

References $output.

◆ checkValueForColorDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForColorDataProvider ( )
static

Definition at line 164 of file DataHandlerTest.php.

◆ checkValueForDatetime()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForDatetime (   $input,
  $serverTimezone,
  $expectedOutput 
)
Test:
‪@dataProvider checkValueForDatetimeDataProvider

Definition at line 151 of file DataHandlerTest.php.

References $output.

◆ checkValueForDatetimeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForDatetimeDataProvider ( )
static

Definition at line 134 of file DataHandlerTest.php.

◆ checkValueForInputConvertsNullToEmptyString()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForInputConvertsNullToEmptyString ( )
Test:

Definition at line 1150 of file DataHandlerTest.php.

◆ checkValueForJson()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForJson ( string|array  $input,
array  $expected 
)
Test:
‪@dataProvider checkValueForJsonDataProvider

Definition at line 1180 of file DataHandlerTest.php.

◆ checkValueForJsonDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForJsonDataProvider ( )
static

Definition at line 1156 of file DataHandlerTest.php.

◆ checkValueForUuidCreatesValidUuidValueForReqiredFieldsWithInvalidUuidGiven()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForUuidCreatesValidUuidValueForReqiredFieldsWithInvalidUuidGiven ( )
Test:

Definition at line 1206 of file DataHandlerTest.php.

◆ checkValueForUuidCreatesValidUuidValueWithDefinedVersion()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForUuidCreatesValidUuidValueWithDefinedVersion ( )
Test:

Definition at line 1224 of file DataHandlerTest.php.

◆ checkValueForUuidDiscardsInvalidUuidIfFieldIsNotRequired()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForUuidDiscardsInvalidUuidIfFieldIsNotRequired ( )
Test:

Definition at line 1215 of file DataHandlerTest.php.

◆ checkValueForUuidReturnsValidUuidUnmodified()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValueForUuidReturnsValidUuidUnmodified ( )
Test:

Definition at line 1195 of file DataHandlerTest.php.

◆ checkValuePasswordWithSaltedPasswordKeepsExistingHash()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValuePasswordWithSaltedPasswordKeepsExistingHash ( )
Test:

Definition at line 198 of file DataHandlerTest.php.

◆ checkValuePasswordWithSaltedPasswordReturnsHashForSaltedPassword()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::checkValuePasswordWithSaltedPasswordReturnsHashForSaltedPassword ( )
Test:

Definition at line 209 of file DataHandlerTest.php.

◆ clearPrefixFromValueRemovesPrefix()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::clearPrefixFromValueRemovesPrefix ( string  $input,
string  $expected 
)
Test:
‪@dataProvider clearPrefixFromValueRemovesPrefixDataProvider

Definition at line 1296 of file DataHandlerTest.php.

References $GLOBALS.

◆ clearPrefixFromValueRemovesPrefixDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::clearPrefixFromValueRemovesPrefixDataProvider ( )
static

Definition at line 1277 of file DataHandlerTest.php.

◆ datetimeValueCheckDbtypeIsIndependentFromTimezone()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::datetimeValueCheckDbtypeIsIndependentFromTimezone ( string  $value,
string  $dbtype,
string  $expectedOutput 
)

Tests whether native dbtype inputs are parsed independent of the server timezone.

Test:
‪@dataProvider datetimeValueCheckDbtypeIsIndependentFromTimezoneDataProvider

Definition at line 521 of file DataHandlerTest.php.

◆ datetimeValueCheckDbtypeIsIndependentFromTimezoneDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::datetimeValueCheckDbtypeIsIndependentFromTimezoneDataProvider ( )
static

Definition at line 478 of file DataHandlerTest.php.

◆ datetimeValuesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::datetimeValuesDataProvider ( )
static

Definition at line 391 of file DataHandlerTest.php.

◆ deletePagesOnRootLevelIsDenied()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::deletePagesOnRootLevelIsDenied ( )
Test:

Definition at line 1055 of file DataHandlerTest.php.

◆ deleteRecord_procBasedOnFieldTypeRespectsEnableCascadingDelete()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::deleteRecord_procBasedOnFieldTypeRespectsEnableCascadingDelete ( )

◆ doesCheckModifyAccessListHookGetsCalled()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::doesCheckModifyAccessListHookGetsCalled ( )

Tests whether the 'checkModifyAccessList' hook is called correctly.

Test:

Definition at line 646 of file DataHandlerTest.php.

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

◆ doesCheckModifyAccessListHookModifyAccessAllowed()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::doesCheckModifyAccessListHookModifyAccessAllowed ( )

Tests whether the 'checkModifyAccessList' hook modifies the $accessAllowed variable.

Test:

Definition at line 664 of file DataHandlerTest.php.

References $GLOBALS.

◆ doesCheckModifyAccessListThrowExceptionOnWrongHookInterface()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::doesCheckModifyAccessListThrowExceptionOnWrongHookInterface ( )

Tests whether a wrong interface on the 'checkModifyAccessList' hook throws an exception.

Test:

Definition at line 632 of file DataHandlerTest.php.

References $GLOBALS.

◆ equalSubmittedAndStoredValuesAreDetermined()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::equalSubmittedAndStoredValuesAreDetermined ( bool  $expected,
string|int|null  $submittedValue,
string|int|null  $storedValue,
string  $storedType,
bool  $allowNull 
)

@dataProvider equalSubmittedAndStoredValuesAreDeterminedDataProvider

Test:

Definition at line 866 of file DataHandlerTest.php.

References TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest\$subject.

◆ equalSubmittedAndStoredValuesAreDeterminedDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::equalSubmittedAndStoredValuesAreDeterminedDataProvider ( )
static

Definition at line 874 of file DataHandlerTest.php.

◆ fixtureCanBeCreated()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::fixtureCanBeCreated ( )
Test:

Definition at line 62 of file DataHandlerTest.php.

◆ inputValueCheckNativeDbType()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueCheckNativeDbType ( string|null  $value,
string  $dbType,
string  $format,
bool  $nullable,
  $expectedOutput 
)
Parameters
string | null$value
string$dbType
string$format
bool$nullable
mixed | null$expectedOutput‪@dataProvider inputValueCheckNativeDbTypeDataProvider
Test:

Definition at line 610 of file DataHandlerTest.php.

◆ inputValueCheckNativeDbTypeDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueCheckNativeDbTypeDataProvider ( )
static

Definition at line 539 of file DataHandlerTest.php.

◆ inputValueCheckRespectsRightLowerAndUpperLimitForDouble()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueCheckRespectsRightLowerAndUpperLimitForDouble ( string  $value,
string|int  $expectedReturnValue 
)
Test:
‪@dataProvider inputValuesRangeDoubleDataProvider

Definition at line 358 of file DataHandlerTest.php.

◆ inputValueCheckRespectsRightLowerAndUpperLimitWithDefaultValueForDouble()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueCheckRespectsRightLowerAndUpperLimitWithDefaultValueForDouble ( string  $value,
string|int  $expectedReturnValue 
)
Test:
‪@dataProvider inputValuesRangeDoubleDataProvider

Definition at line 376 of file DataHandlerTest.php.

◆ inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmpty()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmpty ( string|int  $inputValue,
int  $expected 
)

@dataProvider inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmptyDataProvider

Test:

Definition at line 462 of file DataHandlerTest.php.

◆ inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmptyDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValueRangeCheckIsIgnoredWhenDefaultIsZeroAndInputValueIsEmptyDataProvider ( )
static

Definition at line 440 of file DataHandlerTest.php.

◆ inputValuesRangeDoubleDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::inputValuesRangeDoubleDataProvider ( )
static

Data provider for inputValuesRangeDoubleDataProvider

Definition at line 324 of file DataHandlerTest.php.

◆ logAddsEntryToLocalErrorLogArray()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::logAddsEntryToLocalErrorLogArray ( )

◆ logCallsWriteLogOfBackendUserIfLoggingIsEnabled()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::logCallsWriteLogOfBackendUserIfLoggingIsEnabled ( )

◆ logDoesNotCallWriteLogOfBackendUserIfLoggingIsDisabled()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::logDoesNotCallWriteLogOfBackendUserIfLoggingIsDisabled ( )

◆ logFormatsDetailMessageWithAdditionalDataInLocalErrorArray()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::logFormatsDetailMessageWithAdditionalDataInLocalErrorArray ( )

◆ logFormatsDetailMessageWithPlaceholders()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::logFormatsDetailMessageWithPlaceholders ( )

◆ nonAdminIsNorAllowedToModifyNonAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::nonAdminIsNorAllowedToModifyNonAdminTable ( )
Test:

Definition at line 82 of file DataHandlerTest.php.

◆ nonAdminIsNotAllowedToModifyAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::nonAdminIsNotAllowedToModifyAdminTable ( )
Test:

Definition at line 110 of file DataHandlerTest.php.

◆ nonAdminWithTableModifyAccessIsAllowedToModifyNonAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::nonAdminWithTableModifyAccessIsAllowedToModifyNonAdminTable ( )
Test:

Definition at line 91 of file DataHandlerTest.php.

◆ nonAdminWithTableModifyAccessIsNotAllowedToModifyAdminTable()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::nonAdminWithTableModifyAccessIsNotAllowedToModifyAdminTable ( )

◆ numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectly()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectly ( string  $value,
string  $expectedReturnValue 
)
Test:
‪@dataProvider numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectlyDataProvider

Definition at line 311 of file DataHandlerTest.php.

◆ numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectlyDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::numberValueCheckRecognizesDecimalStringValuesAsFloatValuesCorrectlyDataProvider ( )
static

Definition at line 269 of file DataHandlerTest.php.

◆ numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectly()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectly ( string  $value,
int  $expectedReturnValue 
)
Test:
‪@dataProvider numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectlyDataProvider

Definition at line 256 of file DataHandlerTest.php.

◆ numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectlyDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::numberValueCheckRecognizesStringValuesAsIntegerValuesCorrectlyDataProvider ( )
static

Definition at line 222 of file DataHandlerTest.php.

◆ processDatamapForFrozenNonZeroWorkspaceReturnsFalse()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::processDatamapForFrozenNonZeroWorkspaceReturnsFalse ( )

◆ referenceValuesAreCasted()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::referenceValuesAreCasted ( string  $value,
array  $configuration,
bool  $isNew,
int|string  $expected 
)
Test:
‪@dataProvider referenceValuesAreCastedDataProvider

Definition at line 1239 of file DataHandlerTest.php.

◆ referenceValuesAreCastedDataProvider()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::referenceValuesAreCastedDataProvider ( )
static

Definition at line 1247 of file DataHandlerTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::setUp ( )
protected

Definition at line 47 of file DataHandlerTest.php.

References $GLOBALS.

◆ validateValueForRequiredReturnsExpectedValue()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::validateValueForRequiredReturnsExpectedValue ( array  $tcaFieldConfig,
  $input,
bool  $expectation 
)

@dataProvider validateValueForRequiredReturnsExpectedValueDataHandler

Test:

Definition at line 1416 of file DataHandlerTest.php.

◆ validateValueForRequiredReturnsExpectedValueDataHandler()

static TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::validateValueForRequiredReturnsExpectedValueDataHandler ( )
static

Definition at line 1373 of file DataHandlerTest.php.

◆ valueCheckRecognizesDatetimeValuesAsIntegerValuesCorrectly()

TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::valueCheckRecognizesDatetimeValuesAsIntegerValuesCorrectly ( string  $value,
int  $expected 
)
Test:
‪@dataProvider datetimeValuesDataProvider

Definition at line 417 of file DataHandlerTest.php.

Member Data Documentation

◆ $backendUserMock

BackendUserAuthentication& MockObject TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::$backendUserMock
protected

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::$resetSingletonInstances = true
protected

Definition at line 43 of file DataHandlerTest.php.

◆ $subject

DataHandler& MockObject& AccessibleObjectInterface TYPO3\CMS\Core\Tests\Unit\DataHandling\DataHandlerTest::$subject
protected