TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase:
TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase TYPO3\CMS\Core\Tests\FunctionalTestCase TYPO3\CMS\Core\Tests\BaseTestCase TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Modify\ActionTest TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\PublishAll\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 Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 importCSVDataSet ($path)
 

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 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/ManyToMany/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

◆ addCategoryRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::addCategoryRelation ( )

MM Relations

Test:
See also
DataSet/addCategoryRelation.csv

Definition at line 70 of file AbstractActionTestCase.php.

◆ changeCategoryRelationSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::changeCategoryRelationSorting ( )
Test:
See also
DataSet/changeCategoryRelationSorting.csv

Definition at line 92 of file AbstractActionTestCase.php.

◆ copyCategoryOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::copyCategoryOfRelation ( )
See also
DataSet/copyCategoryRecordOfCategoryRelation.csv

Definition at line 244 of file AbstractActionTestCase.php.

◆ copyContentOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::copyContentOfRelation ( )
See also
DataSet/copyContentRecordOfCategoryRelation.csv

Definition at line 235 of file AbstractActionTestCase.php.

◆ copyPage()

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

Definition at line 279 of file AbstractActionTestCase.php.

◆ createCategoryAndAddRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createCategoryAndAddRelation ( )
Test:
See also
DataSet/createCategoryRecordAndAddCategoryRelation.csv

Definition at line 115 of file AbstractActionTestCase.php.

◆ createCategoryAndCreateRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createCategoryAndCreateRelation ( )
Test:
See also
DataSet/createCategoryRecordAndCreateCategoryRelation.csv

Definition at line 144 of file AbstractActionTestCase.php.

◆ createCategoryWithContentAndAddRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createCategoryWithContentAndAddRelation ( )

Definition at line 174 of file AbstractActionTestCase.php.

◆ createContentAndAddRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createContentAndAddRelation ( )
Test:
See also
DataSet/createContentRecordAndAddCategoryRelation.csv

Definition at line 103 of file AbstractActionTestCase.php.

◆ createContentAndCreateRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createContentAndCreateRelation ( )
Test:
See also
DataSet/createContentRecordAndCreateCategoryRelation.csv

Definition at line 127 of file AbstractActionTestCase.php.

◆ createContentWithCategoryAndAddRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::createContentWithCategoryAndAddRelation ( )

Definition at line 157 of file AbstractActionTestCase.php.

◆ deleteCategoryOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::deleteCategoryOfRelation ( )
See also
DataSet/deleteCategoryRecordOfCategoryRelation.csv

Definition at line 227 of file AbstractActionTestCase.php.

◆ deleteCategoryRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::deleteCategoryRelation ( )
Test:
See also
DataSet/deleteCategoryRelation.csv

Definition at line 81 of file AbstractActionTestCase.php.

◆ deleteContentOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::deleteContentOfRelation ( )
See also
DataSet/deleteContentRecordOfCategoryRelation.csv

Definition at line 219 of file AbstractActionTestCase.php.

◆ localizeCategoryOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::localizeCategoryOfRelation ( )
See also
DataSet/localizeCategoryRecordOfCategoryRelation.csv

Definition at line 262 of file AbstractActionTestCase.php.

◆ localizeContentOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::localizeContentOfRelation ( )
See also
DataSet/localizeContentRecordOfCategoryRelation.csv

Definition at line 253 of file AbstractActionTestCase.php.

◆ modifyBothsOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::modifyBothsOfRelation ( )
See also
DataSet/modifyBothRecordsOfCategoryRelation.csv

Definition at line 210 of file AbstractActionTestCase.php.

◆ modifyCategoryOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::modifyCategoryOfRelation ( )
See also
DataSet/modifyCategoryRecordOfCategoryRelation.csv

Definition at line 194 of file AbstractActionTestCase.php.

◆ modifyContentOfRelation()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::modifyContentOfRelation ( )
See also
DataSet/modifyContentRecordOfCategoryRelation.csv

Definition at line 202 of file AbstractActionTestCase.php.

◆ moveContentOfRelationToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::moveContentOfRelationToDifferentPage ( )
See also
DataSet/moveContentRecordOfCategoryRelationToDifferentPage.csv

Definition at line 271 of file AbstractActionTestCase.php.

◆ setUp()

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

Member Data Documentation

◆ $coreExtensionsToLoad

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

Definition at line 45 of file AbstractActionTestCase.php.

◆ $scenarioDataSetDirectory

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

Definition at line 40 of file AbstractActionTestCase.php.

◆ TABLE_Category

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::TABLE_Category = 'sys_category'

Definition at line 34 of file AbstractActionTestCase.php.

◆ TABLE_Content

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

Definition at line 33 of file AbstractActionTestCase.php.

◆ TABLE_ContentCategory_ManyToMany

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::TABLE_ContentCategory_ManyToMany = 'sys_category_record_mm'

Definition at line 35 of file AbstractActionTestCase.php.

◆ TABLE_Page

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

Definition at line 32 of file AbstractActionTestCase.php.

◆ VALUE_CategoryIdFirst

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::VALUE_CategoryIdFirst = 28

Definition at line 27 of file AbstractActionTestCase.php.

◆ VALUE_CategoryIdLast

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::VALUE_CategoryIdLast = 31

Definition at line 29 of file AbstractActionTestCase.php.

◆ VALUE_CategoryIdSecond

const TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase::VALUE_CategoryIdSecond = 29

Definition at line 28 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdFirst

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

Definition at line 24 of file AbstractActionTestCase.php.

◆ VALUE_ContentIdLast

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

Definition at line 25 of file AbstractActionTestCase.php.

◆ VALUE_LanguageId

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

Definition at line 26 of file AbstractActionTestCase.php.

◆ VALUE_PageId

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

Definition at line 22 of file AbstractActionTestCase.php.

◆ VALUE_PageIdTarget

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

Definition at line 23 of file AbstractActionTestCase.php.

◆ VALUE_WorkspaceId

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

Definition at line 30 of file AbstractActionTestCase.php.