TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase:
TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase TYPO3\CMS\Core\Tests\FunctionalTestCase TYPO3\CMS\Core\Tests\BaseTestCase TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\Modify\ActionTest TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\Publish\ActionTest TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest

Public Member Functions

 createParentContent ()
 
 modifyParentContent ()
 
 deleteParentContent ()
 
 deleteParentContentAndDiscardDeletedParent ()
 
 copyParentContent ()
 
 copyParentContentToDifferentPage ()
 
 localizeParentContentInKeepMode ()
 
 localizeParentContentWithAllChildrenInKeepMode ()
 
 localizeParentContentInSelectMode ()
 
 localizeParentContentWithAllChildrenInSelectMode ()
 
 changeParentContentSorting ()
 
 moveParentContentToDifferentPage ()
 
 moveParentContentToDifferentPageAndChangeSorting ()
 
 modifyPage ()
 
 deletePage ()
 
 copyPage ()
 
 copyPageWithHotelBeforeParentContent ()
 
 createParentContentWithHotelAndOfferChildren ()
 
 createAndCopyParentContentWithHotelAndOfferChildren ()
 
 createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent ()
 
 createAndLocalizeParentContentWithHotelAndOfferChildren ()
 
 createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent ()
 
 createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent ()
 
 modifyOnlyHotelChild ()
 
 modifyParentAndChangeHotelChildrenSorting ()
 
 modifyParentWithHotelChild ()
 
 modifyParentWithHotelChildAndDiscardModifiedParent ()
 
 modifyParentWithHotelChildAndDiscardAll ()
 
 modifyParentAndAddHotelChild ()
 
 modifyParentAndDeleteHotelChild ()
 
 modifyAndDiscardAndModifyParentWithHotelChild ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 importCSVDataSet ($path)
 

Public Attributes

const VALUE_PageId = 89
 
const VALUE_PageIdTarget = 90
 
const VALUE_PageIdWebsite = 1
 
const VALUE_ContentIdFirst = 297
 
const VALUE_ContentIdLast = 298
 
const VALUE_HotelIdFirst = 3
 
const VALUE_HotelIdSecond = 4
 
const VALUE_HotelIdThird = 5
 
const VALUE_LanguageId = 1
 
const VALUE_WorkspaceId = 1
 
const TABLE_Page = 'pages'
 
const TABLE_Content = 'tt_content'
 
const TABLE_Hotel = 'tx_irretutorial_1ncsv_hotel'
 
const TABLE_Offer = 'tx_irretutorial_1ncsv_offer'
 
const FIELD_ContentHotel = 'tx_irretutorial_1ncsv_hotels'
 
const FIELD_HotelOffer = 'offers'
 
- Public Attributes inherited from TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
const VALUE_BackendUserId = 1
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
 setUp ()
 
 tearDown ()
 
 getActionService ()
 
 importScenarioDataSet ($dataSetName)
 
 assertAssertionDataSet ($dataSetName)
 
 assertErrorLogEntries ()
 
 getRequestSectionHasRecordConstraint ()
 
 getRequestSectionDoesNotHaveRecordConstraint ()
 
 getRequestSectionStructureHasRecordConstraint ()
 
 getRequestSectionStructureDoesNotHaveRecordConstraint ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 getInstanceIdentifier ()
 
 getInstancePath ()
 
 setUp ()
 
 getDatabaseConnection ()
 
 assertCSVDataSet ($path)
 
 assertInRecords (array $expectedRecord, array $actualRecords)
 
 getAllRecords ($tableName, $hasUidField=false)
 
 arrayToString (array $array)
 
 renderRecords (array $assertion, array $record)
 
 getDifferentFields (array $assertion, array $record)
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=[])
 
 addTypoScriptToTemplateRecord ($pageId, $typoScript)
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=true, $frontendUserId=0)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, $methods=[], array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $scenarioDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/'
 
 $coreExtensionsToLoad
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
 $scenarioDataSetDirectory
 
 $assertionDataSetDirectory
 
 $expectedErrorLogEntries = 0
 
 $testExtensionsToLoad
 
 $pathsToLinkInTestInstance
 
 $recordIds = []
 
 $actionService
 
 $backendUser
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 $coreExtensionsToLoad = []
 
 $testExtensionsToLoad = []
 
 $pathsToLinkInTestInstance = []
 
 $configurationToUseInTestInstance = []
 
 $additionalFoldersToCreate = []
 
 $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Functional test for the DataHandler

