[...Sorry, I think my first message's attachment was too big. This one is smaller...]
On 21/06/2010, Mattias Gaertner wrote: > > TXMLConfig reads by default the old config. > Unless you use the same paths, no value is lost. Op 2010-06-21 15:38, Mattias Gaertner het geskryf: > Unless you use the same paths, no value is lost. Sorry Mattias, but you are wrong. TXMLConfig shows the exact same issue as TJSONConfig. Here is the output after the test run. I attached the xmlconfig test suite. Test is simple: - load form 1 - load form 2 - close form 1 > which saves settings - close form 2 > which saves settings and overwrites everything. --------------------------------------- $ ./testxmlconf --format=plain -a Time:00.001 N:1 E:0 F:1 I:0 TTestXMLConfig Time:00.001 N:1 E:0 F:1 I:0 00.000 TestConcurrency Failed: Failed on 1 expected: <400> but was: <100> Number of run tests: 1 Number of errors: 0 Number of failures: 1 List of failures: Failure: Message: TTestXMLConfig.TestConcurrency: Failed on 1 expected: <400> but was: <100> Exception class: EAssertionFailedError Exception message: Failed on 1 expected: <400> but was: <100> $ cat concurrency.xml <?xml version="1.0"?> <CONFIG> <LearnerListForm Width="456" Height="600" Maximized="False"/> </CONFIG> --------------------------------------- -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/
testsuite_xmlconf.tar.gz
Description: GNU Zip compressed data
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
