‪TYPO3CMS  11.5
TYPO3\CMS\Impexp\Tests\Functional\ExportTest Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\Tests\Functional\ExportTest:
TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase

Public Member Functions

 creationAndDeletionOfTemporaryFolderSucceeds ()
 
 creationAndDeletionOfDefaultImportExportFolderSucceeds ()
 
 renderPreviewWithoutArgumentsReturnsBasicArray ()
 
 renderPreviewForExportOfPageAndRecords ()
 
 renderPreviewForExportOfPageAndRecordsWithSoftRefs ()
 
 renderPreviewForExportOfTable ()
 
 renderPreviewForExportOfRecords ()
 
 addFilesSucceedsDataProvider ()
 
 addFilesSucceeds (array $dat, array $relations, array $expected)
 
 renderSucceedsWithoutArguments ()
 
 saveXmlToFileIsDefaultAndSucceeds ()
 
 saveT3dToFileSucceeds ()
 
 saveT3dCompressedToFileSucceeds ()
 
 saveToFileCleansUpTemporaryFolder ()
 
 saveToFileCleansUpFormerExportsOfSameName ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase
 assertXmlStringEqualsXmlFileWithIgnoredSqliteTypeInteger (string $expectedFile, string $actualXml)
 

Protected Member Functions

 setUp ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase
 tearDown ()
 
 isCaseSensitiveFilesystem ()
 

Protected Attributes

 $pathsToProvideInTestInstance
 
 $testExtensionsToLoad
 
Export MockObject AccessibleObjectInterface $exportMock
 
array $recordTypesIncludeFields
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase
 $coreExtensionsToLoad = array( 'impexp', 'form' )
 
array $testFilesToDelete = []
 

Detailed Description

Definition at line 24 of file ExportTest.php.

Member Function Documentation

◆ addFilesSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::addFilesSucceeds ( array  $dat,
array  $relations,
array  $expected 
)

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

Test:
‪@dataProvider addFilesSucceedsDataProvider

Definition at line 271 of file ExportTest.php.

References TYPO3\CMS\Impexp\Tests\Functional\ExportTest\$exportMock, and TYPO3\CMS\Impexp\ImportExport\addFiles().

◆ addFilesSucceedsDataProvider()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::addFilesSucceedsDataProvider ( )

Definition at line 235 of file ExportTest.php.

◆ creationAndDeletionOfDefaultImportExportFolderSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::creationAndDeletionOfDefaultImportExportFolderSucceeds ( )

◆ creationAndDeletionOfTemporaryFolderSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::creationAndDeletionOfTemporaryFolderSucceeds ( )
Test:

Definition at line 84 of file ExportTest.php.

◆ renderPreviewForExportOfPageAndRecords()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderPreviewForExportOfPageAndRecords ( )
Test:

Definition at line 131 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfPageAndRecordsWithSoftRefs()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderPreviewForExportOfPageAndRecordsWithSoftRefs ( )
Test:

Definition at line 159 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfRecords()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderPreviewForExportOfRecords ( )
Test:

Definition at line 212 of file ExportTest.php.

◆ renderPreviewForExportOfTable()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderPreviewForExportOfTable ( )
Test:

Definition at line 186 of file ExportTest.php.

◆ renderPreviewWithoutArgumentsReturnsBasicArray()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderPreviewWithoutArgumentsReturnsBasicArray ( )
Test:

Definition at line 116 of file ExportTest.php.

◆ renderSucceedsWithoutArguments()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::renderSucceedsWithoutArguments ( )
Test:

Definition at line 290 of file ExportTest.php.

◆ saveT3dCompressedToFileSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::saveT3dCompressedToFileSucceeds ( )

◆ saveT3dToFileSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::saveT3dToFileSucceeds ( )

◆ saveToFileCleansUpFormerExportsOfSameName()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::saveToFileCleansUpFormerExportsOfSameName ( )

◆ saveToFileCleansUpTemporaryFolder()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::saveToFileCleansUpTemporaryFolder ( )

◆ saveXmlToFileIsDefaultAndSucceeds()

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::saveXmlToFileIsDefaultAndSucceeds ( )

◆ setUp()

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

Set up for set up the backend user, initialize the language object and creating the Export instance

Reimplemented from TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase.

Definition at line 75 of file ExportTest.php.

Member Data Documentation

◆ $exportMock

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

◆ $pathsToProvideInTestInstance

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::$pathsToProvideInTestInstance
protected
Initial value:
= array(
'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload',
)

Definition at line 26 of file ExportTest.php.

◆ $recordTypesIncludeFields

array TYPO3\CMS\Impexp\Tests\Functional\ExportTest::$recordTypesIncludeFields
protected

Definition at line 41 of file ExportTest.php.

◆ $testExtensionsToLoad

TYPO3\CMS\Impexp\Tests\Functional\ExportTest::$testExtensionsToLoad
protected
Initial value:
= array(
'typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension',
)

Definition at line 30 of file ExportTest.php.