‪TYPO3CMS  ‪main
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 ()
 
 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)
 

Static Public Member Functions

static addFilesSucceedsDataProvider ()
 

Protected Member Functions

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

Protected Attributes

array $pathsToProvideInTestInstance
 
array $testExtensionsToLoad
 
Export &MockObject &AccessibleObjectInterface $exportMock
 
array $recordTypesIncludeFields
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase
array $coreExtensionsToLoad = ['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 266 of file ExportTest.php.

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

◆ addFilesSucceedsDataProvider()

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

Definition at line 230 of file ExportTest.php.

◆ creationAndDeletionOfDefaultImportExportFolderSucceeds()

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

◆ creationAndDeletionOfTemporaryFolderSucceeds()

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

Definition at line 79 of file ExportTest.php.

◆ renderPreviewForExportOfPageAndRecords()

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

Definition at line 126 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfPageAndRecordsWithSoftRefs()

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

Definition at line 154 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfRecords()

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

Definition at line 207 of file ExportTest.php.

◆ renderPreviewForExportOfTable()

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

Definition at line 181 of file ExportTest.php.

◆ renderPreviewWithoutArgumentsReturnsBasicArray()

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

Definition at line 111 of file ExportTest.php.

◆ renderSucceedsWithoutArguments()

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

Definition at line 285 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 70 of file ExportTest.php.

Member Data Documentation

◆ $exportMock

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

◆ $pathsToProvideInTestInstance

array TYPO3\CMS\Impexp\Tests\Functional\ExportTest::$pathsToProvideInTestInstance
protected
Initial value:
= [
'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 36 of file ExportTest.php.

◆ $testExtensionsToLoad

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

Definition at line 30 of file ExportTest.php.