[TASK] Align impexp functional export tests between db engines 41/57141/7
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 7 Jun 2018 17:37:23 +0000 (19:37 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 7 Jun 2018 18:43:40 +0000 (20:43 +0200)
commit965c6515d6f69721ef7207c4ef41a63800f4959d
tree9ff0630accbce5c4c8a69dff2b701fa1e6b10790
parent7332e5bfed79c0f5f3ff78b1cc1e85ca9ce55c58
[TASK] Align impexp functional export tests between db engines

The ext:impexp related functional export tests compare
with different target .xml file exports depending on
the used db engine. This is ugly and pain to maintain.

The patch aligns last differences between the generated
exports by fixing sorting bugs in fixture db rows and adding
an explicit order by at test preparation stage.
Additionally, a column type bug in irre_tutorial fixture
extension got resolved.

The different .xml export file comparison fixtures per
db engine are then merged into one and the split logic
within tests removed.

Change-Id: I429d5127e09c3e3714edae938cb0bf796b3274fd
Resolves: #85178
Releases: master
Reviewed-on: https://review.typo3.org/57141
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
41 files changed:
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/ext_tables.sql
typo3/sysext/impexp/Tests/Functional/AbstractImportExportTestCase.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItemInFlexFormTest.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItemTest.php
typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php
typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseAssertions/importIrreRecords.csv
typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseImports/irre_tutorial.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/impexp-group-file-and-file_reference-item-but-images-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/impexp-group-file-and-file_reference-item-in-ff.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/impexp-group-file-and-file_reference-item.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/irre-records.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/impexp-group-file-and-file_reference-item-but-images-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/impexp-group-file-and-file_reference-item-in-ff.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/impexp-group-file-and-file_reference-item.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/irre-records.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/pages-and-ttcontent-with-corrupt-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/pages-and-ttcontent-with-image-but-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/pages-and-ttcontent-with-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mssql/pages-and-ttcontent.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/impexp-group-file-and-file_reference-item-but-images-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/impexp-group-file-and-file_reference-item-in-ff.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/impexp-group-file-and-file_reference-item.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/irre-records.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/pages-and-ttcontent-with-corrupt-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/pages-and-ttcontent-with-image-but-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/pages-and-ttcontent-with-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/mysql/pages-and-ttcontent.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-corrupt-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image-but-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/impexp-group-file-and-file_reference-item-but-images-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/impexp-group-file-and-file_reference-item-in-ff.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/impexp-group-file-and-file_reference-item.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/irre-records.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/pages-and-ttcontent-with-corrupt-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/pages-and-ttcontent-with-image-but-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/pages-and-ttcontent-with-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/postgresql/pages-and-ttcontent.xml [deleted file]