‪TYPO3CMS  11.5
TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest:
TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\AbstractActionTestCase TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase TYPO3\CMS\Core\Log\LogDataTrait

Public Member Functions

 verifyCleanReferenceIndex ()
 
 createContents ()
 
 createContentAndCopyContent ()
 
 createContentAndLocalize ()
 
 modifyContent ()
 
 hideContent ()
 
 hideContentAndMoveToDifferentPage ()
 
 deleteContent ()
 
 deleteLocalizedContentAndDeleteContent ()
 
 copyContent ()
 
 copyContentToLanguage ()
 
 copyContentToLanguageFromNonDefaultLanguage ()
 
 localizeContent ()
 
 localizeContentAfterMovedContent ()
 
 localizeContentAfterMovedInLiveContent ()
 
 localizeContentFromNonDefaultLanguage ()
 
 changeContentSorting ()
 
 changeContentSortingAfterSelf ()
 
 changeContentSortingAndDeleteMovedRecord ()
 
 changeContentSortingAndDeleteLiveRecord ()
 
 moveContentToDifferentPage ()
 
 moveContentToDifferentPageAndChangeSorting ()
 
 moveContentToDifferentPageAndHide ()
 
 moveLocalizedContentToDifferentPage ()
 
 createPage ()
 
 createPageAndSubPageAndSubPageContent ()
 
 modifyPage ()
 
 deletePage ()
 
 deleteContentAndPage ()
 
 localizePageAndContentsAndDeletePageLocalization ()
 
 localizeNestedPagesAndContents ()
 
 copyPage ()
 
 copyPageFreeMode ()
 
 localizePage ()
 
 localizePageHiddenHideAtCopyFalse ()
 
 localizePageNotHiddenHideAtCopyFalse ()
 
 localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset ()
 
 localizePageHiddenHideAtCopyDisableHideAtCopyUnset ()
 
 localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse ()
 
 localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse ()
 
 localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue ()
 
 localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue ()
 
 createPageAndChangePageSorting ()
 
 createPageAndMoveCreatedPage ()
 
 changePageSorting ()
 
 changePageSortingAfterSelf ()
 
 movePageToDifferentPage ()
 
 movePageToDifferentPageTwice ()
 
 movePageLocalizedToDifferentPageTwice ()
 
 movePageLocalizedInLiveToDifferentPageTwice ()
 
 movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice ()
 
 movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice ()
 
 movePageToDifferentPageAndChangeSorting ()
 
 movePageToDifferentPageAndCreatePageAfterMovedPage ()
 
 createContentAndCopyDraftPage ()
 
 createPageAndCopyDraftParentPage ()
 
 createNestedPagesAndCopyDraftParentPage ()
 
 createPlaceholdersAndDeleteDraftParentPage ()
 
 deletingDefaultLanguageElementDiscardsConnectedLocalizedElement ()
 
 deletingDefaultLanguageElementDiscardsConnectedLocalizedElementChain ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
 createContentAndCopyLivePage ()
 
 createPageAndCopyLiveParentPage ()
 
 createNestedPagesAndCopyLiveParentPage ()
 
 deleteContentAndCopyDraftPage ()
 
 deleteContentAndCopyLivePage ()
 
 changeContentSortingAndCopyDraftPage ()
 
 changeContentSortingAndCopyLivePage ()
 
 moveContentAndCopyDraftPage ()
 
 moveContentAndCopyLivePage ()
 
 createPlaceholdersAndDeleteLiveParentPage ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
 createContentForLanguageAll ()
 
 modifyTranslatedContent ()
 
 copyContentToLanguageWithLanguageSynchronization ()
 
 copyContentToLanguageWithLocalizationExclude ()
 
 copyPasteContent ()
 
 localizeContentWithHideAtCopy ()
 
 localizeContentWithEmptyTcaIntegrityColumns ()
 
 localizeContentWithLanguageSynchronization ()
 
 localizeContentWithLanguageSynchronizationHavingNullValue ()
 
 localizeContentFromNonDefaultLanguageWithLanguageSynchronizationDefault ()
 
 localizeContentFromNonDefaultLanguageWithLanguageSynchronizationSource ()
 
 localizeContentFromNonDefaultLanguageWithAllContentElements ()
 
 createLocalizedContent ()
 
 createLocalizedContentWithLanguageSynchronization ()
 
 createLocalizedContentWithLocalizationExclude ()
 
 movePasteContentToDifferentPage ()
 
 createPageAndContentWithTcaDefaults ()
 
 localizePageAndUpdateRecordWithMinorChangesInFullRetrievedRecord ()
 
 localizePageWithLanguageSynchronization ()
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
 setUp ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
 tearDown ()
 
 setUpFrontendSite (int $pageId, array $additionalLanguages=[])
 
 setWorkspaceId (int $workspaceId)
 
 assertErrorLogEntries (array $expectedMessages=null)
 
 assertCleanReferenceIndex ()
 
