Hi,
I got an update of FPC 2.1.1 today, and my fpcUnit test results are
not correct anymore. The XML test listener (xmlreporter.pas) is not
writing the Failures correctly. It keeps creating new (duplicate)
list nodes for each Failure. The Error nodes are working fine.
See a snippet of my outpu
Graeme Geldenhuys ha scritto:
> Hi,
>
> I got an update of FPC 2.1.1 today, and my fpcUnit test results are
> not correct anymore. The XML test listener (xmlreporter.pas) is not
> writing the Failures correctly. It keeps creating new (duplicate)
> list nodes for each Failure. The Error nodes are
Dean Zobec ha scritto:
> Graeme Geldenhuys ha scritto:
>> Hi,
>>
>> I got an update of FPC 2.1.1 today, and my fpcUnit test results are
>> not correct anymore. The XML test listener (xmlreporter.pas) is not
>> writing the Failures correctly. It keeps creating new (duplicate)
>> list nodes for each
I did a diff to see what exactly changed in the xmlreporter. Just
looking at the code makes no sense why it shouldn't work. Well,
maybe it just isn't that obvious. :-)
It looks like the FDoc.FindNode isn't working (it doesn't find the
node and recreates it). Also the FindNode in TDOMDocument