TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractActionTestCase Class Reference
Inheritance diagram for AbstractActionTestCase:
AbstractDataHandlerActionTestCase FunctionalTestCase BaseTestCase ActionTest ActionTest 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 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 AbstractDataHandlerActionTestCase
const VALUE_BackendUserId = 1
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from AbstractDataHandlerActionTestCase
 setUp ()
 
 tearDown ()
 
 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 FunctionalTestCase
 setUp ()
 
 getDatabaseConnection ()
 
 getConnectionPool ()
 
 importDataSet ($path)
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=[])
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=true, $frontendUserId=0)
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

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

Detailed Description

Member Function Documentation

changeParentContentSorting ( )
See also
DataSet/Assertion/changeParentContentRecordSorting.csv

Definition at line 174 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

copyPage ( )
See also
DataSet/Assertion/copyPageRecord.csv

Definition at line 219 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

copyPageWithHotelBeforeParentContent ( )
Test:
See also
DataSet/Assertion/copyPageWHotelBeforeParentContent.csv

Definition at line 231 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

References $GLOBALS.

copyParentContent ( )
See also
DataSet/Assertion/copyParentContentRecord.csv

Definition at line 108 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

copyParentContentToDifferentPage ( )
See also
DataSet/copyParentContentToDifferentPage.csv

Definition at line 117 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createAndCopyParentContentWithHotelAndOfferChildren ( )
See also
DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 268 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent ( )
See also
DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv

Definition at line 289 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createAndLocalizeParentContentWithHotelAndOfferChildren ( )
See also
DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 310 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent ( )
See also
DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildrenNDiscardCreatedParent.csv

Definition at line 331 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent ( )
See also
DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv

Definition at line 351 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createParentContent ( )

Parent content records

See also
DataSet/Assertion/createParentContentRecord.csv

Definition at line 73 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

createParentContentWithHotelAndOfferChildren ( )

IRRE Child Records

See also
DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv

Definition at line 252 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

deletePage ( )
See also
DataSet/Assertion/deletePageRecord.csv

Definition at line 211 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

deleteParentContent ( )
See also
DataSet/Assertion/deleteParentContentRecord.csv

Definition at line 90 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

deleteParentContentAndDiscardDeletedParent ( )
See also
DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv

Definition at line 98 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

localizeParentContentInKeepMode ( )
See also
DataSet/localizeParentContentKeep.csv

Definition at line 126 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

References $GLOBALS.

localizeParentContentInSelectMode ( )
See also
DataSet/localizeParentContentSelect.csv

Definition at line 150 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

References $GLOBALS.

localizeParentContentWithAllChildrenInKeepMode ( )
See also
DataSet/localizeParentContentWAllChildrenKeep.csv

Definition at line 138 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

References $GLOBALS.

localizeParentContentWithAllChildrenInSelectMode ( )
See also
DataSet/localizeParentContentWAllChildrenSelect.csv

Definition at line 162 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

References $GLOBALS.

modifyAndDiscardAndModifyParentWithHotelChild ( )
See also
DataSet/modifyNDiscardNModifyParentWHotelChild.csv

Definition at line 467 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyOnlyHotelChild ( )
See also
DataSet/Assertion/modifyOnlyHotelChildRecord.csv

Definition at line 372 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyPage ( )

Page records

See also
DataSet/Assertion/modifyPageRecord.csv

Definition at line 203 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentAndAddHotelChild ( )
See also
DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv

Definition at line 440 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentAndChangeHotelChildrenSorting ( )
See also
DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv

Definition at line 380 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentAndDeleteHotelChild ( )
See also
DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv

Definition at line 454 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentContent ( )
See also
DataSet/Assertion/modifyParentContentRecord.csv

Definition at line 82 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentWithHotelChild ( )
See also
DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv

Definition at line 388 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentWithHotelChildAndDiscardAll ( )
See also
DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv

Definition at line 418 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

modifyParentWithHotelChildAndDiscardModifiedParent ( )
See also
DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv

Definition at line 402 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

moveParentContentToDifferentPage ( )
See also
DataSet/Assertion/moveParentContentRecordToDifferentPage.csv

Definition at line 182 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

moveParentContentToDifferentPageAndChangeSorting ( )
See also
DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv

Definition at line 190 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

Member Data Documentation

$coreExtensionsToLoad
protected
Initial value:
= [
'fluid',
'version',
'workspaces',
]

Definition at line 49 of file workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php.

$scenarioDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/'
protected
const FIELD_ContentHotel = 'tx_irretutorial_1ncsv_hotels'
const FIELD_HotelOffer = 'offers'
const TABLE_Content = 'tt_content'
const TABLE_Hotel = 'tx_irretutorial_1ncsv_hotel'
const TABLE_Offer = 'tx_irretutorial_1ncsv_offer'
const TABLE_Page = 'pages'
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_PageId = 89
const VALUE_PageIdTarget = 90
const VALUE_PageIdWebsite = 1
const VALUE_WorkspaceId = 1