gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Tue Nov 26 07:52:39 EST 2019
Updated via https://github.com/Gnucash/gnucash/commit/ff298b36 (commit)
via https://github.com/Gnucash/gnucash/commit/88644451 (commit)
via https://github.com/Gnucash/gnucash/commit/119fdc36 (commit)
from https://github.com/Gnucash/gnucash/commit/0973d54d (commit)
commit ff298b365f83346e68638abf530d022e8367c459
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Nov 26 18:18:14 2019 +0800
[test-balsheet-pnl] add multicol-balsheet and multicol-pnl tests
This commit adds tests for multicolumn balance-sheet and
income-statement. It mainly tests:
* multiple periods
* unrealized gains calculators
* amounts/balances are predictable
commit 88644451ef29089c139a3ca643d3e5fbda04f4b6
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Nov 26 18:11:15 2019 +0800
[test-balsheet-pnl] separate balance-sheet and pnl tests
This is in preparation for balsheet-pnl tests. Note all tests use same
data -- there's no (teardown).
commit 119fdc368b41d0a1207e9d281deddcfe08e52d59
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Nov 25 22:52:36 2019 +0800
[report-utilities] can strify records
srfi-9 records can contain complex objects eg lists/vectors also
gnc:monetary or gnc:html-table objects. previously gnc:strify would
use the default printer; this commit modifies so that they are
prettified.
example output; a :col-datum record from balsheet-pnl. the record's
split-balance contains a $0 monetary object.
Rec::col-datum{last-split=#f, split-balance=[$0.00]}
this last pretty-printer must be the last one before object->string,
because we want previous printers which may be records too
eg. monetary->str etc to use their own printer.
Summary of changes:
gnucash/report/report-system/report-utilities.scm | 7 +
.../standard-reports/test/test-balsheet-pnl.scm | 731 ++++++++++++---------
2 files changed, 430 insertions(+), 308 deletions(-)
More information about the gnucash-patches
mailing list