‪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 26 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.

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

◆ creationAndDeletionOfDefaultImportExportFolderSucceeds()

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

Definition at line 93 of file ExportTest.php.

References TYPO3\CMS\Core\Core\Environment\getPublicPath().

◆ creationAndDeletionOfTemporaryFolderSucceeds()

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

Definition at line 79 of file ExportTest.php.

◆ renderPreviewForExportOfPageAndRecords()

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

Definition at line 120 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfPageAndRecordsWithSoftRefs()

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

Definition at line 147 of file ExportTest.php.

References TYPO3\CMS\Impexp\Export\LEVELS_INFINITE.

◆ renderPreviewForExportOfRecords()

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

Definition at line 197 of file ExportTest.php.

◆ renderPreviewForExportOfTable()

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

Definition at line 173 of file ExportTest.php.

◆ renderPreviewWithoutArgumentsReturnsBasicArray()

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

Definition at line 107 of file ExportTest.php.

◆ renderSucceedsWithoutArguments()

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

Definition at line 272 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 ( )

Definition at line 364 of file ExportTest.php.

References TYPO3\CMS\Core\Core\Environment\getPublicPath().

◆ saveToFileCleansUpTemporaryFolder()

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

◆ saveXmlToFileIsDefaultAndSucceeds()

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

Definition at line 281 of file ExportTest.php.

References TYPO3\CMS\Core\Core\Environment\getPublicPath().

◆ 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 72 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 28 of file ExportTest.php.

◆ $recordTypesIncludeFields

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

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