[Patch] SimpleXML export: new test for fcl-db
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
New tests for FPC: Source\packages\fcl-db\tests<br/>
that test SimpleXML export using:
- Default settings
- Custom settings using CSVFormatsettings.
Additional information:
These tests demonstrate limitations in current code (ASCII/code page but no UTF8 support)
New files.
Please extract contents of simplexmlexporttest.zip - i.e.
xmlexporttest.lpi
xmlexporttest.lpr
xmlexporttestcase1.pas
into
Source\packages\fcl-db\tests\
Thanks.
I do realise the tests for dbf, csv, simplexml, xmlxsd export could be combined in a monster export test, but it might be an even better idea to incorporate it in the existing dbtestframework.
However, understanding how to work the db testframework to do the export tests for a large amount of different data in the datasets is a bit above the combination of (my skills+my interest in figuring it out), so in the meanwhile my motto is: a test (or 2) is better than no test.
Mantis conversion info:
- Mantis ID: 20271
- OS: Windows
- OS Build: Vista
- Build: FPC git 16 September 2011
- Platform: x64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: r23164 (#1ce4f172)
- Target version: 2.7.1