‪TYPO3CMS  9.5
TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase:
TYPO3\CMS\Impexp\Tests\Functional\Export\GroupFileAndFileReferenceItemInFlexFormTest TYPO3\CMS\Impexp\Tests\Functional\Export\GroupFileAndFileReferenceItemTest TYPO3\CMS\Impexp\Tests\Functional\Export\IrreTutorialRecordsTest TYPO3\CMS\Impexp\Tests\Functional\Export\PagesAndTtContentTest TYPO3\CMS\Impexp\Tests\Functional\Export\PagesAndTtContentWithImagesTest TYPO3\CMS\Impexp\Tests\Functional\Import\GroupFileAndFileReferenceItemInFlexFormTest TYPO3\CMS\Impexp\Tests\Functional\Import\GroupFileAndFileReferenceItemTest TYPO3\CMS\Impexp\Tests\Functional\Import\IrreTutorialRecordsTest TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentTest TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInEmptyDatabaseTest TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithRteImagesAndFileLinkTest

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 setPageTree (Export $export, $pidToStart, $depth=1)
 
 addRecordsForPid (Export $export, $pid, array $tables)
 
array forceStringsOnRowValues (array $row)
 
bool isCaseSensitiveFilesystem ()
 

Protected Attributes

array $coreExtensionsToLoad
 
array $testFilesToDelete = array( )
 

Detailed Description

Abstract used by ext:impexp functional tests

Definition at line 29 of file AbstractImportExportTestCase.php.

Member Function Documentation

◆ addRecordsForPid()

TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase::addRecordsForPid ( Export  $export,
  $pid,
array  $tables 
)
protected

Adds records to the export object for a specific page id.

Used in export tests.

Parameters
$exportExport instance
int$pid‪Page id for which to select records to add
array$tables‪Array of table names to select from

Definition at line 109 of file AbstractImportExportTestCase.php.

References $GLOBALS, TYPO3\CMS\Impexp\Export\export_addRecord(), TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase\forceStringsOnRowValues(), and TYPO3\CMS\Core\Database\Query\QueryHelper\parseOrderBy().

Referenced by TYPO3\CMS\Impexp\Tests\Functional\Export\IrreTutorialRecordsTest\exportIrreRecords().

◆ forceStringsOnRowValues()

◆ isCaseSensitiveFilesystem()

◆ setPageTree()

◆ setUp()

◆ tearDown()

TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase::tearDown ( )
protected

Tear down for remove of the test files

Definition at line 60 of file AbstractImportExportTestCase.php.

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase::$coreExtensionsToLoad
protected
Initial value:
= array(
'impexp',
)

Definition at line 33 of file AbstractImportExportTestCase.php.

◆ $testFilesToDelete

array TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase::$testFilesToDelete = array( )
protected

Absolute path to files that must be removed after a test - handled in tearDown

Definition at line 42 of file AbstractImportExportTestCase.php.