‪TYPO3CMS  ‪main
TYPO3\CMS\Impexp\Tests\Unit\ExportTest Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\Tests\Unit\ExportTest:

Public Member Functions

 setExportFileNameSanitizesFileName (string $fileName, string $expected)
 
 getOrGenerateExportFileNameWithFileExtensionConsidersPidAndLevels ()
 
 getOrGenerateExportFileNameWithFileExtensionConsidersRecords ()
 
 getOrGenerateExportFileNameWithFileExtensionConsidersLists ()
 
 setExportFileTypeSucceedsWithSupportedFileType (string $fileType)
 
 setExportFileTypeFailsWithUnsupportedFileType ()
 
 removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArray (array $relations, array $expected)
 
 exportAddFilesFromRelationsSucceeds (array $dat, array $expected)
 

Static Public Member Functions

static setExportFileNameSanitizesFileNameProvider ()
 
static setExportFileTypeSucceedsWithSupportedFileTypeProvider ()
 
static removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArrayDataProvider ()
 
static exportAddFilesFromRelationsSucceedsDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
Export &MockObject &AccessibleObjectInterface $exportMock
 

Detailed Description

Definition at line 28 of file ExportTest.php.

Member Function Documentation

◆ exportAddFilesFromRelationsSucceeds()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::exportAddFilesFromRelationsSucceeds ( array  $dat,
array  $expected 
)

Temporary test until there is a complex functional test which tests exportAddFilesFromRelations() implicitly.

Definition at line 269 of file ExportTest.php.

References TYPO3\CMS\Impexp\Tests\Unit\ExportTest\$exportMock.

◆ exportAddFilesFromRelationsSucceedsDataProvider()

static TYPO3\CMS\Impexp\Tests\Unit\ExportTest::exportAddFilesFromRelationsSucceedsDataProvider ( )
static

Definition at line 179 of file ExportTest.php.

◆ getOrGenerateExportFileNameWithFileExtensionConsidersLists()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::getOrGenerateExportFileNameWithFileExtensionConsidersLists ( )

Definition at line 79 of file ExportTest.php.

◆ getOrGenerateExportFileNameWithFileExtensionConsidersPidAndLevels()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::getOrGenerateExportFileNameWithFileExtensionConsidersPidAndLevels ( )

Definition at line 62 of file ExportTest.php.

◆ getOrGenerateExportFileNameWithFileExtensionConsidersRecords()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::getOrGenerateExportFileNameWithFileExtensionConsidersRecords ( )

Definition at line 71 of file ExportTest.php.

◆ removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArray()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArray ( array  $relations,
array  $expected 
)

Definition at line 153 of file ExportTest.php.

◆ removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArrayDataProvider()

static TYPO3\CMS\Impexp\Tests\Unit\ExportTest::removeRedundantSoftRefsInRelationsProcessesOriginalRelationsArrayDataProvider ( )
static

Definition at line 110 of file ExportTest.php.

◆ setExportFileNameSanitizesFileName()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setExportFileNameSanitizesFileName ( string  $fileName,
string  $expected 
)

Definition at line 43 of file ExportTest.php.

◆ setExportFileNameSanitizesFileNameProvider()

static TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setExportFileNameSanitizesFileNameProvider ( )
static

Definition at line 51 of file ExportTest.php.

◆ setExportFileTypeFailsWithUnsupportedFileType()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setExportFileTypeFailsWithUnsupportedFileType ( )

Definition at line 104 of file ExportTest.php.

◆ setExportFileTypeSucceedsWithSupportedFileType()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setExportFileTypeSucceedsWithSupportedFileType ( string  $fileType)

Definition at line 97 of file ExportTest.php.

◆ setExportFileTypeSucceedsWithSupportedFileTypeProvider()

static TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setExportFileTypeSucceedsWithSupportedFileTypeProvider ( )
static

◆ setUp()

TYPO3\CMS\Impexp\Tests\Unit\ExportTest::setUp ( )
protected

Definition at line 34 of file ExportTest.php.

Member Data Documentation

◆ $exportMock

Export& MockObject& AccessibleObjectInterface TYPO3\CMS\Impexp\Tests\Unit\ExportTest::$exportMock
protected

◆ $resetSingletonInstances

bool TYPO3\CMS\Impexp\Tests\Unit\ExportTest::$resetSingletonInstances = true
protected

Definition at line 30 of file ExportTest.php.