Definition at line 20 of file AbstractActionTestCase.php.

Member Function Documentation

◆ changeParentContentSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::changeParentContentSorting ( )
See also
DataSet/changeParentContentRecordSorting.csv

Definition at line 174 of file AbstractActionTestCase.php.

◆ copyPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::copyPage ( )
See also
DataSet/copyPageRecord.csv

Definition at line 219 of file AbstractActionTestCase.php.

◆ copyPageWithHotelBeforeParentContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::copyPageWithHotelBeforeParentContent ( )
Test:
See also
DataSet/copyPageWHotelBeforeParentContent.csv

Definition at line 231 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ copyParentContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::copyParentContent ( )
See also
DataSet/copyParentContentRecord.csv

Definition at line 108 of file AbstractActionTestCase.php.

◆ copyParentContentToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::copyParentContentToDifferentPage ( )
See also
DataSet/copyParentContentToDifferentPage.csv

Definition at line 117 of file AbstractActionTestCase.php.

◆ createAndCopyParentContentWithHotelAndOfferChildren()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createAndCopyParentContentWithHotelAndOfferChildren ( )
See also
DataSet/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 268 of file AbstractActionTestCase.php.

◆ createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent ( )
See also
DataSet/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv

Definition at line 289 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildren()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createAndLocalizeParentContentWithHotelAndOfferChildren ( )
See also
DataSet/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 310 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent ( )
See also
DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardCreatedParent.csv

Definition at line 331 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent ( )
See also
DataSet/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv

Definition at line 351 of file AbstractActionTestCase.php.

◆ createParentContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createParentContent ( )

Parent content records

See also
DataSet/createParentContentRecord.csv

Definition at line 73 of file AbstractActionTestCase.php.

◆ createParentContentWithHotelAndOfferChildren()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::createParentContentWithHotelAndOfferChildren ( )

IRRE Child Records

See also
DataSet/createParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 252 of file AbstractActionTestCase.php.

◆ deletePage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::deletePage ( )
See also
DataSet/deletePageRecord.csv

Definition at line 211 of file AbstractActionTestCase.php.

◆ deleteParentContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::deleteParentContent ( )
See also
DataSet/deleteParentContentRecord.csv

Definition at line 90 of file AbstractActionTestCase.php.

◆ deleteParentContentAndDiscardDeletedParent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::deleteParentContentAndDiscardDeletedParent ( )
See also
DataSet/deleteParentContentRecordAndDiscardDeletedParentRecord.csv

Definition at line 98 of file AbstractActionTestCase.php.

◆ localizeParentContentInKeepMode()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::localizeParentContentInKeepMode ( )
See also
DataSet/localizeParentContentKeep.csv

Definition at line 126 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ localizeParentContentInSelectMode()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::localizeParentContentInSelectMode ( )
See also
DataSet/localizeParentContentSelect.csv

Definition at line 150 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ localizeParentContentWithAllChildrenInKeepMode()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::localizeParentContentWithAllChildrenInKeepMode ( )
See also
DataSet/localizeParentContentWAllChildrenKeep.csv

Definition at line 138 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ localizeParentContentWithAllChildrenInSelectMode()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::localizeParentContentWithAllChildrenInSelectMode ( )
See also
DataSet/localizeParentContentWAllChildrenSelect.csv

Definition at line 162 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ modifyAndDiscardAndModifyParentWithHotelChild()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyAndDiscardAndModifyParentWithHotelChild ( )
See also
DataSet/modifyNDiscardNModifyParentWHotelChild.csv

Definition at line 467 of file AbstractActionTestCase.php.

◆ modifyOnlyHotelChild()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyOnlyHotelChild ( )
See also
DataSet/modifyOnlyHotelChildRecord.csv

Definition at line 372 of file AbstractActionTestCase.php.

◆ modifyPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyPage ( )

Page records

See also
DataSet/modifyPageRecord.csv

Definition at line 203 of file AbstractActionTestCase.php.

