TYPO3 CMS  TYPO3_6-2
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

 setUp ()
 
 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\Functional\DataHandling\AbstractDataHandlerActionTestCase
 setUp ()
 
 tearDown ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 setUp ()
 

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 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 = array()
 
 $actionService
 
 $backendUser
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 $coreExtensionsToLoad = array()
 
 $testExtensionsToLoad = array()
 
 $pathsToLinkInTestInstance = array()
 
 $configurationToUseInTestInstance = array()
 
 $additionalFoldersToCreate = array()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

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

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Functional test for the DataHandler

Definition at line 22 of file AbstractActionTestCase.php.

Member Function Documentation

◆ changeParentContentSorting()

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

Definition at line 165 of file AbstractActionTestCase.php.

◆ copyPage()

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

Definition at line 205 of file AbstractActionTestCase.php.

◆ copyPageWithHotelBeforeParentContent()

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

Definition at line 216 of file AbstractActionTestCase.php.

References $GLOBALS.

◆ copyParentContent()

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

Definition at line 105 of file AbstractActionTestCase.php.

◆ copyParentContentToDifferentPage()

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

Definition at line 113 of file AbstractActionTestCase.php.

◆ createAndCopyParentContentWithHotelAndOfferChildren()

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

Definition at line 251 of file AbstractActionTestCase.php.

◆ createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent()

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

Definition at line 271 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildren()

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

Definition at line 291 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent()

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

Definition at line 311 of file AbstractActionTestCase.php.

◆ createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent()

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

Definition at line 330 of file AbstractActionTestCase.php.

◆ createParentContent()

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

Parent content records

See also
DataSet/Assertion/createParentContentRecord.csv

Definition at line 74 of file AbstractActionTestCase.php.

◆ createParentContentWithHotelAndOfferChildren()

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

IRRE Child Records

See also
DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 236 of file AbstractActionTestCase.php.

◆ deletePage()

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

Definition at line 198 of file AbstractActionTestCase.php.

◆ deleteParentContent()

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

Definition at line 89 of file AbstractActionTestCase.php.

◆ deleteParentContentAndDiscardDeletedParent()

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

Definition at line 96 of file AbstractActionTestCase.php.

◆ localizeParentContentInKeepMode()

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

Definition at line 121 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 143 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 132 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 154 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 438 of file AbstractActionTestCase.php.

◆ modifyOnlyHotelChild()

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

Definition at line 350 of file AbstractActionTestCase.php.

◆ modifyPage()

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

Page records

See also
DataSet/Assertion/modifyPageRecord.csv

Definition at line 191 of file AbstractActionTestCase.php.

◆ modifyParentAndAddHotelChild()

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

Definition at line 413 of file AbstractActionTestCase.php.

◆ modifyParentAndChangeHotelChildrenSorting()

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

Definition at line 357 of file AbstractActionTestCase.php.

◆ modifyParentAndDeleteHotelChild()

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

Definition at line 426 of file AbstractActionTestCase.php.

◆ modifyParentContent()

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

Definition at line 82 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChild()

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

Definition at line 364 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChildAndDiscardAll()

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

Definition at line 392 of file AbstractActionTestCase.php.

◆ modifyParentWithHotelChildAndDiscardModifiedParent()

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

Definition at line 377 of file AbstractActionTestCase.php.

◆ moveParentContentToDifferentPage()

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

Definition at line 172 of file AbstractActionTestCase.php.

◆ moveParentContentToDifferentPageAndChangeSorting()

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

Definition at line 179 of file AbstractActionTestCase.php.

◆ setUp()

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

Member Data Documentation

◆ $coreExtensionsToLoad

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

Definition at line 51 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 46 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 40 of file AbstractActionTestCase.php.

◆ FIELD_HotelOffer

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

Definition at line 41 of file AbstractActionTestCase.php.

◆ TABLE_Content

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

Definition at line 36 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 37 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 38 of file AbstractActionTestCase.php.

◆ TABLE_Page

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

Definition at line 35 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdFirst

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

Definition at line 27 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdLast

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

Definition at line 28 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdFirst

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

Definition at line 29 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdSecond

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

Definition at line 30 of file AbstractActionTestCase.php.

◆ VALUE_HotelIdThird

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

Definition at line 31 of file AbstractActionTestCase.php.

◆ VALUE_LanguageId

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

Definition at line 32 of file AbstractActionTestCase.php.

◆ VALUE_PageId

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

Definition at line 24 of file AbstractActionTestCase.php.

◆ VALUE_PageIdTarget

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

Definition at line 25 of file AbstractActionTestCase.php.

◆ VALUE_PageIdWebsite

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

Definition at line 26 of file AbstractActionTestCase.php.

◆ VALUE_WorkspaceId

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

Definition at line 33 of file AbstractActionTestCase.php.