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

 addCategoryRelation ()
 
 deleteCategoryRelation ()
 
 changeCategoryRelationSorting ()
 
 createContentAndAddRelation ()
 
 createCategoryAndAddRelation ()
 
 createContentAndCreateRelation ()
 
 createCategoryAndCreateRelation ()
 
 createContentWithCategoryAndAddRelation ()
 
 createCategoryWithContentAndAddRelation ()
 
 modifyCategoryOfRelation ()
 
 modifyContentOfRelation ()
 
 modifyBothsOfRelation ()
 
 deleteContentOfRelation ()
 
 deleteCategoryOfRelation ()
 
 copyContentOfRelation ()
 
 copyCategoryOfRelation ()
 
 localizeContentOfRelation ()
 
 localizeCategoryOfRelation ()
 
 moveContentOfRelationToDifferentPage ()
 
 copyPage ()
 

Public Attributes

const VALUE_PageId = 89
 
const VALUE_PageIdTarget = 90
 
const VALUE_ContentIdFirst = 297
 
const VALUE_ContentIdLast = 298
 
const VALUE_LanguageId = 1
 
const VALUE_CategoryIdFirst = 28
 
const VALUE_CategoryIdSecond = 29
 
const VALUE_CategoryIdLast = 31
 
const VALUE_WorkspaceId = 1
 
const TABLE_Page = 'pages'
 
const TABLE_Content = 'tt_content'
 
const TABLE_Category = 'sys_category'
 
const TABLE_ContentCategory_ManyToMany = 'sys_category_record_mm'
 
- 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/ManyToMany/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

addCategoryRelation ( )

MM Relations

Test:
See also
DataSet/Assertion/addCategoryRelation.csv

Definition at line 70 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

changeCategoryRelationSorting ( )
Test:
See also
DataSet/Assertion/changeCategoryRelationSorting.csv

Definition at line 92 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

copyCategoryOfRelation ( )
See also
DataSet/Assertion/copyCategoryRecordOfCategoryRelation.csv

Definition at line 244 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

copyContentOfRelation ( )
See also
DataSet/Assertion/copyContentRecordOfCategoryRelation.csv

Definition at line 235 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

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

Definition at line 279 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

createCategoryAndAddRelation ( )
Test:
See also
DataSet/Assertion/createCategoryRecordAndAddCategoryRelation.csv

Definition at line 115 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

createCategoryAndCreateRelation ( )
Test:
See also
DataSet/Assertion/createCategoryRecordAndCreateCategoryRelation.csv

Definition at line 144 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

createCategoryWithContentAndAddRelation ( )
createContentAndAddRelation ( )
Test:
See also
DataSet/Assertion/createContentRecordAndAddCategoryRelation.csv

Definition at line 103 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

createContentAndCreateRelation ( )
Test:
See also
DataSet/Assertion/createContentRecordAndCreateCategoryRelation.csv

Definition at line 127 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

createContentWithCategoryAndAddRelation ( )
deleteCategoryOfRelation ( )
See also
DataSet/Assertion/deleteCategoryRecordOfCategoryRelation.csv

Definition at line 227 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

deleteCategoryRelation ( )
Test:
See also
DataSet/Assertion/deleteCategoryRelation.csv

Definition at line 81 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

deleteContentOfRelation ( )
See also
DataSet/Assertion/deleteContentRecordOfCategoryRelation.csv

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

localizeCategoryOfRelation ( )
See also
DataSet/Assertion/localizeCategoryRecordOfCategoryRelation.csv

Definition at line 262 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

localizeContentOfRelation ( )
See also
DataSet/Assertion/localizeContentRecordOfCategoryRelation.csv

Definition at line 253 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

modifyBothsOfRelation ( )
See also
DataSet/Assertion/modifyBothRecordsOfCategoryRelation.csv

Definition at line 210 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

modifyCategoryOfRelation ( )
See also
DataSet/Assertion/modifyCategoryRecordOfCategoryRelation.csv

Definition at line 194 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

modifyContentOfRelation ( )
See also
DataSet/Assertion/modifyContentRecordOfCategoryRelation.csv

Definition at line 202 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

moveContentOfRelationToDifferentPage ( )
See also
DataSet/Assertion/moveContentRecordOfCategoryRelationToDifferentPage.csv

Definition at line 271 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

Member Data Documentation

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

Definition at line 45 of file workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php.

$scenarioDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/'
protected
const TABLE_Category = 'sys_category'
const TABLE_Content = 'tt_content'
const TABLE_ContentCategory_ManyToMany = 'sys_category_record_mm'
const TABLE_Page = 'pages'
const VALUE_CategoryIdFirst = 28
const VALUE_CategoryIdLast = 31
const VALUE_CategoryIdSecond = 29
const VALUE_ContentIdFirst = 297
const VALUE_ContentIdLast = 298
const VALUE_LanguageId = 1
const VALUE_PageId = 89
const VALUE_PageIdTarget = 90
const VALUE_WorkspaceId = 1