[TASK] Unify DataHandler test structure 75/30175/2
authorOliver Hader <oliver@typo3.org>
Fri, 16 May 2014 11:23:31 +0000 (13:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 May 2014 19:02:52 +0000 (21:02 +0200)
Resolves: #58868
Releases: 6.2
Change-Id: I0f5aeb1d211e542cb323fba11b07a0b8be7d3ed0
Reviewed-on: https://review.typo3.org/30175
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
168 files changed:
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/LiveActionTest.php [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPageWHotelBeforeParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/changeParentContentSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deleteParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/localizeParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyOnlyHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNAddHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNDeleteHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChild.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/LiveActionTest.php [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPageWHotelBeforeParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/addCategoryRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/changeCategoryRelationSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyCategoryOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyContentOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteContentOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeCategoryOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeContentOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyBothsOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyCategoryOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyContentOfRelation.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/moveContentOfRelationToDifferentPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/LiveActionTest.php [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/addCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/changeCategoryRelationSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyBothsOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/moveContentOfRelationToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changeContentSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changePageSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createContents.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deleteContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizeContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizePage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyContent.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPage.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/LiveActionTest.php [deleted file]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changePageSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createContents.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/deleteContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/modifyContent.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/moveContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/moveContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/movePageToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/movePageToDifferentPageNChangeSorting.csv [new file with mode: 0644]

index ec42c1c..fe5527c 100644 (file)
@@ -49,12 +49,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/';
-
-       /**
-        * @var string
-        */
-       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/';
 
        public function setUp() {
                parent::setUp();
@@ -62,6 +57,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->importScenarioDataSet('LiveDefaultElements');
 
                $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
+               $this->backendUser->workspace = 0;
        }
 
        /**
@@ -74,10 +70,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function createParentContent() {
                $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('createParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -86,14 +78,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyParentContent() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -102,10 +86,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deleteParentContent() {
                $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('deleteParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
@@ -114,14 +94,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyParentContent() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageId);
-               $this->assertAssertionDataSet('copyParentContent');
-
-               $newContentId = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
        }
 
        /**
@@ -130,13 +103,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizeParentContent() {
                $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
-               );
        }
 
        /**
@@ -145,17 +111,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function changeParentContentSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('changeParentContentSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -164,14 +119,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function moveParentContentToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -181,18 +128,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function moveParentContentToDifferentPageAndChangeSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -205,10 +140,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyPage() {
                $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
        }
 
        /**
@@ -217,10 +148,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deletePage() {
                $this->actionService->deleteRecord(self::TABLE_Page, self::VALUE_PageId);
-               $this->assertAssertionDataSet('deletePage');
-
-               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
-               $this->assertContains('PageNotFoundException', $response->getError());
        }
 
        /**
@@ -229,11 +156,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyPage() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPage');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -248,11 +171,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                );
 
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPageWHotelBeforeParentContent');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -272,15 +191,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
-
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
        }
 
        /**
@@ -296,26 +207,11 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $newContentId, self::VALUE_PageId);
-               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
-
-               $copiedContentId = $copiedTableIds[self::TABLE_Content][$newContentId];
-               $copiedHotelId = $copiedTableIds[self::TABLE_Hotel][$newHotelId];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $copiedContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Hotel . ':' . $copiedHotelId, self::FIELD_HotelOffer,
-                       self::TABLE_Offer, 'title', 'Offer #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
+               $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
+               $this->recordIds['copiedHotelId'] = $copiedTableIds[self::TABLE_Hotel][$this->recordIds['newHotelId']];
        }
 
        /**
@@ -331,23 +227,10 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $newContentId, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
-
-               $localizedHotelId = $localizedTableIds[self::TABLE_Hotel][$newHotelId];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               // Content record gets overlaid, thus using newContentId
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
-               );
-               // Content record directly points to localized child, thus using localizedHotelId
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Hotel . ':' . $localizedHotelId, self::FIELD_HotelOffer,
-                       self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
+               $this->recordIds['localizedHotelId'] = $localizedTableIds[self::TABLE_Hotel][$this->recordIds['newHotelId']];
        }
 
        /**
@@ -356,13 +239,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyOnlyHotelChild() {
                $this->actionService->modifyRecord(self::TABLE_Hotel, 4, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyOnlyHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-               );
        }
 
        /**
@@ -371,13 +247,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyParentAndChangeHotelChildrenSorting() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, array(self::FIELD_ContentHotel => '4,3'));
-               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
-               );
        }
 
        /**
@@ -392,13 +261,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-               );
        }
 
        /**
@@ -413,13 +275,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => '__NEW', 'title' => 'Hotel #2'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
        }
 
        /**
@@ -433,17 +288,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                        array(self::FIELD_ContentHotel => '3'),
                        array(self::TABLE_Hotel => array(4))
                );
-               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureDoesNotHaveRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #2'
-               );
        }
 
 }
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv
deleted file mode 100644 (file)
index c073ded..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,16,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,32,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,4,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,8,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,16,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,64,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,256,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,512,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,768,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,1024,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv
deleted file mode 100644 (file)
index 6b67277..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",6
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1","7,8"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,91,64,0,0,0,0,0,0,0,0,"Hotel #1",9
-,7,91,256,0,0,0,0,0,0,0,0,"Hotel #1","10,11"
-,8,91,128,0,0,0,0,0,0,0,0,"Hotel #2",12
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
-,10,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","15,16,17"
-,11,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","18,19"
-,12,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",20
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,15,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,16,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,17,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,18,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,19,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,20,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv
deleted file mode 100644 (file)
index 8d588b9..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",8
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1","6,7"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,91,256,0,0,0,0,0,0,0,0,"Hotel #1","9,10"
-,7,91,128,0,0,0,0,0,0,0,0,"Hotel #2",11
-,8,91,64,0,0,0,0,0,0,0,0,"Hotel #1",12
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","14,15,16"
-,10,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","17,18"
-,11,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",19
-,12,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",20
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,15,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,16,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,17,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,18,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,19,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,20,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv
deleted file mode 100644 (file)
index 01da136..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,64,0,0,0,0,0,0,0,0,"Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 077e70c..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
-,300,89,64,0,0,0,0,0,0,0,0,"Testing #1 (copy 1)",7
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
-,7,89,32,0,0,0,0,0,0,0,0,"Hotel #1",10
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
-,10,89,16,0,0,0,0,0,0,0,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 27c116e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
-,300,89,192,0,1,299,0,0,0,0,0,"[Translate to Dansk:] Testing #1",7
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
-,7,89,48,0,1,6,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",10
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
-,10,89,24,0,1,9,0,0,0,0,0,"[Translate to Dansk:] Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv
deleted file mode 100644 (file)
index 0ff931d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index c3a4322..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv
deleted file mode 100644 (file)
index d672326..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,1000000000,1,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv
deleted file mode 100644 (file)
index 9a02055..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv
deleted file mode 100644 (file)
index 888a11b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,96,0,1,5,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,48,0,1,8,0,0,0,0,0,"[Translate to Dansk:] Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,89,6,0,1,13,0,0,0,0,0,"[Translate to Dansk:] Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv
deleted file mode 100644 (file)
index 857fd92..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv
deleted file mode 100644 (file)
index ed4fd56..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,"Testing #1"
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv
deleted file mode 100644 (file)
index 94ce76b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Testing #1",5
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv
deleted file mode 100644 (file)
index 36bb11a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","5,6"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,0,0,0,0,0,"Hotel #2",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv
deleted file mode 100644 (file)
index 97a3f83..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","4,3"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv
deleted file mode 100644 (file)
index 3cb71b0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",3
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv
deleted file mode 100644 (file)
index 857fd92..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv
deleted file mode 100644 (file)
index 2f187fa..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv
deleted file mode 100644 (file)
index 06c71ff..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,90,64,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,90,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,90,32,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,90,64,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,90,128,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,90,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,90,8,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,90,16,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,90,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,90,64,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,90,128,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv
new file mode 100644 (file)
index 0000000..4a196a4
--- /dev/null
@@ -0,0 +1,28 @@
+"sys_language",,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,"3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,"5"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2","7"
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1","8"
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1","12"
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1","13"
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv
new file mode 100644 (file)
index 0000000..17b04d4
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv
deleted file mode 100644 (file)
index 4a196a4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-"sys_language",,,,,,,,,,,,,,,
-,"uid","pid","hidden","title","flag",,,,,,,,,,
-,1,0,0,"Dansk","dk",,,,,,,,,,
-,2,0,0,"Deutsch","de",,,,,,,,,,
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,"3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,"5"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2","7"
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1","8"
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1","12"
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1","13"
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv
deleted file mode 100644 (file)
index 17b04d4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/LiveActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/LiveActionTest.php
deleted file mode 100644 (file)
index 5fa5731..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\CSV;
-
-/***************************************************************
- * Copyright notice
- *
- * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
- * All rights reserved
- *
- * This script is part of the TYPO3 project. The TYPO3 project is
- * free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * The GNU General Public License can be found at
- * http://www.gnu.org/copyleft/gpl.html.
- *
- * This script is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-require_once dirname(__FILE__) . '/AbstractActionTestCase.php';
-
-/**
- * Functional test for the DataHandler
- */
-class LiveActionTest extends AbstractActionTestCase {
-
-       public function setUp() {
-               parent::setUp();
-               $this->backendUser->workspace = 0;
-       }
-
-}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php
new file mode 100644 (file)
index 0000000..7455834
--- /dev/null
@@ -0,0 +1,363 @@
+<?php
+namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\CSV\Modify;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/';
+
+       /**
+        * Parent content records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecord.csv
+        */
+       public function createParentContent() {
+               parent::createParentContent();
+               $this->assertAssertionDataSet('createParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentContentRecord.csv
+        */
+       public function modifyParentContent() {
+               parent::modifyParentContent();
+               $this->assertAssertionDataSet('modifyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecord.csv
+        */
+       public function deleteParentContent() {
+               parent::deleteParentContent();
+               $this->assertAssertionDataSet('deleteParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyParentContentRecord.csv
+        */
+       public function copyParentContent() {
+               parent::copyParentContent();
+               $this->assertAssertionDataSet('copyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeParentContentRecord.csv
+        */
+       public function localizeParentContent() {
+               parent::localizeParentContent();
+               $this->assertAssertionDataSet('localizeParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeParentContentRecordSorting.csv
+        */
+       public function changeParentContentSorting() {
+               parent::changeParentContentSorting();
+               $this->assertAssertionDataSet('changeParentContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
+        */
+       public function moveParentContentToDifferentPage() {
+               parent::moveParentContentToDifferentPage();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveParentContentToDifferentPageAndChangeSorting() {
+               parent::moveParentContentToDifferentPageAndChangeSorting();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
+               $this->assertContains('PageNotFoundException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               parent::copyPage();
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageWHotelBeforeParentContent.csv
+        */
+       public function copyPageWithHotelBeforeParentContent() {
+               parent::copyPageWithHotelBeforeParentContent();
+               $this->assertAssertionDataSet('copyPageWHotelBeforeParentContent');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * IRRE Child Records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createParentContentWithHotelAndOfferChildren() {
+               parent::createParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildren() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['copiedContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'], self::FIELD_HotelOffer,
+                       self::TABLE_Offer, 'title', 'Offer #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               // Content record gets overlaid, thus using newContentId
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
+               );
+               // Content record directly points to localized child, thus using localizedHotelId
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['localizedHotelId'], self::FIELD_HotelOffer,
+                       self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
+        */
+       public function modifyOnlyHotelChild() {
+               parent::modifyOnlyHotelChild();
+               $this->assertAssertionDataSet('modifyOnlyHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
+        */
+       public function modifyParentAndChangeHotelChildrenSorting() {
+               parent::modifyParentAndChangeHotelChildrenSorting();
+               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
+        */
+       public function modifyParentWithHotelChild() {
+               parent::modifyParentWithHotelChild();
+               $this->assertAssertionDataSet('modifyParentNHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv
+        */
+       public function modifyParentAndAddHotelChild() {
+               parent::modifyParentAndAddHotelChild();
+               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv
+        */
+       public function modifyParentAndDeleteHotelChild() {
+               parent::modifyParentAndDeleteHotelChild();
+               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #2'
+               );
+       }
+
+}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv
new file mode 100644 (file)
index 0000000..c073ded
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,16,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,32,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,4,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,8,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,16,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,64,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,256,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,512,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,768,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1024,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv
new file mode 100644 (file)
index 0000000..6b67277
--- /dev/null
@@ -0,0 +1,47 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",6
+,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1","7,8"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,91,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+,7,91,256,0,0,0,0,0,0,0,0,"Hotel #1","10,11"
+,8,91,128,0,0,0,0,0,0,0,0,"Hotel #2",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+,10,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","15,16,17"
+,11,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","18,19"
+,12,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",20
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,15,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,16,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,17,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,18,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,19,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,20,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPageWHotelBeforeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPageWHotelBeforeParentContent.csv
new file mode 100644 (file)
index 0000000..8d588b9
--- /dev/null
@@ -0,0 +1,47 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",8
+,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,91,256,0,0,0,0,0,0,0,0,"Hotel #1","9,10"
+,7,91,128,0,0,0,0,0,0,0,0,"Hotel #2",11
+,8,91,64,0,0,0,0,0,0,0,0,"Hotel #1",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","14,15,16"
+,10,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","17,18"
+,11,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",19
+,12,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",20
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,15,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,16,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,17,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,18,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,19,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,20,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv
new file mode 100644 (file)
index 0000000..01da136
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..077e70c
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
+,300,89,64,0,0,0,0,0,0,0,0,"Testing #1 (copy 1)",7
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
+,7,89,32,0,0,0,0,0,0,0,0,"Hotel #1",10
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+,10,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..27c116e
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
+,300,89,192,0,1,299,0,0,0,0,0,"[Translate to Dansk:] Testing #1",7
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
+,7,89,48,0,1,6,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",10
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+,10,89,24,0,1,9,0,0,0,0,0,"[Translate to Dansk:] Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv
new file mode 100644 (file)
index 0000000..0ff931d
--- /dev/null
@@ -0,0 +1,5 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..c3a4322
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv
new file mode 100644 (file)
index 0000000..d672326
--- /dev/null
@@ -0,0 +1,30 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,1000000000,1,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv
new file mode 100644 (file)
index 0000000..9a02055
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv
new file mode 100644 (file)
index 0000000..888a11b
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,96,0,1,5,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,48,0,1,8,0,0,0,0,0,"[Translate to Dansk:] Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,89,6,0,1,13,0,0,0,0,0,"[Translate to Dansk:] Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv
new file mode 100644 (file)
index 0000000..857fd92
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv
new file mode 100644 (file)
index 0000000..ed4fd56
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,"Testing #1"
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv
new file mode 100644 (file)
index 0000000..94ce76b
--- /dev/null
@@ -0,0 +1,4 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Testing #1",5
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv
new file mode 100644 (file)
index 0000000..36bb11a
--- /dev/null
@@ -0,0 +1,25 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","5,6"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #2",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv
new file mode 100644 (file)
index 0000000..97a3f83
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","4,3"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv
new file mode 100644 (file)
index 0000000..3cb71b0
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",3
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv
new file mode 100644 (file)
index 0000000..857fd92
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv
new file mode 100644 (file)
index 0000000..2f187fa
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv
new file mode 100644 (file)
index 0000000..06c71ff
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,90,64,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,90,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,90,32,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,90,64,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,90,128,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,90,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,90,8,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,90,16,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,90,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,90,64,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,90,128,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
index d87cc2f..dd61b64 100644 (file)
@@ -49,12 +49,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/';
-
-       /**
-        * @var string
-        */
-       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/';
 
        public function setUp() {
                parent::setUp();
@@ -62,6 +57,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->importScenarioDataSet('LiveDefaultElements');
 
                $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
+               $this->backendUser->workspace = 0;
        }
 
        /**
@@ -74,10 +70,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function createParentContent() {
                $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('createParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -86,14 +78,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyParentContent() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -102,10 +86,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deleteParentContent() {
                $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('deleteParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
@@ -114,14 +94,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyParentContent() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageId);
-               $this->assertAssertionDataSet('copyParentContent');
-
-               $newContentId = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
        }
 
        /**
@@ -130,13 +103,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizeParentContent() {
                $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
-               );
        }
 
        /**
@@ -145,17 +111,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function changeParentContentSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('changeParentContentSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -164,14 +119,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function moveParentContentToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -181,18 +128,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function moveParentContentToDifferentPageAndChangeSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
        }
 
        /**
@@ -205,10 +140,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyPage() {
                $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
        }
 
        /**
@@ -217,10 +148,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deletePage() {
                $this->actionService->deleteRecord(self::TABLE_Page, self::VALUE_PageId);
-               $this->assertAssertionDataSet('deletePage');
-
-               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
-               $this->assertContains('PageNotFoundException', $response->getError());
        }
 
        /**
@@ -229,11 +156,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyPage() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPage');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -248,11 +171,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                );
 
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPageWHotelBeforeParentContent');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -272,15 +191,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
-
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
        }
 
        /**
@@ -296,26 +207,11 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $newContentId, self::VALUE_PageId);
-               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
-
-               $copiedContentId = $copiedTableIds[self::TABLE_Content][$newContentId];
-               $copiedHotelId = $copiedTableIds[self::TABLE_Hotel][$newHotelId];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $copiedContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Hotel . ':' . $copiedHotelId, self::FIELD_HotelOffer,
-                       self::TABLE_Offer, 'title', 'Offer #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
+               $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
+               $this->recordIds['copiedHotelId'] = $copiedTableIds[self::TABLE_Hotel][$this->recordIds['newHotelId']];
        }
 
        /**
@@ -331,22 +227,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $this->actionService->localizeRecord(self::TABLE_Content, $newContentId, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               // Content record gets overlaid, thus using newContentId
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
-               );
-               // Hotel record gets overlaid, thus using newHotelId
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Hotel . ':' . $newHotelId, self::FIELD_HotelOffer,
-                       self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
        }
 
        /**
@@ -355,13 +238,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyOnlyHotelChild() {
                $this->actionService->modifyRecord(self::TABLE_Hotel, 4, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyOnlyHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-               );
        }
 
        /**
@@ -370,13 +246,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyParentAndChangeHotelChildrenSorting() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, array(self::FIELD_ContentHotel => '4,3'));
-               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
-               );
        }
 
        /**
@@ -391,13 +260,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-               );
        }
 
        /**
@@ -412,13 +274,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => '__NEW', 'title' => 'Hotel #2'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
        }
 
        /**
@@ -432,17 +287,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                        array(self::FIELD_ContentHotel => '3'),
                        array(self::TABLE_Hotel => array(4))
                );
-               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureDoesNotHaveRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #2'
-               );
        }
 
 }
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/changeParentContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/changeParentContentSorting.csv
deleted file mode 100644 (file)
index 0bed213..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,512,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1024,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,128,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,256,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,512,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,16,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,32,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,128,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,256,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,512,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPage.csv
deleted file mode 100644 (file)
index 0d3218b..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",2
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,91,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-,7,91,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,2
-,8,91,2,0,0,0,0,0,0,0,0,"Hotel #2",300,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
-,10,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",7,tx_irretutorial_1nff_hotel,,3
-,11,91,2,0,0,0,0,0,0,0,0,"Offer #1.2",7,tx_irretutorial_1nff_hotel,,2
-,12,91,1,0,0,0,0,0,0,0,0,"Offer #2.1",8,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
-,14,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",9,tx_irretutorial_1nff_offer,
-,15,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",10,tx_irretutorial_1nff_offer,
-,16,91,2,0,0,0,0,0,0,0,0,"Price #1.1.2",10,tx_irretutorial_1nff_offer,
-,17,91,3,0,0,0,0,0,0,0,0,"Price #1.1.3",10,tx_irretutorial_1nff_offer,
-,18,91,1,0,0,0,0,0,0,0,0,"Price #1.2.1",11,tx_irretutorial_1nff_offer,
-,19,91,2,0,0,0,0,0,0,0,0,"Price #1.2.2",11,tx_irretutorial_1nff_offer,
-,20,91,1,0,0,0,0,0,0,0,0,"Price #2.1.1",12,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPageWHotelBeforeParentContent.csv
deleted file mode 100644 (file)
index cebc6c5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",2
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,91,2,0,0,0,0,0,0,0,0,"Hotel #2",300,tt_content,,1
-,7,91,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,2
-,8,91,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,91,1,0,0,0,0,0,0,0,0,"Offer #2.1",6,tx_irretutorial_1nff_hotel,,1
-,10,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",7,tx_irretutorial_1nff_hotel,,3
-,11,91,2,0,0,0,0,0,0,0,0,"Offer #1.2",7,tx_irretutorial_1nff_hotel,,2
-,12,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",8,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
-,14,91,1,0,0,0,0,0,0,0,0,"Price #2.1.1",9,tx_irretutorial_1nff_offer,
-,15,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",10,tx_irretutorial_1nff_offer,
-,16,91,2,0,0,0,0,0,0,0,0,"Price #1.1.2",10,tx_irretutorial_1nff_offer,
-,17,91,3,0,0,0,0,0,0,0,0,"Price #1.1.3",10,tx_irretutorial_1nff_offer,
-,18,91,1,0,0,0,0,0,0,0,0,"Price #1.2.1",11,tx_irretutorial_1nff_offer,
-,19,91,2,0,0,0,0,0,0,0,0,"Price #1.2.2",11,tx_irretutorial_1nff_offer,
-,20,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",12,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyParentContent.csv
deleted file mode 100644 (file)
index 173eefa..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
-,14,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",9,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index fff8ce1..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
-,300,89,64,0,0,0,0,0,0,0,0,"Testing #1 (copy 1)",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-,7,89,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,89,1,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
-,10,89,1,0,0,0,0,0,0,0,0,"Offer #1",7,tx_irretutorial_1nff_hotel,,0
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 58b3029..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
-,300,89,192,0,1,299,0,0,0,0,0,"[Translate to Dansk:] Testing #1",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,512,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,1536,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,768,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,1024,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-,7,89,1,0,1,6,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",300,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,512,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,1792,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,768,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,89,1280,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
-,10,89,1,0,1,9,0,0,0,0,0,"[Translate to Dansk:] Offer #1",7,tx_irretutorial_1nff_hotel,,0
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContent.csv
deleted file mode 100644 (file)
index 4bde1d3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 0028973..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,89,1,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deletePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deletePage.csv
deleted file mode 100644 (file)
index da051aa..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,1000000000,1,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deleteParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deleteParentContent.csv
deleted file mode 100644 (file)
index 87d99e4..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/localizeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/localizeParentContent.csv
deleted file mode 100644 (file)
index 08d8861..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,512,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,1280,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,768,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,1,0,1,5,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",299,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,512,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,1536,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,768,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-,9,89,1,0,1,8,0,0,0,0,0,"[Translate to Dansk:] Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,512,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,1792,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,2304,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,768,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2048,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1024,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
-,14,89,1,0,1,13,0,0,0,0,0,"[Translate to Dansk:] Price #1.1.1",9,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyOnlyHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyOnlyHotelChild.csv
deleted file mode 100644 (file)
index d8c3287..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Testing #1",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyPage.csv
deleted file mode 100644 (file)
index ed4fd56..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,"Testing #1"
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentContent.csv
deleted file mode 100644 (file)
index 5d8252f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Testing #1",1
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNAddHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNAddHotelChild.csv
deleted file mode 100644 (file)
index efe3809..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",2
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-,6,89,2,0,0,0,0,0,0,0,0,"Hotel #2",298,tt_content,,0
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv
deleted file mode 100644 (file)
index c8700a0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,2,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,1,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNDeleteHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNDeleteHotelChild.csv
deleted file mode 100644 (file)
index 3a5ca59..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",1
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChild.csv
deleted file mode 100644 (file)
index d8c3287..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Testing #1",297,tt_content,,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPage.csv
deleted file mode 100644 (file)
index ccff8ff..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv
deleted file mode 100644 (file)
index b1788ed..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
-,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1",2
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
-tx_irretutorial_1nff_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
-,3,90,64,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
-,4,90,128,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
-,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
-tx_irretutorial_1nff_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
-,5,90,32,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
-,6,90,64,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
-,7,90,128,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
-,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
-tx_irretutorial_1nff_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
-,7,90,4,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
-,8,90,8,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
-,9,90,16,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
-,10,90,32,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
-,11,90,64,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
-,12,90,128,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
-,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultElements.csv
new file mode 100644 (file)
index 0000000..bbf5c96
--- /dev/null
@@ -0,0 +1,28 @@
+"sys_language"
+,"uid","pid","hidden","title","flag"
+,1,0,0,"Dansk","dk"
+,2,0,0,"Deutsch","de"
+"tt_content"
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","tx_irretutorial_1nff_hotels"
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",1
+"tx_irretutorial_1nff_hotel"
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier","offers"
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,"tt_content",,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,"tt_content",,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,"tt_content",,1
+"tx_irretutorial_1nff_offer"
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier","prices"
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,"tx_irretutorial_1nff_hotel",,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,"tx_irretutorial_1nff_hotel",,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,"tx_irretutorial_1nff_hotel",,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,"tx_irretutorial_1nff_hotel",,1
+"tx_irretutorial_1nff_price"
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier"
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,"tx_irretutorial_1nff_offer",
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,"tx_irretutorial_1nff_offer",
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,"tx_irretutorial_1nff_offer",
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,"tx_irretutorial_1nff_offer",
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,"tx_irretutorial_1nff_offer",
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,"tx_irretutorial_1nff_offer",
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,"tx_irretutorial_1nff_offer",
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultPages.csv
new file mode 100644 (file)
index 0000000..17b04d4
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultElements.csv
deleted file mode 100644 (file)
index bbf5c96..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-"sys_language"
-,"uid","pid","hidden","title","flag"
-,1,0,0,"Dansk","dk"
-,2,0,0,"Deutsch","de"
-"tt_content"
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","tx_irretutorial_1nff_hotels"
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",1
-"tx_irretutorial_1nff_hotel"
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier","offers"
-,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,"tt_content",,2
-,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,"tt_content",,1
-,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,"tt_content",,1
-"tx_irretutorial_1nff_offer"
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier","prices"
-,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,"tx_irretutorial_1nff_hotel",,3
-,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,"tx_irretutorial_1nff_hotel",,2
-,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,"tx_irretutorial_1nff_hotel",,1
-,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,"tx_irretutorial_1nff_hotel",,1
-"tx_irretutorial_1nff_price"
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parentid","parenttable","parentidentifier"
-,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,"tx_irretutorial_1nff_offer",
-,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,"tx_irretutorial_1nff_offer",
-,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,"tx_irretutorial_1nff_offer",
-,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,"tx_irretutorial_1nff_offer",
-,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,"tx_irretutorial_1nff_offer",
-,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,"tx_irretutorial_1nff_offer",
-,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,"tx_irretutorial_1nff_offer",
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultPages.csv
deleted file mode 100644 (file)
index 17b04d4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/LiveActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/LiveActionTest.php
deleted file mode 100644 (file)
index 7b7588c..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\ForeignField;
-
-/***************************************************************
- * Copyright notice
- *
- * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
- * All rights reserved
- *
- * This script is part of the TYPO3 project. The TYPO3 project is
- * free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * The GNU General Public License can be found at
- * http://www.gnu.org/copyleft/gpl.html.
- *
- * This script is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-require_once dirname(__FILE__) . '/AbstractActionTestCase.php';
-
-/**
- * Functional test for the DataHandler
- */
-class LiveActionTest extends AbstractActionTestCase {
-
-       public function setUp() {
-               parent::setUp();
-               $this->backendUser->workspace = 0;
-       }
-
-}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php
new file mode 100644 (file)
index 0000000..ada6480
--- /dev/null
@@ -0,0 +1,363 @@
+<?php
+namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\ForeignField\Modify;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\ForeignField\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/';
+
+       /**
+        * Parent content records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecord.csv
+        */
+       public function createParentContent() {
+               parent::createParentContent();
+               $this->assertAssertionDataSet('createParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentContentRecord.csv
+        */
+       public function modifyParentContent() {
+               parent::modifyParentContent();
+               $this->assertAssertionDataSet('modifyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecord.csv
+        */
+       public function deleteParentContent() {
+               parent::deleteParentContent();
+               $this->assertAssertionDataSet('deleteParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyParentContentRecord.csv
+        */
+       public function copyParentContent() {
+               parent::copyParentContent();
+               $this->assertAssertionDataSet('copyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeParentContentRecord.csv
+        */
+       public function localizeParentContent() {
+               parent::localizeParentContent();
+               $this->assertAssertionDataSet('localizeParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeParentContentRecordSorting.csv
+        */
+       public function changeParentContentSorting() {
+               parent::changeParentContentSorting();
+               $this->assertAssertionDataSet('changeParentContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
+        */
+       public function moveParentContentToDifferentPage() {
+               parent::moveParentContentToDifferentPage();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveParentContentToDifferentPageAndChangeSorting() {
+               parent::moveParentContentToDifferentPageAndChangeSorting();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
+               $this->assertContains('PageNotFoundException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               parent::copyPage();
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageWHotelBeforeParentContent.csv
+        */
+       public function copyPageWithHotelBeforeParentContent() {
+               parent::copyPageWithHotelBeforeParentContent();
+               $this->assertAssertionDataSet('copyPageWHotelBeforeParentContent');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * IRRE Child Records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createParentContentWithHotelAndOfferChildren() {
+               parent::createParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildren() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['copiedContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'], self::FIELD_HotelOffer,
+                       self::TABLE_Offer, 'title', 'Offer #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               // Content record gets overlaid, thus using newContentId
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
+               );
+               // Hotel record gets overlaid, thus using newHotelId
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['newHotelId'], self::FIELD_HotelOffer,
+                       self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
+        */
+       public function modifyOnlyHotelChild() {
+               parent::modifyOnlyHotelChild();
+               $this->assertAssertionDataSet('modifyOnlyHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
+        */
+       public function modifyParentAndChangeHotelChildrenSorting() {
+               parent::modifyParentAndChangeHotelChildrenSorting();
+               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
+        */
+       public function modifyParentWithHotelChild() {
+               parent::modifyParentWithHotelChild();
+               $this->assertAssertionDataSet('modifyParentNHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv
+        */
+       public function modifyParentAndAddHotelChild() {
+               parent::modifyParentAndAddHotelChild();
+               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv
+        */
+       public function modifyParentAndDeleteHotelChild() {
+               parent::modifyParentAndDeleteHotelChild();
+               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #2'
+               );
+       }
+
+}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/changeParentContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/changeParentContentSorting.csv
new file mode 100644 (file)
index 0000000..0bed213
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,512,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1024,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,128,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,256,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,512,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,16,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,32,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,128,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,256,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,512,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPage.csv
new file mode 100644 (file)
index 0000000..0d3218b
--- /dev/null
@@ -0,0 +1,47 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",2
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,91,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+,7,91,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,2
+,8,91,2,0,0,0,0,0,0,0,0,"Hotel #2",300,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
+,10,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",7,tx_irretutorial_1nff_hotel,,3
+,11,91,2,0,0,0,0,0,0,0,0,"Offer #1.2",7,tx_irretutorial_1nff_hotel,,2
+,12,91,1,0,0,0,0,0,0,0,0,"Offer #2.1",8,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
+,14,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",9,tx_irretutorial_1nff_offer,
+,15,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",10,tx_irretutorial_1nff_offer,
+,16,91,2,0,0,0,0,0,0,0,0,"Price #1.1.2",10,tx_irretutorial_1nff_offer,
+,17,91,3,0,0,0,0,0,0,0,0,"Price #1.1.3",10,tx_irretutorial_1nff_offer,
+,18,91,1,0,0,0,0,0,0,0,0,"Price #1.2.1",11,tx_irretutorial_1nff_offer,
+,19,91,2,0,0,0,0,0,0,0,0,"Price #1.2.2",11,tx_irretutorial_1nff_offer,
+,20,91,1,0,0,0,0,0,0,0,0,"Price #2.1.1",12,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPageWHotelBeforeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPageWHotelBeforeParentContent.csv
new file mode 100644 (file)
index 0000000..cebc6c5
--- /dev/null
@@ -0,0 +1,47 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",2
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,91,2,0,0,0,0,0,0,0,0,"Hotel #2",300,tt_content,,1
+,7,91,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,2
+,8,91,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,91,1,0,0,0,0,0,0,0,0,"Offer #2.1",6,tx_irretutorial_1nff_hotel,,1
+,10,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",7,tx_irretutorial_1nff_hotel,,3
+,11,91,2,0,0,0,0,0,0,0,0,"Offer #1.2",7,tx_irretutorial_1nff_hotel,,2
+,12,91,1,0,0,0,0,0,0,0,0,"Offer #1.1",8,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
+,14,91,1,0,0,0,0,0,0,0,0,"Price #2.1.1",9,tx_irretutorial_1nff_offer,
+,15,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",10,tx_irretutorial_1nff_offer,
+,16,91,2,0,0,0,0,0,0,0,0,"Price #1.1.2",10,tx_irretutorial_1nff_offer,
+,17,91,3,0,0,0,0,0,0,0,0,"Price #1.1.3",10,tx_irretutorial_1nff_offer,
+,18,91,1,0,0,0,0,0,0,0,0,"Price #1.2.1",11,tx_irretutorial_1nff_offer,
+,19,91,2,0,0,0,0,0,0,0,0,"Price #1.2.2",11,tx_irretutorial_1nff_offer,
+,20,91,1,0,0,0,0,0,0,0,0,"Price #1.1.1",12,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyParentContent.csv
new file mode 100644 (file)
index 0000000..173eefa
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
+,14,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",9,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..fff8ce1
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
+,300,89,64,0,0,0,0,0,0,0,0,"Testing #1 (copy 1)",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+,7,89,1,0,0,0,0,0,0,0,0,"Hotel #1",300,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,89,1,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
+,10,89,1,0,0,0,0,0,0,0,0,"Offer #1",7,tx_irretutorial_1nff_hotel,,0
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..58b3029
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
+,300,89,192,0,1,299,0,0,0,0,0,"[Translate to Dansk:] Testing #1",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,512,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,1536,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,768,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,1024,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+,7,89,1,0,1,6,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",300,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,512,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,1792,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,768,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,89,1280,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
+,10,89,1,0,1,9,0,0,0,0,0,"[Translate to Dansk:] Offer #1",7,tx_irretutorial_1nff_hotel,,0
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContent.csv
new file mode 100644 (file)
index 0000000..4bde1d3
--- /dev/null
@@ -0,0 +1,5 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..0028973
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,1,0,0,0,0,0,0,0,0,"Hotel #1",299,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,89,1,0,0,0,0,0,0,0,0,"Offer #1",6,tx_irretutorial_1nff_hotel,,0
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deletePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deletePage.csv
new file mode 100644 (file)
index 0000000..da051aa
--- /dev/null
@@ -0,0 +1,30 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,1000000000,1,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deleteParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deleteParentContent.csv
new file mode 100644 (file)
index 0000000..87d99e4
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContent.csv
new file mode 100644 (file)
index 0000000..08d8861
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,512,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,1280,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,768,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,1,0,1,5,0,0,0,0,0,"[Translate to Dansk:] Hotel #1",299,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,512,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,1536,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,768,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1024,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+,9,89,1,0,1,8,0,0,0,0,0,"[Translate to Dansk:] Offer #1.1",6,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,512,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,1792,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,2304,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,768,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2048,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1024,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
+,14,89,1,0,1,13,0,0,0,0,0,"[Translate to Dansk:] Price #1.1.1",9,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyOnlyHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyOnlyHotelChild.csv
new file mode 100644 (file)
index 0000000..d8c3287
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Testing #1",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyPage.csv
new file mode 100644 (file)
index 0000000..ed4fd56
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,"Testing #1"
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentContent.csv
new file mode 100644 (file)
index 0000000..5d8252f
--- /dev/null
@@ -0,0 +1,4 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Testing #1",1
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNAddHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNAddHotelChild.csv
new file mode 100644 (file)
index 0000000..efe3809
--- /dev/null
@@ -0,0 +1,25 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",2
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+,6,89,2,0,0,0,0,0,0,0,0,"Hotel #2",298,tt_content,,0
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv
new file mode 100644 (file)
index 0000000..c8700a0
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,2,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,1,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv
new file mode 100644 (file)
index 0000000..3a5ca59
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",1
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChild.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChild.csv
new file mode 100644 (file)
index 0000000..d8c3287
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Testing #1",297,tt_content,,1
+,5,89,1,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPage.csv
new file mode 100644 (file)
index 0000000..ccff8ff
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,89,1,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,89,2,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,89,1,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,89,2,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,89,1,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,89,1,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,89,2,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,89,3,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,89,1,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,89,2,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,89,1,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv
new file mode 100644 (file)
index 0000000..b1788ed
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1nff_hotels
+,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1",2
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",1
+tx_irretutorial_1nff_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,offers
+,3,90,64,0,0,0,0,0,0,0,0,"Hotel #1",297,tt_content,,2
+,4,90,128,0,0,0,0,0,0,0,0,"Hotel #2",297,tt_content,,1
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",298,tt_content,,1
+tx_irretutorial_1nff_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier,prices
+,5,90,32,0,0,0,0,0,0,0,0,"Offer #1.1",3,tx_irretutorial_1nff_hotel,,3
+,6,90,64,0,0,0,0,0,0,0,0,"Offer #1.2",3,tx_irretutorial_1nff_hotel,,2
+,7,90,128,0,0,0,0,0,0,0,0,"Offer #2.1",4,tx_irretutorial_1nff_hotel,,1
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",5,tx_irretutorial_1nff_hotel,,1
+tx_irretutorial_1nff_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parentid,parenttable,parentidentifier
+,7,90,4,0,0,0,0,0,0,0,0,"Price #1.1.1",5,tx_irretutorial_1nff_offer,
+,8,90,8,0,0,0,0,0,0,0,0,"Price #1.1.2",5,tx_irretutorial_1nff_offer,
+,9,90,16,0,0,0,0,0,0,0,0,"Price #1.1.3",5,tx_irretutorial_1nff_offer,
+,10,90,32,0,0,0,0,0,0,0,0,"Price #1.2.1",6,tx_irretutorial_1nff_offer,
+,11,90,64,0,0,0,0,0,0,0,0,"Price #1.2.2",6,tx_irretutorial_1nff_offer,
+,12,90,128,0,0,0,0,0,0,0,0,"Price #2.1.1",7,tx_irretutorial_1nff_offer,
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1",8,tx_irretutorial_1nff_offer,
index df63623..72f8b81 100644 (file)
@@ -47,12 +47,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/';
-
-       /**
-        * @var string
-        */
-       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/';
 
        public function setUp() {
                parent::setUp();
@@ -60,6 +55,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->importScenarioDataSet('LiveDefaultElements');
 
                $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
+               $this->backendUser->workspace = 0;
        }
 
        /**
@@ -74,13 +70,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->actionService->modifyReferences(
                        self::TABLE_Content, self::VALUE_ContentIdFirst, 'categories', array(self::VALUE_CategoryIdFirst, self::VALUE_CategoryIdSecond, 31)
                );
-               $this->assertAssertionDataSet('addCategoryRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A', 'Category B', 'Category A.A')
-               );
        }
 
        /**
@@ -91,17 +80,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->actionService->modifyReferences(
                        self::TABLE_Content, self::VALUE_ContentIdFirst, 'categories', array(self::VALUE_CategoryIdFirst)
                );
-               $this->assertAssertionDataSet('deleteCategoryRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A')
-               );
-               $this->assertResponseContentStructureDoesNotHaveRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category B', 'Category C', 'Category A.A')
-               );
        }
 
        /**
@@ -112,13 +90,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->actionService->modifyReferences(
                        self::TABLE_Content, self::VALUE_ContentIdFirst, 'categories', array(self::VALUE_CategoryIdSecond, self::VALUE_CategoryIdFirst)
                );
-               $this->assertAssertionDataSet('changeCategoryRelationSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A', 'Category B')
-               );
        }
 
        /**
@@ -127,13 +98,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyCategoryOfRelation() {
                $this->actionService->modifyRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyCategoryOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Testing #1', 'Category B')
-               );
        }
 
        /**
@@ -142,10 +106,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyContentOfRelation() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyContentOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -155,14 +115,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function modifyBothsOfRelation() {
                $this->actionService->modifyRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst, array('title' => 'Testing #1'));
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyBothsOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Testing #1', 'Category B')
-               );
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -171,10 +123,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deleteContentOfRelation() {
                $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('deleteContentOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -183,13 +131,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deleteCategoryOfRelation() {
                $this->actionService->deleteRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst);
-               $this->assertAssertionDataSet('deleteCategoryOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureDoesNotHaveRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A')
-               );
        }
 
        /**
@@ -198,14 +139,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyContentOfRelation() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageId);
-               $this->assertAssertionDataSet('copyContentOfRelation');
-
-               $newContentId = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, 'categories',
-                       self::TABLE_Category, 'title', array('Category B', 'Category C')
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
        }
 
        /**
@@ -214,13 +148,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyCategoryOfRelation() {
                $this->actionService->copyRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst, 0);
-               $this->assertAssertionDataSet('copyCategoryOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A', 'Category A (copy 1)')
-               );
        }
 
        /**
@@ -229,13 +156,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizeContentOfRelation() {
                $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeContentOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, 'categories',
-                       self::TABLE_Category, 'title', array('Category B', 'Category C')
-               );
        }
 
        /**
@@ -244,13 +164,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizeCategoryOfRelation() {
                $this->actionService->localizeRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeCategoryOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('[Translate to Dansk:] Category A', 'Category B')
-               );
        }
 
        /**
@@ -259,13 +172,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function moveContentOfRelationToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('moveContentOfRelationToDifferentPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, 'categories',
-                       self::TABLE_Category, 'title', array('Category B', 'Category C')
-               );
        }
 
        /**
@@ -277,19 +183,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
                $this->recordIds['newContentIdFirst'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdFirst];
                $this->recordIds['newContentIdLast'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
-               $this->assertAssertionDataSet('copyPage');
-
-               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentIdFirst'], 'categories',
-                       self::TABLE_Category, 'title', array('Category A', 'Category B')
-               );
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentIdLast'], 'categories',
-                       self::TABLE_Category, 'title', array('Category B', 'Category C')
-               );
        }
 
 }
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/addCategoryRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/addCategoryRelation.csv
deleted file mode 100644 (file)
index 50043b2..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,31,297,tt_content,0,3,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,3
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/changeCategoryRelationSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/changeCategoryRelationSorting.csv
deleted file mode 100644 (file)
index fdaa519..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,2,categories
-,29,297,tt_content,0,1,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyCategoryOfRelation.csv
deleted file mode 100644 (file)
index 67027fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-,32,0,128,0,0,0,0,0,0,0,0,"Category A (copy 1)",0,1
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,32,297,tt_content,1,0,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyContentOfRelation.csv
deleted file mode 100644 (file)
index 1e75ab5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,29,299,tt_content,0,1,categories
-,30,299,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
-,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyPage.csv
deleted file mode 100644 (file)
index 83e8b71..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,29,299,tt_content,0,1,categories
-,30,299,tt_content,0,2,categories
-,28,300,tt_content,0,1,categories
-,29,300,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",0,2
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryOfRelation.csv
deleted file mode 100644 (file)
index 7316556..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,1000000000,1,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryRelation.csv
deleted file mode 100644 (file)
index a098472..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,1
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteContentOfRelation.csv
deleted file mode 100644 (file)
index 0e7ad2f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeCategoryOfRelation.csv
deleted file mode 100644 (file)
index d4e94c7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-,32,0,384,0,1,28,0,0,0,0,0,"[Translate to Dansk:] Category A",0,1
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,32,297,tt_content,1,0,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeContentOfRelation.csv
deleted file mode 100644 (file)
index 50272d2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-,29,299,tt_content,0,1,categories
-,30,299,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
-,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyBothsOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyBothsOfRelation.csv
deleted file mode 100644 (file)
index 3887415..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Testing #1",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Testing #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyCategoryOfRelation.csv
deleted file mode 100644 (file)
index 1cf434f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Testing #1",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyContentOfRelation.csv
deleted file mode 100644 (file)
index 96f947f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Testing #1",,2
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/moveContentOfRelationToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/moveContentOfRelationToDifferentPage.csv
deleted file mode 100644 (file)
index 81f18da..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-sys_category
-,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
-sys_category_record_mm
-,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
-,28,297,tt_content,0,1,categories
-,29,297,tt_content,0,2,categories
-,29,298,tt_content,0,1,categories
-,30,298,tt_content,0,2,categories
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultElements.csv
new file mode 100644 (file)
index 0000000..2686e8c
--- /dev/null
@@ -0,0 +1,20 @@
+"sys_language",,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,
+"sys_category",,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l10n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parent","items",
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0,
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0,
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0,
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0,
+"sys_category_record_mm",,,,,,,,,,,,,,,
+,"uid_local","uid_foreign","tablenames","sorting","sorting_foreign","fieldname",,,,,,,,,
+,28,297,"tt_content",0,1,"categories",,,,,,,,,
+,29,297,"tt_content",0,2,"categories",,,,,,,,,
+,29,298,"tt_content",0,1,"categories",,,,,,,,,
+,30,298,"tt_content",0,2,"categories",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",2,0
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",2,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultPages.csv
new file mode 100644 (file)
index 0000000..17b04d4
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultElements.csv
deleted file mode 100644 (file)
index 2686e8c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-"sys_language",,,,,,,,,,,,,,,
-,"uid","pid","hidden","title","flag",,,,,,,,,,
-,1,0,0,"Dansk","dk",,,,,,,,,,
-,2,0,0,"Deutsch","de",,,,,,,,,,
-"sys_category",,,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l10n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parent","items",
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0,
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0,
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0,
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0,
-"sys_category_record_mm",,,,,,,,,,,,,,,
-,"uid_local","uid_foreign","tablenames","sorting","sorting_foreign","fieldname",,,,,,,,,
-,28,297,"tt_content",0,1,"categories",,,,,,,,,
-,29,297,"tt_content",0,2,"categories",,,,,,,,,
-,29,298,"tt_content",0,1,"categories",,,,,,,,,
-,30,298,"tt_content",0,2,"categories",,,,,,,,,
-"tt_content",,,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",2,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",2,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultPages.csv
deleted file mode 100644 (file)
index 17b04d4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/LiveActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/LiveActionTest.php
deleted file mode 100644 (file)
index 7057e6d..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\ManyToMany;
-
-/***************************************************************
- * Copyright notice
- *
- * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
- * All rights reserved
- *
- * This script is part of the TYPO3 project. The TYPO3 project is
- * free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * The GNU General Public License can be found at
- * http://www.gnu.org/copyleft/gpl.html.
- *
- * This script is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-require_once dirname(__FILE__) . '/AbstractActionTestCase.php';
-
-/**
- * Functional test for the DataHandler
- */
-class LiveActionTest extends AbstractActionTestCase {
-
-       public function setUp() {
-               parent::setUp();
-               $this->backendUser->workspace = 0;
-       }
-
-       /**
-        * @test
-        * @see DataSet/Assertion/copyCategoryRecordOfCategoryRelation.csv
-        */
-       public function copyCategoryOfRelation() {
-               $this->actionService->copyRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst, 0);
-               $this->assertAssertionDataSet('copyCategoryOfRelation');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
-                       self::TABLE_Category, 'title', array('Category A', 'Category A (copy 1)')
-               );
-       }
-
-}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/ActionTest.php
new file mode 100644 (file)
index 0000000..453131d
--- /dev/null
@@ -0,0 +1,258 @@
+<?php
+namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\ManyToMany\Modify;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Core\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/';
+
+       /**
+        * MM Relations
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/addCategoryRelation.csv
+        */
+       public function addCategoryRelation() {
+               parent::addCategoryRelation();
+               $this->assertAssertionDataSet('addCategoryRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category A', 'Category B', 'Category A.A')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteCategoryRelation.csv
+        */
+       public function deleteCategoryRelation() {
+               parent::deleteCategoryRelation();
+               $this->assertAssertionDataSet('deleteCategoryRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category A')
+               );
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category B', 'Category C', 'Category A.A')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeCategoryRelationSorting.csv
+        */
+       public function changeCategoryRelationSorting() {
+               parent::changeCategoryRelationSorting();
+               $this->assertAssertionDataSet('changeCategoryRelationSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category A', 'Category B')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyCategoryRecordOfCategoryRelation.csv
+        */
+       public function modifyCategoryOfRelation() {
+               parent::modifyCategoryOfRelation();
+               $this->assertAssertionDataSet('modifyCategoryOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Testing #1', 'Category B')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyContentRecordOfCategoryRelation.csv
+        */
+       public function modifyContentOfRelation() {
+               parent::modifyContentOfRelation();
+               $this->assertAssertionDataSet('modifyContentOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyBothRecordsOfCategoryRelation.csv
+        */
+       public function modifyBothsOfRelation() {
+               parent::modifyBothsOfRelation();
+               $this->assertAssertionDataSet('modifyBothsOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Testing #1', 'Category B')
+               );
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteContentRecordOfCategoryRelation.csv
+        */
+       public function deleteContentOfRelation() {
+               parent::deleteContentOfRelation();
+               $this->assertAssertionDataSet('deleteContentOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteCategoryRecordOfCategoryRelation.csv
+        */
+       public function deleteCategoryOfRelation() {
+               parent::deleteCategoryOfRelation();
+               $this->assertAssertionDataSet('deleteCategoryOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category A')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyContentRecordOfCategoryRelation.csv
+        */
+       public function copyContentOfRelation() {
+               parent::copyContentOfRelation();
+               $this->assertAssertionDataSet('copyContentOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], 'categories',
+                       self::TABLE_Category, 'title', array('Category B', 'Category C')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyCategoryRecordOfCategoryRelation.csv
+        */
+       public function copyCategoryOfRelation() {
+               parent::copyCategoryOfRelation();
+               $this->assertAssertionDataSet('copyCategoryOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('Category A', 'Category A (copy 1)')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeContentRecordOfCategoryRelation.csv
+        */
+       public function localizeContentOfRelation() {
+               parent::localizeContentOfRelation();
+               $this->assertAssertionDataSet('localizeContentOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, 'categories',
+                       self::TABLE_Category, 'title', array('Category B', 'Category C')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeCategoryRecordOfCategoryRelation.csv
+        */
+       public function localizeCategoryOfRelation() {
+               parent::localizeCategoryOfRelation();
+               $this->assertAssertionDataSet('localizeCategoryOfRelation');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, 'categories',
+                       self::TABLE_Category, 'title', array('[Translate to Dansk:] Category A', 'Category B')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveContentRecordOfCategoryRelationToDifferentPage.csv
+        */
+       public function moveContentOfRelationToDifferentPage() {
+               parent::moveContentOfRelationToDifferentPage();
+               $this->assertAssertionDataSet('moveContentOfRelationToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, 'categories',
+                       self::TABLE_Category, 'title', array('Category B', 'Category C')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPage.csv
+        */
+       public function copyPage() {
+               parent::copyPage();
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentIdFirst'], 'categories',
+                       self::TABLE_Category, 'title', array('Category A', 'Category B')
+               );
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentIdLast'], 'categories',
+                       self::TABLE_Category, 'title', array('Category B', 'Category C')
+               );
+       }
+
+}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/addCategoryRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/addCategoryRelation.csv
new file mode 100644 (file)
index 0000000..50043b2
--- /dev/null
@@ -0,0 +1,17 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,31,297,tt_content,0,3,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,3
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/changeCategoryRelationSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/changeCategoryRelationSorting.csv
new file mode 100644 (file)
index 0000000..fdaa519
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,2,categories
+,29,297,tt_content,0,1,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyCategoryOfRelation.csv
new file mode 100644 (file)
index 0000000..67027fc
--- /dev/null
@@ -0,0 +1,18 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+,32,0,128,0,0,0,0,0,0,0,0,"Category A (copy 1)",0,1
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,32,297,tt_content,1,0,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyContentOfRelation.csv
new file mode 100644 (file)
index 0000000..1e75ab5
--- /dev/null
@@ -0,0 +1,19 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,29,299,tt_content,0,1,categories
+,30,299,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
+,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyPage.csv
new file mode 100644 (file)
index 0000000..83e8b71
--- /dev/null
@@ -0,0 +1,29 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,29,299,tt_content,0,1,categories
+,30,299,tt_content,0,2,categories
+,28,300,tt_content,0,1,categories
+,29,300,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
+,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",0,2
+,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryOfRelation.csv
new file mode 100644 (file)
index 0000000..7316556
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,1000000000,1,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryRelation.csv
new file mode 100644 (file)
index 0000000..a098472
--- /dev/null
@@ -0,0 +1,15 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,1
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteContentOfRelation.csv
new file mode 100644 (file)
index 0000000..0e7ad2f
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeCategoryOfRelation.csv
new file mode 100644 (file)
index 0000000..d4e94c7
--- /dev/null
@@ -0,0 +1,18 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+,32,0,384,0,1,28,0,0,0,0,0,"[Translate to Dansk:] Category A",0,1
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,32,297,tt_content,1,0,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelation.csv
new file mode 100644 (file)
index 0000000..50272d2
--- /dev/null
@@ -0,0 +1,19 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+,29,299,tt_content,0,1,categories
+,30,299,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
+,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",0,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyBothsOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyBothsOfRelation.csv
new file mode 100644 (file)
index 0000000..3887415
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Testing #1",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Testing #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyCategoryOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyCategoryOfRelation.csv
new file mode 100644 (file)
index 0000000..1cf434f
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Testing #1",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyContentOfRelation.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyContentOfRelation.csv
new file mode 100644 (file)
index 0000000..96f947f
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Testing #1",,2
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,2
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/moveContentOfRelationToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/moveContentOfRelationToDifferentPage.csv
new file mode 100644 (file)
index 0000000..81f18da
--- /dev/null
@@ -0,0 +1,16 @@
+sys_category
+,uid,pid,sorting,deleted,sys_language_uid,l10n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,parent,items
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0
+sys_category_record_mm
+,uid_local,uid_foreign,tablenames,sorting,sorting_foreign,fieldname
+,28,297,tt_content,0,1,categories
+,29,297,tt_content,0,2,categories
+,29,298,tt_content,0,1,categories
+,30,298,tt_content,0,2,categories
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,2
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",,2
index 11a3d13..657bb6b 100644 (file)
@@ -44,12 +44,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/';
-
-       /**
-        * @var string
-        */
-       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/';
 
        public function setUp() {
                parent::setUp();
@@ -57,6 +52,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->importScenarioDataSet('LiveDefaultElements');
 
                $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
+               $this->backendUser->workspace = 0;
        }
 
        /**
@@ -72,10 +68,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
                // Creating record at the end of the page (after last one)
                $this->actionService->createNewRecord(self::TABLE_Content, -self::VALUE_ContentIdLast, array('header' => 'Testing #2'));
-               $this->assertAssertionDataSet('createContents');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Testing #1', 'Testing #2'));
        }
 
        /**
@@ -84,10 +76,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyContent() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
        }
 
        /**
@@ -96,11 +84,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deleteContent() {
                $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('deleteContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
@@ -109,10 +92,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyContent() {
                $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageId);
-               $this->assertAssertionDataSet('copyContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2 (copy 1)');
        }
 
        /**
@@ -121,10 +100,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizeContent() {
                $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
        }
 
        /**
@@ -133,10 +108,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function changeContentSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('changeContentSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
        }
 
        /**
@@ -145,12 +116,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function moveContentToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('moveContentToDifferentPage');
-
-               $responseContentSource = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContentSource, self::TABLE_Content, 'header', 'Regular Element #1');
-               $responseContentTarget = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContentTarget, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
@@ -160,10 +125,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function moveContentToDifferentPageAndChangeSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('moveContentToDifferentPageNChangeSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
        }
 
        /**
@@ -176,11 +137,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function createPage() {
                $newTableIds = $this->actionService->createNewRecord(self::TABLE_Page, self::VALUE_PageId, array('title' => 'Testing #1', 'hidden' => 0));
-               $this->assertAssertionDataSet('createPage');
-
-               $newPageId = $newTableIds[self::TABLE_Page][0];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][0];
        }
 
        /**
@@ -189,10 +146,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function modifyPage() {
                $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
        }
 
        /**
@@ -201,10 +154,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function deletePage() {
                $this->actionService->deleteRecord(self::TABLE_Page, self::VALUE_PageId);
-               $this->assertAssertionDataSet('deletePage');
-
-               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
-               $this->assertContains('PageNotFoundException', $response->getError());
        }
 
        /**
@@ -213,11 +162,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function copyPage() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPage');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -226,10 +171,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function localizePage() {
                $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizePage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', '[Translate to Dansk:] Relations');
        }
 
        /**
@@ -238,11 +179,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function changePageSorting() {
                $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, -self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('changePageSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
        }
 
        /**
@@ -251,11 +187,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        public function movePageToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('movePageToDifferentPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
        }
 
        /**
@@ -265,11 +196,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function movePageToDifferentPageAndChangeSorting() {
                $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageIdTarget, self::VALUE_PageIdWebsite);
                $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, -self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('movePageToDifferentPageNChangeSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
        }
 
 }
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changeContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changeContentSorting.csv
deleted file mode 100644 (file)
index 0b19328..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changePageSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changePageSorting.csv
deleted file mode 100644 (file)
index 2e0b236..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,768,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyContent.csv
deleted file mode 100644 (file)
index f8ede5d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
-,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",0,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyPage.csv
deleted file mode 100644 (file)
index 3a8b5f2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,0,0,0,0,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0
-,299,91,256,0,0,0,0,0,0,0,0,"Regular Element #2",0,0
-,300,91,128,0,0,0,0,0,0,0,0,"Regular Element #1",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createContents.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createContents.csv
deleted file mode 100644 (file)
index 136b3ae..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-"tt_content",,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
-,299,89,128,0,0,0,0,0,0,0,0,"Testing #1","\NULL",0,0
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",0,0
-,300,89,768,0,0,0,0,0,0,0,0,"Testing #2","\NULL",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createPage.csv
deleted file mode 100644 (file)
index 3d981dd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,89,256,0,0,0,0,0,0,"Testing #1"
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deleteContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deleteContent.csv
deleted file mode 100644 (file)
index b4ed571..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-"tt_content",,,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",0,0
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2","\NULL",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deletePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deletePage.csv
deleted file mode 100644 (file)
index 7a618b4..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,1000000000,1,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizeContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizeContent.csv
deleted file mode 100644 (file)
index 34168d1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
-,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",0,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizePage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizePage.csv
deleted file mode 100644 (file)
index 30a21bf..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-pages_language_overlay
-,uid,pid,deleted,sys_language_uid,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,title
-,1,89,0,1,0,0,0,0,"[Translate to Dansk:] Relations"
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyContent.csv
deleted file mode 100644 (file)
index 7bfc48b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-"tt_content",,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Testing #1","\NULL",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyPage.csv
deleted file mode 100644 (file)
index ed4fd56..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,"Testing #1"
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPage.csv
deleted file mode 100644 (file)
index 46b8a5f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPageNChangeSorting.csv
deleted file mode 100644 (file)
index 4a1cb35..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPage.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPage.csv
deleted file mode 100644 (file)
index 8896718..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,90,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPageNChangeSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPageNChangeSorting.csv
deleted file mode 100644 (file)
index cec2f31..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,1,192,0,0,0,0,0,0,Relations
-,90,1,128,0,0,0,0,0,0,Target
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultElements.csv
new file mode 100644 (file)
index 0000000..ab3220d
--- /dev/null
@@ -0,0 +1,14 @@
+"sys_language",,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,
+"sys_category",,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l10n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parent","items",
+,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0,
+,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0,
+,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0,
+,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0,
+"tt_content",,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",0,0
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultPages.csv
new file mode 100644 (file)
index 0000000..17b04d4
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultElements.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultElements.csv
deleted file mode 100644 (file)
index ab3220d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-"sys_language",,,,,,,,,,,,,,,
-,"uid","pid","hidden","title","flag",,,,,,,,,,
-,1,0,0,"Dansk","dk",,,,,,,,,,
-,2,0,0,"Deutsch","de",,,,,,,,,,
-"sys_category",,,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l10n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title","parent","items",
-,28,0,256,0,0,0,0,0,0,0,0,"Category A",0,0,
-,29,0,512,0,0,0,0,0,0,0,0,"Category B",0,0,
-,30,0,768,0,0,0,0,0,0,0,0,"Category C",0,0,
-,31,0,1024,0,0,0,0,0,0,0,0,"Category A.A",28,0,
-"tt_content",,,,,,,,,,,,,,,
-,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header","image","categories","tx_irretutorial_1nff_hotels"
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","\NULL",0,0
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2","\NULL",0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultPages.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultPages.csv
deleted file mode 100644 (file)
index 17b04d4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/LiveActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/LiveActionTest.php
deleted file mode 100644 (file)
index 4e989cc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular;
-
-/***************************************************************
- * Copyright notice
- *
- * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
- * All rights reserved
- *
- * This script is part of the TYPO3 project. The TYPO3 project is
- * free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * The GNU General Public License can be found at
- * http://www.gnu.org/copyleft/gpl.html.
- *
- * This script is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-require_once dirname(__FILE__) . '/AbstractActionTestCase.php';
-
-/**
- * Functional test for the DataHandler
- */
-class LiveActionTest extends AbstractActionTestCase {
-
-       public function setUp() {
-               parent::setUp();
-               $this->backendUser->workspace = 0;
-       }
-
-}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
new file mode 100644 (file)
index 0000000..c3ff2c9
--- /dev/null
@@ -0,0 +1,245 @@
+<?php
+namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\Modify;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/';
+
+       /**
+        * Content records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createContentRecords.csv
+        */
+       public function createContents() {
+               parent::createContents();
+               $this->assertAssertionDataSet('createContents');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Testing #1', 'Testing #2'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyContentRecord.csv
+        */
+       public function modifyContent() {
+               parent::modifyContent();
+               $this->assertAssertionDataSet('modifyContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteContentRecord.csv
+        */
+       public function deleteContent() {
+               parent::deleteContent();
+               $this->assertAssertionDataSet('deleteContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyContentRecord.csv
+        */
+       public function copyContent() {
+               parent::copyContent();
+               $this->assertAssertionDataSet('copyContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2 (copy 1)');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeContentRecord.csv
+        */
+       public function localizeContent() {
+               parent::localizeContent();
+               $this->assertAssertionDataSet('localizeContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeContentRecordSorting.csv
+        */
+       public function changeContentSorting() {
+               parent::changeContentSorting();
+               $this->assertAssertionDataSet('changeContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveContentRecordToDifferentPage.csv
+        */
+       public function moveContentToDifferentPage() {
+               parent::moveContentToDifferentPage();
+               $this->assertAssertionDataSet('moveContentToDifferentPage');
+
+               $responseContentSource = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContentSource, self::TABLE_Content, 'header', 'Regular Element #1');
+               $responseContentTarget = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContentTarget, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveContentToDifferentPageAndChangeSorting() {
+               parent::moveContentToDifferentPageAndChangeSorting();
+               $this->assertAssertionDataSet('moveContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createPageRecord.csv
+        */
+       public function createPage() {
+               parent::createPage();
+               $this->assertAssertionDataSet('createPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
+               $this->assertContains('PageNotFoundException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               parent::copyPage();
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'])->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizePageRecord.csv
+        */
+       public function localizePage() {
+               parent::localizePage();
+               $this->assertAssertionDataSet('localizePage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', '[Translate to Dansk:] Relations');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changePageRecordSorting.csv
+        */
+       public function changePageSorting() {
+               parent::changePageSorting();
+               $this->assertAssertionDataSet('changePageSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/movePageRecordToDifferentPage.csv
+        */
+       public function movePageToDifferentPage() {
+               parent::movePageToDifferentPage();
+               $this->assertAssertionDataSet('movePageToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/movePageRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function movePageToDifferentPageAndChangeSorting() {
+               parent::movePageToDifferentPageAndChangeSorting();
+               $this->assertAssertionDataSet('movePageToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Relations');
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #1', 'Regular Element #2'));
+       }
+
+}
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSorting.csv
new file mode 100644 (file)
index 0000000..0b19328
--- /dev/null
@@ -0,0 +1,4 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,categories,tx_irretutorial_1nff_hotels
+,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1",,0,0
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,0,0
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changePageSorting.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/changePageSorting.csv
new file mode 100644 (file)
index 0000000..2e0b236
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,768,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContent.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContent.csv
new