[BUGFIX] Fix functional tests for EXT:impexp on PostgreSQL 74/51774/8
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Mon, 20 Feb 2017 17:14:16 +0000 (09:14 -0800)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 23 Feb 2017 19:24:23 +0000 (20:24 +0100)
commit2cf4ca1a479236992291679a07248fa1e5630c16
tree77e39975d6b3fbeda394e21ab65c5b53d1aa24f8
parent77f082488154f5ae1aac9ad4da2c18e72149099b
[BUGFIX] Fix functional tests for EXT:impexp on PostgreSQL

Introduce dedicated fixures for the export data based on the database
platform being tested. Due to mysqlnd and PDO based drivers returning
different types of values (mainly int vs string) the resulting XML
is dependent on the database.

Change-Id: I776cfbc28c7355e72c21fa89097077f94225e223
Resolves: #79798
Releases: master
Reviewed-on: https://review.typo3.org/51774
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
50 files changed:
components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php
typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItem/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItemInFlexForm/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecords/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContent/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImages/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRteImagesAndFileLink/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/impexp-group-file-and-file_reference-item-but-images-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/c3511df85d21bc578faf71c6a19eeb3ff44af370 [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/e1c5c4e1e34e19e2facb438752e06c3f [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/impexp-group-file-and-file_reference-item-in-ff.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/impexp-group-file-and-file_reference-item.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/irre-records.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent-with-corrupt-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent-with-image-but-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent-with-image-but-not-included.xml.files/da9acdf1e105784a57bbffec9520969578287797 [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent-with-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent-with-rte-image-n-file-link.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/MySQL/pages-and-ttcontent.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/impexp-group-file-and-file_reference-item-but-images-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/c3511df85d21bc578faf71c6a19eeb3ff44af370 [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/e1c5c4e1e34e19e2facb438752e06c3f [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/impexp-group-file-and-file_reference-item-in-ff.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/impexp-group-file-and-file_reference-item.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/irre-records.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent-with-corrupt-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent-with-image-but-not-included.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent-with-image-but-not-included.xml.files/da9acdf1e105784a57bbffec9520969578287797 [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent-with-image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent-with-rte-image-n-file-link.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/PDO/pages-and-ttcontent.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/c3511df85d21bc578faf71c6a19eeb3ff44af370 [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/e1c5c4e1e34e19e2facb438752e06c3f [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/irre-records.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image-but-not-included.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image-but-not-included.xml.files/da9acdf1e105784a57bbffec9520969578287797 [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent.xml [deleted file]
typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItemInFlexForm/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLink/ImportInEmptyDatabaseTest.php