‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest:

Public Member Functions

 convertFromReturnsAnErrorWhenConvertingIntegersToDateTime ()
 
 convertFromReturnsNullIfSourceIsAnEmptyString ()
 
 convertDefaultDateFormatString ()
 
 convertCustomDateFormatString ()
 
 convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString ()
 
 convertWithArraySourceWithStringDate ()
 
 convertWithArraySourceWithIntegerDate ()
 
 convertWithArraySourceWithDayMonthAndYearSet ()
 
 convertWithArraySourceWithDayMonthYearAndDateFormatSet ()
 
 convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet ()
 
 convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone ()
 
 convertWithArraySourceWithDayMonthYearAndTimeZoneSet ()
 
 convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne ()
 
 convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource ()
 
 convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid ()
 

Protected Attributes

bool $initializeDatabase = false
 

Detailed Description

Definition at line 26 of file DateTimeConverterTest.php.

Member Function Documentation

◆ convertCustomDateFormatString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertCustomDateFormatString ( )

◆ convertDefaultDateFormatString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertDefaultDateFormatString ( )
Test:

Definition at line 65 of file DateTimeConverterTest.php.

◆ convertFromReturnsAnErrorWhenConvertingIntegersToDateTime()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsAnErrorWhenConvertingIntegersToDateTime ( )
Test:

Definition at line 35 of file DateTimeConverterTest.php.

◆ convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne ( )
Test:

Definition at line 297 of file DateTimeConverterTest.php.

◆ convertFromReturnsNullIfSourceIsAnEmptyString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsNullIfSourceIsAnEmptyString ( )
Test:

Definition at line 52 of file DateTimeConverterTest.php.

◆ convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid ( )

◆ convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource ( )
Test:

Definition at line 322 of file DateTimeConverterTest.php.

◆ convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString ( )

◆ convertWithArraySourceWithDayMonthAndYearSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthAndYearSet ( )

◆ convertWithArraySourceWithDayMonthYearAndDateFormatSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndDateFormatSet ( )
Test:

Definition at line 199 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithDayMonthYearAndTimeZoneSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndTimeZoneSet ( )

◆ convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone ( )
Test:

Definition at line 245 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet ( )
Test:

Definition at line 220 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithIntegerDate()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithIntegerDate ( )

◆ convertWithArraySourceWithStringDate()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithStringDate ( )
Test:

Definition at line 127 of file DateTimeConverterTest.php.

Member Data Documentation

◆ $initializeDatabase

bool TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::$initializeDatabase = false
protected

Speed up this test case, it needs no database

Definition at line 30 of file DateTimeConverterTest.php.