gnucash master: Add failing unittest for aqbanking lookup of trans_retrieval date.
jralls at ceridwen.us
Sun Sep 7 19:17:06 EDT 2014
On Sep 7, 2014, at 2:06 PM, Christian Stimming <christian at cstimming.de> wrote:
> Hi John,
> recently I noticed the "trans-retrieval" slot in the aqbanking account doesn't
> remember its value.
> I now added a unittest that indeed shows that the getter function from import-
> export/aqb/gnc-ab-kvp.h doesn't return the same value that I've inserted in
> the setter. However, your unittest in test-engine-kvp-properties.c indicated
> that the "ab-trans-retrieval" property with the GNC_TYPE_TIMESPEC type works
> Do you happen to have any idea why it doesn't work fine when called by the
> gnc-ab-kvp.[hc] functions, even though your test in test-engine-kvp-properties
> seemed to work? Thanks a lot in advance!
Yeah, fixed and pushed, e210f8c.
The difference was that your test used the defective accessor function and mine used qof_instance_get directly with the right parameter type (Timespec ** instead of Timespec *).
More information about the gnucash-devel