HasRecordConstraint getRequestSectionHasRecordConstraint ()
 
DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint ()
 
StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint ()
 
StructureDoesNotHaveRecordConstraint getRequestSectionStructureDoesNotHaveRecordConstraint ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
array null unserializeLogData ($logData)
 
string formatLogDetails (string $detailString, $substitutes)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
static formatLogDetailsStatic (string $detailString, array $substitutes)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
const VALUE_ParentPageId = 88
 
const VALUE_ContentIdZero = 296
 
const VALUE_ContentIdTenth = 310
 
const VALUE_ContentIdTenthLocalized = 311
 
const VALUE_ContentIdTenthLocalized2 = 312
 
const VALUE_WorkspaceId = 1
 
const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'
 
 $coreExtensionsToLoad = array( 'workspaces' )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
const VALUE_PageIdParent = 88
 
const VALUE_PageId = 89
 
const VALUE_PageIdTarget = 90
 
const VALUE_PageIdWebsite = 1
 
const VALUE_ContentIdParent = 296
 
const VALUE_ContentIdFirst = 297
 
const VALUE_ContentIdSecond = 298
 
const VALUE_ContentIdThird = 299
 
const VALUE_ContentIdThirdLocalized = 300
 
const VALUE_ContentIdFreeMode = 310
 
const VALUE_LanguageId = 1
 
const VALUE_LanguageIdSecond = 2
 
const TABLE_Page = 'pages'
 
const TABLE_Content = 'tt_content'
 
const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'
 
 $testExtensionsToLoad
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
const VALUE_BackendUserId = 1
 
const VALUE_WorkspaceId = 0
 
int null $expectedErrorLogEntries = 0
 
 $configurationToUseInTestInstance
 
array $recordIds = array( )
 
ActionService $actionService
 
BackendUserAuthentication $backendUser
 
array $siteLanguageConfiguration
 

Detailed Description

Functional test for the DataHandler

Definition at line 28 of file ActionTest.php.

Member Function Documentation

◆ changeContentSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changeContentSorting ( )

◆ changeContentSortingAfterSelf()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changeContentSortingAfterSelf ( )

◆ changeContentSortingAndDeleteLiveRecord()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changeContentSortingAndDeleteLiveRecord ( )

◆ changeContentSortingAndDeleteMovedRecord()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changeContentSortingAndDeleteMovedRecord ( )

◆ changePageSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changePageSorting ( )

◆ changePageSortingAfterSelf()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::changePageSortingAfterSelf ( )

◆ copyContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::copyContent ( )

◆ copyContentToLanguage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::copyContentToLanguage ( )

◆ copyContentToLanguageFromNonDefaultLanguage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::copyContentToLanguageFromNonDefaultLanguage ( )

◆ copyPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::copyPage ( )

◆ copyPageFreeMode()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::copyPageFreeMode ( )

◆ createContentAndCopyContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createContentAndCopyContent ( )

◆ createContentAndCopyDraftPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createContentAndCopyDraftPage ( )

◆ createContentAndLocalize()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createContentAndLocalize ( )

◆ createContents()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createContents ( )

◆ createNestedPagesAndCopyDraftParentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createNestedPagesAndCopyDraftParentPage ( )

◆ createPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPage ( )

Page records

Test:

Reimplemented from TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase.

Definition at line 339 of file ActionTest.php.

◆ createPageAndChangePageSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPageAndChangePageSorting ( )

◆ createPageAndCopyDraftParentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPageAndCopyDraftParentPage ( )

◆ createPageAndMoveCreatedPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPageAndMoveCreatedPage ( )

◆ createPageAndSubPageAndSubPageContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPageAndSubPageAndSubPageContent ( )

◆ createPlaceholdersAndDeleteDraftParentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::createPlaceholdersAndDeleteDraftParentPage ( )

◆ deleteContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deleteContent ( )

◆ deleteContentAndPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deleteContentAndPage ( )

◆ deleteLocalizedContentAndDeleteContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deleteLocalizedContentAndDeleteContent ( )

◆ deletePage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deletePage ( )

◆ deletingDefaultLanguageElementDiscardsConnectedLocalizedElement()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deletingDefaultLanguageElementDiscardsConnectedLocalizedElement ( )

◆ deletingDefaultLanguageElementDiscardsConnectedLocalizedElementChain()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::deletingDefaultLanguageElementDiscardsConnectedLocalizedElementChain ( )

Similar to above, but with a translation chain: Element 2 is first translated to language 1, then translated to language 2 again. Both records should be discarded when discarding live element.

Test does not make sense in Modify, Publish and PublishAll.

Test:

Definition at line 727 of file ActionTest.php.

References TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\setWorkspaceId(), and TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_ContentIdSecond.

◆ hideContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::hideContent ( )

◆ hideContentAndMoveToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::hideContentAndMoveToDifferentPage ( )
Test:

Definition at line 98 of file ActionTest.php.

◆ localizeContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizeContent ( )

◆ localizeContentAfterMovedContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizeContentAfterMovedContent ( )

◆ localizeContentAfterMovedInLiveContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizeContentAfterMovedInLiveContent ( )

◆ localizeContentFromNonDefaultLanguage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizeContentFromNonDefaultLanguage ( )

◆ localizeNestedPagesAndContents()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizeNestedPagesAndContents ( )

◆ localizePage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePage ( )

◆ localizePageAndContentsAndDeletePageLocalization()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageAndContentsAndDeletePageLocalization ( )

◆ localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse ( )

◆ localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue ( )

◆ localizePageHiddenHideAtCopyDisableHideAtCopyUnset()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageHiddenHideAtCopyDisableHideAtCopyUnset ( )

◆ localizePageHiddenHideAtCopyFalse()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageHiddenHideAtCopyFalse ( )

◆ localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse ( )

◆ localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue ( )

◆ localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset ( )

◆ localizePageNotHiddenHideAtCopyFalse()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::localizePageNotHiddenHideAtCopyFalse ( )

◆ modifyContent()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::modifyContent ( )

◆ modifyPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::modifyPage ( )

◆ moveContentToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::moveContentToDifferentPage ( )

◆ moveContentToDifferentPageAndChangeSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::moveContentToDifferentPageAndChangeSorting ( )

◆ moveContentToDifferentPageAndHide()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::moveContentToDifferentPageAndHide ( )

◆ moveLocalizedContentToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::moveLocalizedContentToDifferentPage ( )
Test:

The original page is not translated, for this reason this is disabled until the tests are adapted. $response = $this->executeFrontendSubRequest( (new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId), (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId) ); $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections(); self::assertThat($responseSectionsSource, $this->getRequestSectionHasRecordConstraint() ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3'));

Reimplemented from TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase.

Definition at line 287 of file ActionTest.php.

References TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionDoesNotHaveRecordConstraint(), and TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionHasRecordConstraint().

◆ movePageLocalizedInLiveToDifferentPageTwice()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageLocalizedInLiveToDifferentPageTwice ( )

◆ movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice ( )

◆ movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice ( )

◆ movePageLocalizedToDifferentPageTwice()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageLocalizedToDifferentPageTwice ( )

◆ movePageToDifferentPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageToDifferentPage ( )

◆ movePageToDifferentPageAndChangeSorting()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageToDifferentPageAndChangeSorting ( )

◆ movePageToDifferentPageAndCreatePageAfterMovedPage()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageToDifferentPageAndCreatePageAfterMovedPage ( )

◆ movePageToDifferentPageTwice()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::movePageToDifferentPageTwice ( )

◆ verifyCleanReferenceIndex()

TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\Discard\ActionTest::verifyCleanReferenceIndex ( )
Test:

Definition at line 33 of file ActionTest.php.