diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-06-30 19:41:38 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-06-30 19:41:38 -0400 |
commit | e7ed8898725638f2ea47c9480f7ea24b0629eb83 (patch) | |
tree | b3f58718e2203b17bd3010ea55a93b976013db49 /test/regress/DE17CCF1.test | |
parent | 8838b468dfce2fa1f33a36aba86693850595cc10 (diff) | |
download | fork-ledger-e7ed8898725638f2ea47c9480f7ea24b0629eb83.tar.gz fork-ledger-e7ed8898725638f2ea47c9480f7ea24b0629eb83.tar.bz2 fork-ledger-e7ed8898725638f2ea47c9480f7ea24b0629eb83.zip |
Add regression test for commit de17ccf1
Add regression test for commit de17ccf1 (" When a status flag (! or *) is
explicitly specified for an individual…")
Diffstat (limited to 'test/regress/DE17CCF1.test')
-rw-r--r-- | test/regress/DE17CCF1.test | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/test/regress/DE17CCF1.test b/test/regress/DE17CCF1.test new file mode 100644 index 00000000..00d4184b --- /dev/null +++ b/test/regress/DE17CCF1.test @@ -0,0 +1,61 @@ + +--date-format %Y-%m-%d + +2014-06-30 Uncleared + U:U 10.00 EUR + ! U:P 10.00 EUR + * U:C 10.00 EUR + Equity -30.00 EUR + +2014-06-30 ! Pending + P:U 10.00 EUR + ! P:P 10.00 EUR + * P:C 10.00 EUR + Equity -30.00 EUR + +2014-06-30 * Cleared + C:C 10.00 EUR + ! C:P 10.00 EUR + * C:P 10.00 EUR + Equity -30.00 EUR + +test reg u: --uncleared +2014-06-30 Uncleared U:U 10.00 EUR 10.00 EUR + U:P 10.00 EUR 20.00 EUR +end test + +test reg u: --pending +2014-06-30 Uncleared U:P 10.00 EUR 10.00 EUR +end test + +test reg u: --cleared +2014-06-30 Uncleared U:C 10.00 EUR 10.00 EUR +end test + +test reg p: --uncleared +2014-06-30 Pending P:U 10.00 EUR 10.00 EUR + P:P 10.00 EUR 20.00 EUR +end test + +test reg p: --pending +2014-06-30 Pending P:U 10.00 EUR 10.00 EUR + P:P 10.00 EUR 20.00 EUR +end test + +test reg p: --cleared +2014-06-30 Pending P:C 10.00 EUR 10.00 EUR +end test + +test reg c: --uncleared +2014-06-30 Cleared C:P 10.00 EUR 10.00 EUR +end test + +test reg c: --pending +2014-06-30 Cleared C:P 10.00 EUR 10.00 EUR +end test + +test reg c: --cleared +2014-06-30 Cleared C:C 10.00 EUR 10.00 EUR + C:P 10.00 EUR 20.00 EUR +end test + |