hledger/tests/journal
Johannes Gerer 45401e538e Balance Assignments and accounts resetting (#438)
* Changed behavior of `readJournalFiles` to be identical to `readJournalFile` for singleton lists

* Balance Assertions have to be simple Amounts

* Add 'isAssignment' and 'assignmentPostings' to Hledger.Data.Posting and Transaction

* Implemented 'balanceTransactionUpdate', a more general version of 'balanceTransaction' that takes an update function

* Fixed test cases.

* Implemented balance assignment ("resetting a balance")

* Add assertions to show function

* updated the comments

* numbering is not needed in journalCheckBalanceAssertions

* remove prices before balance checks

* rename functions
2016-12-10 07:04:48 -08:00
..
a.timeclock func. test for 320 2016-05-18 13:10:41 -07:00
b.timedot func. test for 320 2016-05-18 13:10:41 -07:00
balance-assertions.test Balance Assignments and accounts resetting (#438) 2016-12-10 07:04:48 -08:00
blank-description.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
comments.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
commodities.test consolidate some journal format-specific tests 2015-11-22 08:55:29 -08:00
commodity-styles.test test numbering 2016-05-13 22:10:23 -07:00
dates.test Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
default-commodity.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
directives.test journal: parse account directives 2016-04-04 11:35:39 -07:00
include.test lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
market-prices.test clean up price tests 2015-11-22 08:37:02 -08:00
parens-in-account-name.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
parse-sample-journal.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
posting-dates.test Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
precision.test fix two failing tests 2016-02-19 21:45:39 -08:00
status.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
tags.test lib: fix bracketed posting dates, parser cleanup (#304) 2016-04-28 13:34:57 -07:00
transaction-prices.test clean up price tests 2015-11-22 08:37:02 -08:00
unbalanced.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
virtual-postings.test Balance Assignments and accounts resetting (#438) 2016-12-10 07:04:48 -08:00