◆ modifyParentAndAddHotelChild()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentAndAddHotelChild ( )
See also
DataSet/modifyParentRecordAndAddHotelChildRecord.csv

Definition at line 440 of file AbstractActionTestCase.php.

◆ modifyParentAndChangeHotelChildrenSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentAndChangeHotelChildrenSorting ( )
See also
DataSet/modifyParentRecordAndChangeHotelChildRecordsSorting.csv

Definition at line 380 of file AbstractActionTestCase.php.

◆ modifyParentAndDeleteHotelChild()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentAndDeleteHotelChild ( )
See also
DataSet/modifyParentRecordAndDeleteHotelChildRecord.csv

Definition at line 454 of file AbstractActionTestCase.php.

◆ modifyParentContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentContent ( )
See also
DataSet/modifyParentContentRecord.csv

Definition at line 82 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChild()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentWithHotelChild ( )
See also
DataSet/modifyParentRecordWithHotelChildRecord.csv

Definition at line 388 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChildAndDiscardAll()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentWithHotelChildAndDiscardAll ( )
See also
DataSet/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv

Definition at line 418 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChildAndDiscardModifiedParent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::modifyParentWithHotelChildAndDiscardModifiedParent ( )
See also
DataSet/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv

Definition at line 402 of file AbstractActionTestCase.php.

◆ moveParentContentToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::moveParentContentToDifferentPage ( )
See also
DataSet/moveParentContentRecordToDifferentPage.csv

Definition at line 182 of file AbstractActionTestCase.php.

◆ moveParentContentToDifferentPageAndChangeSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::moveParentContentToDifferentPageAndChangeSorting ( )
See also
DataSet/moveParentContentRecordToDifferentPageAndChangeSorting.csv

Definition at line 190 of file AbstractActionTestCase.php.

◆ setUp()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::setUp ( )
protected

Member Data Documentation

◆ $coreExtensionsToLoad

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::$coreExtensionsToLoad
protected
Initial value:
= [
'fluid',
'version',
'workspaces',
]

Definition at line 49 of file AbstractActionTestCase.php.

◆ $scenarioDataSetDirectory

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::$scenarioDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/'
protected

Definition at line 44 of file AbstractActionTestCase.php.

◆ FIELD_ContentHotel

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::FIELD_ContentHotel = 'tx_irretutorial_1ncsv_hotels'

Definition at line 38 of file AbstractActionTestCase.php.

◆ FIELD_HotelOffer

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::FIELD_HotelOffer = 'offers'

Definition at line 39 of file AbstractActionTestCase.php.

◆ TABLE_Content

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::TABLE_Content = 'tt_content'

Definition at line 34 of file AbstractActionTestCase.php.

◆ TABLE_Hotel

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::TABLE_Hotel = 'tx_irretutorial_1ncsv_hotel'

Definition at line 35 of file AbstractActionTestCase.php.

◆ TABLE_Offer

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::TABLE_Offer = 'tx_irretutorial_1ncsv_offer'

Definition at line 36 of file AbstractActionTestCase.php.

◆ TABLE_Page

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::TABLE_Page = 'pages'

Definition at line 33 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdFirst

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_ContentIdFirst = 297

Definition at line 25 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdLast

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_ContentIdLast = 298

Definition at line 26 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdFirst

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_HotelIdFirst = 3

Definition at line 27 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdSecond

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_HotelIdSecond = 4

Definition at line 28 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdThird

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_HotelIdThird = 5

Definition at line 29 of file AbstractActionTestCase.php.

◆ VALUE_LanguageId

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_LanguageId = 1

Definition at line 30 of file AbstractActionTestCase.php.

◆ VALUE_PageId

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_PageId = 89

Definition at line 22 of file AbstractActionTestCase.php.

◆ VALUE_PageIdTarget

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_PageIdTarget = 90

Definition at line 23 of file AbstractActionTestCase.php.

◆ VALUE_PageIdWebsite

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_PageIdWebsite = 1

Definition at line 24 of file AbstractActionTestCase.php.

◆ VALUE_WorkspaceId

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase::VALUE_WorkspaceId = 1

Definition at line 31 of file AbstractActionTestCase.php.